Worlds & Gamerules
World teleportation with freely configurable shortcut commands, forced per-world game modes, a gamerule GUI plus /time and /weather. All teleports run through the teleport engine. The world spawn has its own module.
Commands #
| Command | Syntax | Permission | Default | Description |
|---|---|---|---|---|
/world | /world <normal| | world. | false | Teleport to a world spawn (nether/end find the dimension matching the current world) |
/world shortcut add | /world shortcut add <command> <world> [gamemode] | world. | false | Registers e.g. /shopping_district as a teleport command |
/world shortcut gamemode | /world shortcut gamemode <command> <mode| | world. | false | Sets/removes the shortcut game mode |
/world shortcut remove | /world shortcut remove <command> | world. | false | Deletes a shortcut |
/world shortcut list | /world shortcut list | world. | false | Shows all shortcuts |
/world gamemode | /world gamemode <world> <mode| | world. | false | Forces a game mode for a world (or lifts it) |
/gamerules | /gamerules (alias /gamerule) | world. | false | Gamerule GUI of the current world |
/time | /time <day| | world. | false | Set the world time (tick values 0 to 24000 too) |
/weather | /weather <sun| | world. | false | Set the weather permanently |
Additional permissions #
| Permission | Default | Description |
|---|---|---|
world. | true | Use shortcut commands like /shopping_district |
world. | false | Exempt from forced world game modes, may switch freely |
Tip: Shortcuts are bidirectional: the first call teleports to the world spawn and remembers the exact origin position (survives restarts). Calling it again from inside the target world brings the player back. Leaving the world another way (/home, portal, death) discards the remembered return.
Note: Shortcut and world game modes automatically restore the previous mode on leaving, no matter how the world is left (death, relog, restart too). On conflict the forced world game mode wins over the shortcut game mode; manual /gamemode switches inside the world are blocked.
Tip: In the gamerule GUI clicks toggle boolean rules; for number rules left-click is +1, right-click -1, with shift ±10. The custom preset mob-spawner-ai (spawner mobs without AI) appears there like a normal boolean rule.
Configuration (modules/world.yml) #
# Enables or disables the world module.
enabled: true
world:
# Managed via /world shortcut. Target world plus optional forced
# game mode when entering through the shortcut.
shortcuts:
shopping_district:
world: shopping_world
gamemode: adventure
# Forced game mode per world, applies to EVERY way of entering
# (teleport, portal, respawn, login). Managed via /world gamemode.
# Bypass: world.gamemode.bypass.
forced-gamemodes:
event_world: adventure
# Custom gamerule presets per world. mob-spawner-ai false = spawner
# mobs stay motionless.
custom-gamerules:
mob-spawner-ai:
world: true
world_nether: falseComplete example config #
enabled: true
world:
shortcuts:
farmworld:
world: farm_world
creative:
world: creative_world
gamemode: creative
forced-gamemodes:
creative_world: creative
event_world: adventure
custom-gamerules:
mob-spawner-ai:
farm_world: false