-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Renaming a Server causes all Waypoints to vanish #715
Comments
This is not a bug. I thought about adding a hook to the multiplayer screen to detect a name change. However, this scenario is also problematic. They exit back to the multiplayer menu and edit the name of one of the servers that displays in the menu as "Minecraft Server" to "CoolServer". Okay, so which one did they edit? The ID is sent from the server, in the menu we don't know which one is which. This is an issue I have been thinking about for a long long time to solve. I am going to close this as it is not a but, just an annoyance and I do plan to add more solutions. It is well known issue. However, we can still discuss it here if you wish. |
What I am considering: I have also thought about adding a hash to the servers.dat folder for each server entry, and that maps to the path where the data folder is for that server. However, then if a user wants to share the data files with other users on the server, that can be a bit complex and some launchers overwrite the file and that may erase our entries. So, this is not something that will come soon as I am in the middle of the waypoint rewrite, which is my priority and needs to be done asap so we can get v6 out the door. After that I will make this a priority. |
Thanks for the quick reply, it seems this is a well-known issue and you have tried a lot of things to solve it already. I tried to look into the mod myself to search for solutions, but I realised this repo is empty and all code is under a "ARR license" (I guess this means All Rights Reserved) and I'm not that experienced with Java. Oh well... It might not be completely possible to fix this, but you could add the Menu Hook and move folders around anyway, just so it doesn't wipe player's Waypoint data every time a Server Name is changed. If there is ever a conflict where two Minecraft Servers or folders have the same name, tell the user and open the We just have to do this carefully in a way that won't corrupt map data or show Waypoints on the wrong server (which has happened to me on a few Bungee servers with custom worlds). |
What happened?
Minecraft version: Fabric 1.20.6
Mod version: 5.9.32
(This has also happened on every other version of JourneyMap I've tried)
Description: When a server name is changed in the Multiplayer Menu, a new folder for that server is created in
.minecraft/journeymap/data/mp
and all previous data including Waypoints is kept in a folder with the old Server Name and ignored by the JourneyMap mod.This is frustrating because I have to manually go into that folder in my Minecraft install, rename the folder
Minecraft-Server
to match the new name and change spaces to dashes (-).Possible fix: When a Server is edited in the Multiplayer Menu and name change is detected, rename the appropriate folder in
.minecraft/journeymap/data/mp
.Mod Loader
Fabric
Minecraft Version
other (please list)
Version
other (please list)
Relevant log output
A log does not seem to be relevant here. You can easily reproduce the bug yourself with the instructions above. I am using default JourneyMap settings and will upload if needed.
The text was updated successfully, but these errors were encountered: