Skip to content

Console Command List

Benjamin Amos edited this page Mar 6, 2022 · 1 revision

You can open the console by pressing ~ / ¬ or F1 on your keyboard.

ChangeShip

This command changes the player's ship.

Arguments:

  • ShipID - id of the ship you want to change to. in format module:ship

Usage: changeShip [ShipID] example: changeShip core:imperialTiny

Die

This command instantly destroys player's ship. It takes no arguments.

Usage: die

Position

This command outputs the position of the hero.

Arguments:

  • Format (optional) - specifies format of the outputted text. Possible values are:
    • terse - a minimal format
    • verbose - an intuitive, user-readable format
    • bold - a format designed for maximum visibility
    • internal - the default used by the engine itself (Vector2#toString)

Usage: position [format] example: position terse

Respawn

This command respawns player's ship. Player has to be already dead for it to do anything. It takes no arguments.

Usage: respawn

GodMode

This command makes player's ship invincible or not invincible if it is already.

Usage: godMode

Help

This command prints a list of all commands or detailed information on a specific one.

Usage: help [command]

SetHealth

This command sets hero health to a value in an argument. It has to be between 0 and maximum health.

Usage: setHealth [value]

ShowNUIScreen

This command displays the specified NUI screen.

Arguments:

  • screen - the screen asset to show in the format module:screen

Usage: showNUIScreen [screen]