Feature(Bungee): Use server name as prefix for worlds #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey,
Great plugin! Very useful.
I made one addition, use/mod it if you are interested.
What is the problem?
For Bungeecord-servers, as noted in README, many worlds are mixed up due to same name.
However, the server-names in Bungeecord are unique.
What is the solution?
Prefix all world-names with the Bungeecord-server-name.
Example
Instead of "world", the name will be "server512_world". And it wont collide with "lobby_world" anymore.
Known bugs?
The first player joining will get "UNKNOWN_world" as mapname, but after a few seconds (at most) the bungeecord-server will reply with the server-name, and the worldname will be re-sent. So the name will be corrected. Possibly resulting in lots of new map entries in Xaero/client.
The server-name is saved after lookup, so only one player will have this problem ✨