CoreEngineWIKI
ESC
NavigateEnter OpenESC Close

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 #

Commands9
CommandSyntaxPermissionDefaultDescription
/world/world <normal|nether|end|world>world.teleportopTeleport to a world spawn (nether/end find the dimension matching the current world)
/world shortcut add/world shortcut add <command> <world> [gamemode]world.shortcut.adminopRegisters e.g. /shopping_district as a teleport command
/world shortcut gamemode/world shortcut gamemode <command> <mode|none>world.shortcut.adminopSets/removes the shortcut game mode
/world shortcut remove/world shortcut remove <command>world.shortcut.adminopDeletes a shortcut
/world shortcut list/world shortcut listworld.shortcut.adminopShows all shortcuts
/world gamemode/world gamemode <world> <mode|none>world.gamemode.adminopForces a game mode for a world (or lifts it)
/gamerules/gamerules (alias /gamerule)world.gamerulesopGamerule GUI of the current world
/time/time <day|noon|sunset|night|midnight|sunrise|ticks>world.timeopSet the world time (tick values 0 to 24000 too)
/weather/weather <sun|rain|storm>world.weatheropSet the weather permanently

Additional permissions #

Permissions2
PermissionDefaultDescription
world.shortcut.usetrueUse shortcut commands like /shopping_district
world.gamemode.bypassopExempt 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) #

YAML
# Enables or disables the world module.
enabled: true

world:
  # Display names for worlds: players see this name instead of the world
  # folder name in /world and shortcut messages. Display names without
  # spaces also work as input for /world <name>.
  display-names:
    world_void: "Spawn"
    world_event: "Event Arena"
  # 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: false

Complete example config #

YAML
enabled: true

world:
  display-names:
    farm_world: "Farm World"
    creative_world: "Creative 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