Skip to content

Map Command Cheatsheet

The in-game /map command now provides a quicker way to inspect and jump into stored world snapshots.

Supported Subcommands

  • /map list - shows up to the 15 most recent maps by last change and links to /map info.
  • /map info <name|id> - displays description, state, creator/builders, and latest version metadata.
  • /map latest <name|id> - highlights the newest version together with changelog and edit shortcut.
  • /map versions <name|id> - lists the 20 most recent versions with released/draft flag and edit suggestion.
  • /map edit <name|id> [version|id] - teleports editors to the newest (or a specific) version instance.

Quality-of-Life Details

  • Map names and Mongo ObjectIds are both accepted; autocomplete suggests either form.
  • Version lookups accept the stored version label or the ObjectId; the command refuses cross-map edits.
  • All help text is ASCII-only so copied commands remain shell-safe across locales.
  • Backend lookups avoid blocking the main thread; errors bubble up as friendly chat messages.

See services/gameserver/src/main/java/net/uebliche/features/world/commands/MapCommand.java for the implementation.