From f3f6fb81fb74a0b6b611d68eb20846e253568318 Mon Sep 17 00:00:00 2001 From: tastybento Date: Mon, 14 Sep 2026 13:25:47 +0100 Subject: [PATCH] docs: note that any loaded world can be listed in the worlds config Admins assumed the worlds list was limited to BentoBox game mode worlds because the defaults are all game modes. Add a comment to config.yml and the Settings class explaining that lobby/spawn worlds work too, and bump to 1.19.4. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_01YRkywZTBUizVT8iuteNBCo --- pom.xml | 2 +- src/main/java/com/wasteofplastic/invswitcher/Settings.java | 3 +++ src/main/resources/config.yml | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 0e4dc2a..b6396ea 100644 --- a/pom.xml +++ b/pom.xml @@ -65,7 +65,7 @@ -LOCAL - 1.19.3 + 1.19.4 BentoBoxWorld_addon-invSwitcher bentobox-world diff --git a/src/main/java/com/wasteofplastic/invswitcher/Settings.java b/src/main/java/com/wasteofplastic/invswitcher/Settings.java index 0d81728..e2da52c 100644 --- a/src/main/java/com/wasteofplastic/invswitcher/Settings.java +++ b/src/main/java/com/wasteofplastic/invswitcher/Settings.java @@ -13,6 +13,9 @@ public class Settings implements ConfigObject { @ConfigComment("InvSwitcher Config") @ConfigComment("Worlds to operate. Nether and End worlds are automatically included.") + @ConfigComment("Any loaded world can be listed here, not just BentoBox game mode worlds. For example, add") + @ConfigComment("a lobby or spawn world so players keep a separate inventory there. Use the exact world") + @ConfigComment("folder name (case sensitive). The world must be loaded before BentoBox finishes starting.") @ConfigEntry(path = "worlds") private Set worlds = new HashSet<>(); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 30bfcb4..ab91c16 100755 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -1,5 +1,8 @@ # InvSwitcher Config # Worlds to operate. Nether and End worlds are automatically included. +# Any loaded world can be listed here, not just BentoBox game mode worlds. For example, add +# a lobby or spawn world so players keep a separate inventory there. Use the exact world +# folder name (case sensitive). The world must be loaded before BentoBox finishes starting. worlds: - acidisland_world - oneblock_world