Skip to main content

DevTools

Development testing tools available in Studio or when DevToolsEnabled flag is active.

Access Control​

DevTools are gated behind:

game.PlaceId === 0 || flags.DevToolsEnabled()

This ensures they're only available in Studio (PlaceId 0) or when explicitly enabled.

Server Commands​

DevToolsService handles remote requests for:

Enemy Spawning​

  • Spawn any enemy type at a position
  • Specify hostile/neutral variant
  • PathMonster sweep trigger
  • Watcher boss spawn/despawn
  • Lost Quirkymal and Mimic spawning

Teleportation​

  • Teleport to specific chunk index
  • Teleport to world coordinates
  • Teleport to next/previous chunk

World Control​

  • Force day/night mode
  • Toggle danger zone visualization
  • Path node debug markers
  • Chunk bounds visualization
  • Force chunk unloading

Player State​

  • God mode (infinite health)
  • Set/damage/heal health
  • Force death/respawn
  • Toggle collision
  • Walk speed override
  • Noclip fly mode

Validation​

All requests are validated server-side — DevToolsService checks that the player has access before executing any command.

Client Integration​

The Debug UI (see Debug UI) provides the visual interface. DevTools tabs only appear when DevToolsEnabled() returns true.

Key Files​

FilePurpose
devtools-service.tsServer command execution
devtools-remotes.tsRemote definitions
devtools-types.tsType definitions
debug-controller.tsClient UI (DevTools tabs)