2 Admin Commands
LZ22 edited this page 2026-04-12 00:15:29 -05:00
This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Admin Commands

Anything highlighted in red is an optional parameter.


Notation Guide

  • Action Intended
  • Command Syntax
  • Additive Descriptors

Index

  1. mapping
  2. colornetwork
  3. setadminooc
  4. setalertlevel
  5. linkbluespacelocker
  6. scale
  7. rename
  8. nukearm
  9. nukecodes
  10. playglobalsound
  11. showrules
  12. addgamerule
  13. customvote
  14. playtime_add
  15. whitelistadd
  16. spawnrefund
  17. variantize
  18. gettilecount
  19. Rendering A Map Screenshot

mapping

TIP: Before mapping, ensure you are in admin ghost form.
TIP: Follow the Wizden Guide for Mapmaking.
TIP: Roles are defined in map prototypes; ensure spawn counts match (unless -1).
TIP: Remove the following from .yml or risk crashes:

configurators:
- invalid

Create Map

mapping <map id> <saved map/grid location>
  • Without save location: creates blank map

Client Setup

mappingclientsidesetup

Fix Atmospherics

fixgridatmos <grid ID>

View Variables

vv <grid ID>
  • Add BecomesStation to Server Variables
  • Set Component ID to prototype ID (case-sensitive)

Save Map

savemap <map id> <filename.yml>
  • Ensure .yml extension

colornetwork

Color pipes during mapping.

Standard Colors:

  • Waste: #990000
  • Distro: #0055cc
  • Air: #03fcd3
  • Mix: #947507
colornetwork <entity id> Pipe <hex color>

setadminooc

Change admin OOC chat color.

setadminooc <hex colour>

setalertlevel

Change station alert level manually.

setalertlevel <alert level> <true|false>
  • Must be on station grid
  • Supports: delta, gamma, epsilon

linkbluespacelocker

Link two lockers/crates as teleporters.

linkbluespacelocker <true|false> <entry id> <exit id>
  • true = two-way
  • false = one-way

Notes:

  • Used for merc shuttle portals
  • Delete one locker to break link

scale

Adjust entity size.

scale <entity id> <scale>
  • Default: 1
  • Use caution above 2

rename

Rename any entity or grid.

rename <entity id> "<new name>"

nukearm

Arm a nuke instantly.

nukearm <seconds> <nuke id>

nukecodes

Send nuke codes via fax.

nukecodes <nuke id>

playglobalsound

Play a server sound.

playglobalsound <file path> <volume> <usernames>

Example:

Audio/_Null/Meme/meme_barbaree.ogg

showrules

Show rules panel to a user.

showrules <username>

addgamerule

addgamerule <UnknownShuttleZenith | UnknownShuttleRazor>

customvote

customvote <title> <option1> ... <option9>

playtime_add

Overall

playtime_addoverall <username> <minutes>

Role

playtime_addrole <username> <role> <minutes>

Useful Role IDs

ID Role
JobSecurityOfficer deputy
JobSeniorOfficer sergeant
JobWarden bailiff
JobHeadOfSecurity sheriff
JobHeadOfPersonnel colonial liaison
JobPassenger contractor
JobBorg cyborg
JobSecurityCadet cadet
JobPilot pilot
JobMercenary mercenary
JobDirectorOfCare director of care
JobStc station traffic control
JobLawyer public affairs liaison
JobBrigMedic brig medic

whitelistadd

Add a user to whitelist.

whitelistadd <username>

Remember to add a permanent admin note.


spawnrefund

Spawn currency as a ghost.

spawnrefund <amount>

variantize

Randomize blasted tiles.

variantize <id>

gettilecount

Count tiles in a grid.

gettilecount <grid id>

planetdv

planetdv <map id> <template>
  • Default template: Snow
  • Uses pandora.yml example map

Rendering A Map Screenshot

mapping <id>
loadgrid <id> <map>.yml
savemap <id> /<map>.yml

If shuttle map:

  • Add BecomesStation to prototype

Render Command

dotnet run --project Content.MapRenderer --no-build <becomes-station ID>

Fix Renderer Issues

File:
RobustToolbox/Robust.Shared/EntitySerialization/EntityDeserializer.cs

Comment out:

  • Lines 864865
  • Lines 11541167
  • Line 1172

File:
RobustToolbox/Robust.Shared/EntitySerialization/Systems/MapLoaderSystem.Load.cs

Comment out:

  • Lines 103109