Skip to content

Commands

Dr. Vortex edited this page May 21, 2022 · 9 revisions
Clone this wiki locally

Here is a list of commands in the game.

Command format:

Syntax Meaning
plain text Enter this exactly as shown
<argument> Replace this with a valid value
<?argument> Required for some subcommands
[argument] Replace this with a valid value, optional
(option|option) (Required) pick one of the options
[option|option] (Optional) pick one of the options

help

/help [command]

Opens this page, if a command is provided, it will jump to it

function

/function <name>

Runs the function name

data

/data (get|set) (entity|object) <selector> <path> <?value>

Get or set the data of an entity or body. value is required for set.

Note: This will be changed in the future

tp

/tp <selector> <x> <y> <z>

Teleports the selected entity or entities to the coordinates

warp

/warp <?x> <?y>

Warps to the level at (x, y)

Infdev

/warp (to|start|end) <?x> <?y>

  • to starts and ends a warp to the level at (x, y)
  • start starts a warp to (x, y)
  • end ends a warp, it does not take any arguments

kill

/kill <selector>

Kills the entity or entities that match the selector

spawn

/spawn <ship type> <owner> [x] [y] [z]

Spawns a ship of the given ship type that is owned by the body or player owner at the coordinates (x, y, z) or (0, 0, 0) relative to the owner's fleet location.

playsound

/playsound <id>

plays the sound id

reload

/reload [options]

Rerenders the scene and resizes the engine.