đŸ•°ī¸ Historical snapshot

This page is preserved for project history and is not the current reference. Use GM Console and Tools for current information.

GM Console & Tools

A runtime dev console for level-building, connectivity checks, and debugging spawns. Allowlisted usernames only.

Access

Press backtick or F1 in-game. Opening works for everyone; commands return Access denied unless your username is in the allowlist in GmConsole.cs. To add a GM, add the username to GM_USERS.

Command reference

CommandEffect
speed <n>Movement speed multiplier
fly / noclipToggle flight (Space/Ctrl) / disable colliders
god / healInvulnerability / heal to full
tp <x y z> / posTeleport / print world position
players / goto <name>List connected players / teleport to one
spawn [count]Spawn enemy capsules (local, not networked)
wave [n] / killStart waves / kill all "Enemy"-tagged
clear / helpClear log / list commands

Practical uses

  • Level building: pos → note coords → tp to iterate placement.
  • Connectivity: players shows everyone the server knows, with position — find invisible/underground players.
  • Build QA: speed 5 + fly to traverse the Hub fast; god + noclip to walk through broken colliders.

GM travel map (press M)

/gm on now does more than gate commands — the server pushes GM mode down to the client (RodChatManager.TargetSetGmMode, tracked by IsGmModeActive). While GM mode is active, pressing M anywhere opens a GM travel map (WaypointMapTrigger.ShowForGm) listing every zone destination plus a guaranteed Hub node — no waystone required. Selecting a node routes the GM through the normal travel path.

  • Turning GM mode off (/gm off, or an access-denied /gm) syncs the client back off and also resets fly/speed.
  • The persistent GM map owns the M key: while GM mode is active, an in-range WaypointMapTrigger yields M so a nearby waystone can't hijack the GM travel callback. See Waypoints, Portals & Travel.

Server-side chat commands (GmCommandRouter)

These are chat-message commands handled server-side; they require GM mode active (/gm on).

Chat commandEffect
/gm on / /gm offEnable or disable GM mode (off also resets fly/speed)
/arrive hubTeleport to Hub spawn
/arrive darkwood or /arrive dwTeleport to Darkwood spawn
/arrive ashen or /arrive ashenwastelandsTeleport to Ashen Wastelands spawn
/arrive boneyard or /arrive boneTeleport to Boneyard spawn
/fly [on\|off]Toggle GM flight mode
/speed <multiplier>Set movement speed multiplier
â„šī¸ Two GM surfaces, one allowlist

The GmConsole (backtick/F1) is the client dev console; GmCommandRouter is the server-side authority that validates /gm chat commands (IsActiveGm = allowlisted and GM mode on) and drives fly/speed/travel. Both honor the same allowlist.

â„šī¸ Server guard

GmConsole.cs is guarded (#if UNITY_EDITOR || !UNITY_SERVER) so it doesn't spam errors on the server build. A separate server-side GmCommandRouter handles authoritative GM travel commands.


Related: UI & HUD Systems ¡ Build & Deploy