GM Console and Tools
GM Console
GmConsole.cs provides an in-game overlay console for authorized users. GM access is granted when the logged-in username matches the list in CharacterClassAvailability.GmUsers (checked via CharacterClassAvailability.IsCurrentUserGm(), which reads PlayerPrefs.GetString("username", "")).
Console Commands
| Command | Notes |
|---|---|
speed <n> | Set movement speed multiplier (e.g. speed 3). Scales both run and sprint speeds independently from their respective baselines. |
fly | Toggle GM free-flight mode. Controls: WASD moves horizontally, Space rises, Ctrl or C descends, Shift boosts speed; release all controls to stop. |
god | Toggle invulnerability |
heal | Full heal self |
kill | Kill all enemies in the current scene |
spawn [count] | Spawn enemies near the GM player |
wave [n] | Start WaveManager; optionally jump to wave n |
tp <x> <y> <z> | Teleport to world position |
pos | Print current world position |
players | List all players in the current scene |
goto <name> | Teleport to a named player |
noclip | Toggle collider pass-through (disables own colliders) |
unlockroster | Unlock IN DEVELOPMENT classes for this session (GM only; hidden from help) |
clear | Clear console history |
help | Print GM command list |
unlockroster
unlockroster calls CharacterClassAvailability.TryEnableTestingOverride(). On success, all classes become deployable for the current app session โ specifically Templar (index 1) and Night Hunter (index 2), which are otherwise marked IN DEVELOPMENT in character select. The override is session-only and does not persist across application restarts.
Non-GM users receive "Roster override denied." The command is intentionally omitted from the help output.
Chat-Based GM Commands
GmCommandRouter handles GM commands issued through the game chat (prefix /). These require active GM mode.
| Command | Notes |
|---|---|
/gm on / /gm off | Enable or disable GM mode for the issuing player. Disabling GM mode resets fly, free camera, and speed. |
/gmhelp | Print the chat-based GM command list |
/give <item-id> [quantity] | Add an item to the GM's own inventory. Item ID must be 1โ64 lowercase letters, numbers, underscores, or hyphens. Quantity is 1โ99 (default 1). Requires a logged-in persistent character; cannot be used by the local dev identity. |
/arrive hub\|darkwood\|ashen\|boneyard\|pvp | Teleport to a named zone arrival point |
/fly [on\|off] | Toggle (or explicitly set) GM free-flight. Same controls as the console fly command. |
/speed <multiplier> | Set movement speed multiplier |
/freecam [on\|off] | Toggle GM cinematic free camera. When enabled, the player character is frozen and the camera detaches. Controls: WASD moves, Space/E rises, Ctrl/Q/C descends, RMB looks, Shift boosts, Alt slows, Escape exits. UI is hidden while active. |
/freecam speed <value> | Set free camera movement speed independently. |
/gm off resets fly, free camera, and speed simultaneously.
Related: Heroes & Classes ยท Login & Authentication Flow