Space Station 14 (Admin) Commands

Space Station 14 (admin) commands

mlwarmlwarmwarmwrrr mwAlwarmlwar lmwarmwAlwaraarrrmwaarrwrlurll wlurrlmwaarrwrlurllwrurrlmrrrAw marmwarmwaarrwrurrlmAaAr mwrrruuRlmmrwrlurllwrurrlwrlurll mmarmwAlwar mlarwrurrlmrrrAwmwrrr wrlurllwlAmur

> Remember to add quotes around command arguments with spaces. Also > runs things on the server.

Translated from Marish

Lobby commands

Command Purpose Notes
delaystart [seconds] Delays roundstart by the number of seconds. Leave blank to pause it completely.
delayroundend [seconds] Delays the round end by the number of seconds. Use while the evac shuttle is in transit to CC.
forcemap <map> Forces the game to start with a given map next round. You get to play this map forever until you unset it with forcemap "" or via a vote.
setgamepreset <id> [number of rounds, defaulting to 1] Sets the game preset for the specified number of upcoming rounds.
endround Ends the round and moves the server to PostRound. This shows the round end summary window.
golobby Forces the server to go back to the lobby. This immediatelly kills the round for anyone in it, be careful running this command.

Shift flow commands

Command Purpose Notes
addgamerule <gamerule> Adds a gamerule to the current round.
listgamerule Lists all active gamerules.
endgamerule <gamerule> Ends the selected gamerule. You can stop the game director with this too.
lsobejctives <player> Lists all objectives of a player if they have any.
lssacrificetargets <player> Lists all sacrifice targets for a heretic if they have any. Omu only.
addobjective <player> <objective> Adds the objective to the player. This could fail if the objectives conditions can’t be met.
rmobjective <player> <objective> Removes the objective from a player. Use the number from lsobjectives.
stations:list Lists all stations.
stations:get jobs:job <job> jobs:adjust <number of slots> Adds the number of slots to the specified job. For servers with multiple stations use ent <station net id> jobs:job <job> jobs:adjust <number of slots>. <station net id> is the stations entity id found in F7 -> Objects -> Stations or via stations:list.
setalertlevel <alert> [lock] Sets the current station alert level for the grid on which the player is standing on. If lock is true then crew can’t change the alert level.
announce <message> [sender] [color] [sound] Sends an announcement. Sender defaults to CentCom, color to Gold, sound to announce.ogg. The color should be in #RRGGBB format.
tippy <user/all> <message> [entity prototype] [speak time] [slide time] [waddle time] Send a message with Tippy to one or all players. Speak time defaults to 5, Slide time to 3, Waddle time to 0.5. Entity prototype is whatever tippy is going to show up as.
callshuttle [m:ss] Calls the emergency shuttle with an optionally provided arrivals time. Time defaults to 10:00.
recallshuttle Recalls the emergency shuttle.

Moderation commands

Command Purpose Notes
readmin Re-admins you if you previously de-adminned. It automatically de-admins you when you join a shift.
deadmin Temporarily de-admins you so you can experience the shift as a normal player.
pardon <banid> Lifts a ban. Find the ban id by right clicking the ban.
achatwindow Creates a second chat window that only shows admin chat. Spawning a new window sometimes bugs and throws an error instead of opening the window, restart the game in that case.
adminwho Lists all readmin’d staff.
> admins:all Lists all staff. > is important
customvote "<title>" "<option1>" "<option2>" ["options3"...] Creates a custom vote. Add quotes around every argument if they contain spaces.
showrules <player> Shows the rules panel to a player.
whitelistadd <username> Adds a user to the servers whitelist.
whitelistremove <username> Removes a user from the servers whitelist.
jobwhitelistadd <username> <job> Adds a user to the jobs whitelist.
jobwhitelistremove <username> <job> Removes a user from the jobs whitelist.
ban_exemption_update <player> Datacenter Allows a player to connect using a VPN.
set-motd <message> Sets the servers motd, shows up whenever a player joins in chat. Remember to add quotes around the message if it contains spaces.

Admin tooling commands

Command Purpose Notes
setmind <entity id> <player> Forces a player into the specified entity. Entity ID is the one which shows up when you right click an entity or in the vv window under net id.
showmechanisms Makes mechanisms visible, even when they shouldn’t. This are things like organs.
hidemechanisms Reverts the effect of showmechanisms.
menuvis all Same as showmechanisms except it shows everything, this includes characters bones and body parts. Be extremely careful with this one when you are an aghost.
menuvis Reverts the effect of menuvis all.
showradiation Toggles a radiation overlay. Run it again to disable it.
showemergencyshuttle Shows the expected position of the emergency shuttle. You need to toggle it off and on for the position to update.
setadminooc <#RRGGBB> Sets your ooc color to the specified color. Shows only whehn you’re readmin’d.
linkbluespacelocker <true/false> <entry id> <exit id> Links two lockers together as teleporters. true for two ways, false for one way teleports.
self scale:set <[width,height]> or ent <entity id> scale:set <[width,height]> Sets the scale of the specified entity. The <[width/height]> parameter needs to be actually written as [width,height], so for example scale:set [2,3] would change the width to 2 and the height to 3.
rename <entity id> <new name> Renames a specific entity. Remember to use quotes when the new name contains spaces.
nukearm [seconds] [nuke id] Toggles the nuke. Nuke id and seconds is optional.
nukecodes <nuke id> Sends nuke codes to all station’s faxes which are authorized to receive nuke codes.
playglobalsound <file path> [volume] [username1 ...] Plays a global sound specific players or all if no players are specified. Volume defaults to 1.
tp <x> <y> [map id] Teleports you to the specific coordinates on the specified map.
self tp:into <target id> or ent <ent id> tp:into <target id> Teleports yourself or ent id to the target id
warp <warp point> Teleports you to a warp point. warp evac
setghosttheme <name> [color] Sets your ghosts theme and color. Byrd only.
crewmanifest <station id> Shows the crews manifest without needing a pda.
griddrag Allows you to drag grids. Be extremely careful, you really don’t want to drag the station around.
osay <entity id> <Speak/Emote/Whisper> <message> Forces a entity to speak. Remember to add quotes around the message if it contains spaces.
ent ID language:add LANGUAGENAME true true Adds a language to the entity.
Objects -> select grids in dropdown -> right click the station -> tricks -> click the battery with the ∞ Add power to the station permanently

