If two waystones are given the same name, both appear to work normally until the server is restarted. After restart, only one remains correctly saved. The other is missing or has been overwritten in the saved data/config. A possible solution is instead of storing waystones as their display name, store them as a unique ID, and then check and migrate the old name format to the new id format on startup so existing waypoints don't break once users update the plugin.
another option would be to just not allow duplicate waystone names, but that might cause issues on larger servers
If two waystones are given the same name, both appear to work normally until the server is restarted. After restart, only one remains correctly saved. The other is missing or has been overwritten in the saved data/config. A possible solution is instead of storing waystones as their display name, store them as a unique ID, and then check and migrate the old name format to the new id format on startup so existing waypoints don't break once users update the plugin.
another option would be to just not allow duplicate waystone names, but that might cause issues on larger servers