
Tupaç
Members-
Content Count
18 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Tupaç
-
Rank
Tree Puncher
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
How can I know if my mod is instaled on a server or just clientside
Tupaç replied to Tupaç's topic in Modder Support
Hmm, unfortunately this doesn't seems to work, it considers singleplayer as client and that doesn't work with my purpose. -
How can I know if my mod is instaled on a server or just clientside
Tupaç replied to Tupaç's topic in Modder Support
Sorry I may be explaining this incorrectly, the idea is that any player with the mod can join a server that doesn't have the mod, so I can't ask the server to save my data because of this, witch I solve saving the data on a json in the profile folder. -
How can I know if my mod is instaled on a server or just clientside
Tupaç replied to Tupaç's topic in Modder Support
I know how to save the data, what I want to know if the mod is installed on the server or not, if is in the server I save the data on the player, if the mods is being use clientside only, I save the data on a json. -
Tupaç started following [1.14/1.15] Save List on player clientside, How can I know if my mod is instaled on a server or just clientside, How do i get the save folder in 1.16.1 and and 1 other
-
Hi, I want to know if my mod is installed in the server or just being used clientside only, this is because I want to save data on a Json if the mod is clientside only. I've tried with the world Load/Unload events but on a singleplayer world those trigger multiple times giving both (True/False) results. Thanks!
-
Yes, that's exactly what I was looking for, Thanks!! ???1?
-
is it possible to make a TextFieldWidget only accept numbers? I want to let the player config a range (int) in a TextFieldWidget, and I'd like to prevent the player from typing non numeric values. Thanks
-
ServerWorld#getSaveFolder seems to no exist anymore I'm trying to get the save folder name when world loads and unloads with their respective WorldEvents Cheers
-
Thank you very much 🤗
-
is it possible to get a list with all the name of the sounds in the game? if so, what's the best way to do it?. I need a List<ResourceLocation> with all the sounds, included modded if possible. 🤞
-
Hi! i want to save a json file in the world save folder, how can i locate that folder client side? i know that getWorldName() exists, but Minecrafts allows to have multiple worlds with the same name but with different folders. An alternative could be creating a custom folder and delete it when the world gets deleted, is there any way to know when the world get deleted? For servers I am planning to use a custom folder. Cheers! ?
-
[1.14/1.15] Detect client side when player logs in/out
Tupaç replied to Tupaç's topic in Modder Support
Yes! that worked. Thank you very much ? -
Hi, is there a way to detect client side when player joins/exits the world? i was using PlayerEvent.PlayerLoggedInEvent and PlayerEvent.PlayerLoggedOutEvent but this doesn't work on servers. i need to detect when the player exits the world or closes the game to save data on disk.
-
Ah, i see. ok is there a suggested method for saving data on disk? or you recommend anyone in special?
-
Hi, is it possible to save a resourceLocation List on the player (or similar) clientside? if so, how? i have a gui with a list of names and i want to keep those names after the client is closed and open. thanks