add comment note for default rtp world name (#877)

Co-authored-by: typical <[email protected]>
This commit is contained in:
Pham Nguyen To Minhandtypical authored and GitHub committed 2025-12-10 23:26:16 +00:00
1 parent 2ba64afe28
commit 50a32dca7d
1 file changed
+2 -1
@@ -376,7 +376,8 @@ public final class Settings {
private boolean crossServer = false; private boolean crossServer = false;
@Comment({"List of server in which /rtp is allowed. (Only relevant when using cross server mode WITH REDIS)", @Comment({"List of server in which /rtp is allowed. (Only relevant when using cross server mode WITH REDIS)",
"If a server is not defined here the RTP logic has no way of knowing its existence."}) "If a server is not defined here the RTP logic has no way of knowing its existence.",
"Unless specified, the default world name used as targeted world is the name of the world the player currently standing in."})
private Map<String, List<String>> randomTargetServers = new HashMap<>( private Map<String, List<String>> randomTargetServers = new HashMap<>(
Map.of("server", List.of("world", "world_nether", "world_the_end")) Map.of("server", List.of("world", "world_nether", "world_the_end"))
); );