#How to check which world the player is in?
38 messages · Page 1 of 1 (latest)
a 100% accurate and error-less way is only possible in singleplayer
how would you recommend doing it for singleplayer
which can change
the ip rarely changes. the world might i suppose
you can't guarantee that the server the player is on has a static ip
there are isps which change your ip every day
probably figure out how save and quit finds out what save the player is in
but you dont change the ip in the add server thing
if the servers public ip changes you have to
well yess but like the chances are very low. ive never had to do that
and if you use the domain (provided they use one to connect), there may be multiple variations and you have no way of telling which are related
You can take a look at what journeymap and xaeros do for their data storage
this is for a personal client that i dont plan on distrubuting
pretty sure both are closed source
why does everyone want to make a client
Is it not fine to steal a naming convention for data storage folders
clients were a mistake, should have never been a thing
im doing it to get better at java and to have something to do. plus i have a lot of ideas for mods that dont exsist in main stream clients
how so?
all in one will never be better (and more compatible) than multiple seperate mods
Anyways I would store it based on the saved server name
and why not just make multiple mods which are each specialized
I think JM also includes some sort of hashing, but im not sure
idk i guess i like the idea of having it streamlined.
modpack
Get more downloads & revenue that way 🤑
lol
alright ill look into world/server names ig.
You could also implement some sort of world recognition, although that would be very jank
But you said this was just a personal project
yeah id rather keep it simple. its already tailored specifically to me so its fine.
As I said, something based on the saved name of the server and maybe the domain, if not a combination of the both