Maint tooling commands

Command Purpose Notes
vv <ent id> Opens up the view variables popup for the specific entity.
vvwrite <path> <value> Used to change a components variables. Use [] for arrays and {} for objects. Basically json.
vvread <path> Used to get whatever content a components variable is.
addcomp <component> Adds the given component to the entity. Needs be prefixed with self or ent <entity id>.

Pre made commands

Command Purpose Notes
entities prototyped FleshBlocker where {nearby 0.1 prototyped FleshBlocker count >= 2} pick delete Deletes stacked meat anomaly objects. Re-run this a couple times to delete all of them.
entities named "asteroid rock" where {nearby 0.1 named "asteroid rock" count >= 2} pick delete Deletes stacked asteroid rocks from earth anomalies and meteors. Re-run this a couple times to delete all of them.
entities where {comp:has Puddle} delete or entities with Puddle delete Deletes all puddles to assist lag. Don’t do this when I’m playing though, you’ll make me sad.
entities where {comp:has SpiderWebObject} delete or entities with SpiderWebObject delete Deletes all cobwebs to assist lag.

Mapping comamnds

Command Purpose Notes
mapping <map id> [file path] Makes a new uninitialized map for mapping if no file path is given, otherwise loads an uninitialized version of the specified file. The map id doesn’t matter much but it needs to be unoccupied, go for numbers above 1000.
mappingclientsidesetup Copnfigures your aghost and client for mapping.
savemap <map id> <file path> Saves the given map id to the filepath relative to the servers data directory. Make sure the file name ends in .yml
savegrid <grid id> <file path> Saves the given grid id to the filepath relative to the servers data directory. Make sure the file name ends in .yml
showsubfloor Makes entities below floors always visible. E.g. pipes or cables. You can do the same with the sandbox menu.
showaccessreaders Toggles showing access reader permissions on the map. E.g. doors. -Disabled: The access reader is disabled. +Unrestricted: The access reader has no restrictions. +Set [Index]: [Tag Name]: A tag in an access set (accessor needs all tags in the set to be allowed by the set), +Key [StationUid]: [StationRecordKeyId]: A StationRecordKey that is allowed. -Tag [Tag Name]: AS tag that is not allowed (takes priority over other allows)
fixgridatmos <grid id> Resets the grids atomsphere
mapinit <map id> Initializes the map Do not save an initialized map
loadgrid <map id> <file path> <x> <y> <rotation> Loads the file as a grid at the given map and location. Use the F3 menu to get the map id and coordinats.
loadmap <map id> <file path> Loads the given map and initializes it.
colornetwork <entity id> Pipe <hex color> Colors a pipe network. The entity id needs to be a pipes entity id in the network. Yes it’s stupid that it needs Pipe in the command.

Add hands

  1. self comp:ensure ComplexInteraction comp:ensure Hands or ent <net entity ID> comp:ensure ComplexInteraction comp:ensure Hands
  2. addhand RightHandCybernetic
  3. addhand LeftHandCybernetic

Fun

Command Purpose Notes
> entities actor:controlled do "osay $ID Emote screams!" Makes everyone scream
> entities with Ghost comp:ensure RgbLightController comp:ensure PointLight do "vvwrite /entity/$ID/PointLight/Energy 0" Makes all ghosts rainbow
ent <entity id> do "makeghostrole $ID \"Soap\" \"Youre a bar of soap. Slip absolutely everyone.\"" do "ent $ID comp:ensure MobState comp:ensure MobMover comp:ensure InputMover" Turns the specific soap entity into a ghost controlled one.
entities with AccessReader do rmcomp $ID AccessReader All access for everyone Please don’t

Add custom content

You can upload custom files and prototypes to the server:

Command Purpose Notes
uploadfile <path on server> Opens a file picker and then uploads that file to the server. Any file uploaded to the servers gets put into an /Uploaded/ folder. So if you specify uploadfile AwesomeProject/icon.png it gets placed on the server at /Uploaded/AwesomeProject/icon.png
uploadfolder <Folder> Uploads a folder from your data driectory to the server. The folder needs to be in your clients data directory under UploadFolder. On windows this is %appdata%/Space Station 14/data/UploadFolder. On Linux this is ~/.local/share/Space Station 14/data/UploadFolder. The server then places that folder as a subdirectory of /Uploaded/.
loadprototype Opens a file picker and loads the contents of the yml file and all entities into it. Be very careful, you can overwrite anything you want with this until the server restarts. This also means you can completely crash the server if you upload a bad file. Test it in a dev environment first.

Credits

Partially copied from: