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 #

CommandSyntaxPermissionDefaultDescription
/world/world <normal|nether|end|world>world.teleportfalseTeleport to a world spawn (nether/end find the dimension matching the current world)
/world shortcut add/world shortcut add <command> <world> [gamemode]world.shortcut.adminfalseRegisters e.g. /shopping_district as a teleport command
/world shortcut gamemode/world shortcut gamemode <command> <mode|none>world.shortcut.adminfalseSets/removes the shortcut game mode
/world shortcut remove/world shortcut remove <command>world.shortcut.adminfalseDeletes a shortcut
/world shortcut list/world shortcut listworld.shortcut.adminfalseShows all shortcuts
/world gamemode/world gamemode <world> <mode|none>world.gamemode.adminfalseForces a game mode for a world (or lifts it)
/gamerules/gamerules (alias /gamerule)world.gamerulesfalseGamerule GUI of the current world
/time/time <day|noon|sunset|night|midnight|sunrise|ticks>world.timefalseSet the world time (tick values 0 to 24000 too)
/weather/weather <sun|rain|storm>world.weatherfalseSet the weather permanently

Additional permissions #

PermissionDefaultDescription
world.shortcut.usetrueUse shortcut commands like /shopping_district
world.gamemode.bypassfalseExempt 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:
  # 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:
  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