Gaming32 / world-host

Host your singleplayer worlds without having to run a server or setup port forwarding! In the future, we also plan to support Bedrock Edition clients through the use of Geyser.
MIT License
60 stars 11 forks source link

Could you change where World Host stores information regarding your list of friends? #48

Closed SimplyTadpole closed 10 months ago

SimplyTadpole commented 1 year ago

I like making modpacks for playing with friends of mine, and I usually share those with them by sending them the "mods" and "config" folder so they have the exact same set-up I do. But I had no idea that this mod stores information regarding friends you added on the config folder, which created an incredibly awkward situation when, after tweaking my modpack a bit while testing with one friend group, I sent it to another friend group I wanted to play it with and they confusedly found out they had people they didn't know already added as their own friends. .-.

I understand this is an odd request, but is it okay to ask to have World Host store its configuration file containing the instance's friends list and such in a seperate directory, in order to avoid future awkward situations like this? For example, instead of storing it inside the "config" folder, it could instead by default store it in a folder called "worldhost" in the root .minecraft folder (The mods Patchouli and Xaero's Minimap do something similar) - but, in order to prevent breaking backwards compatibility with instances currently keeping World Host configuration files in "config", if the mod can't find anything in the "worldhost" directory then it could fallback to searching if there's a relevant file in the "config" folder (and if there isn't, then it creates the worldhost folder and stores the file there).