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
| Command | Effect |
|---|---|
speed <n> | Movement speed multiplier |
fly / noclip | Toggle flight (Space/Ctrl) / disable colliders |
god / heal | Invulnerability / heal to full |
tp <x y z> / pos | Teleport / print world position |
players / goto <name> | List connected players / teleport to one |
spawn [count] | Spawn enemy capsules (local, not networked) |
wave [n] / kill | Start waves / kill all "Enemy"-tagged |
clear / help | Clear log / list commands |
Practical uses
- Level building:
posâ note coords âtpto iterate placement. - Connectivity:
playersshows everyone the server knows, with position â find invisible/underground players. - Build QA:
speed 5+flyto traverse the Hub fast;god+noclipto 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
WaypointMapTriggeryields 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 command | Effect |
|---|---|
/gm on / /gm off | Enable or disable GM mode (off also resets fly/speed) |
/arrive hub | Teleport to Hub spawn |
/arrive darkwood or /arrive dw | Teleport to Darkwood spawn |
/arrive ashen or /arrive ashenwastelands | Teleport to Ashen Wastelands spawn |
/arrive boneyard or /arrive bone | Teleport to Boneyard spawn |
/fly [on\|off] | Toggle GM flight mode |
/speed <multiplier> | Set movement speed multiplier |
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.
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