Jump to content

Admin Commands: Difference between revisions

From Byrd Station Wiki
mNo edit summary
mNo edit summary
Line 13: Line 13:
----
----


=== addgamerule ===
=== Add Game Rule / Start Game Event ===
```
<code>addgamerule <id></code>
 
addgamerule <UnknownShuttleZenith | UnknownShuttleRazor>
 
```


---
---


<nowiki>##</nowiki> add hands to entity
=== Add Hands ===
<code>self comp:ensure ComplexInteraction comp:ensure Hands</code> or <code>ent <net ID> comp:ensure ComplexInteraction comp:ensure Hands</code>


`self comp:ensure ComplexInteraction comp:ensure Hands` or `ent <net ID> comp:ensure ComplexInteraction comp:ensure Hands`
<code>addhand RightHandCybernetic</code>


```
<code>addhand LeftHandCybernetic</code>
 
addhand RightHandCybernetic
 
addhand LeftHandCybernetic


```
```
Line 486: Line 479:
---
---


<nowiki>###</nowiki> Fix Renderer Issues


<nowiki>**</nowiki>File:**  
---
 
`RobustToolbox/Robust.Shared/EntitySerialization/EntityDeserializer.cs`
 
Comment out:


- Lines 864-865  
-LZ22
 
- Lines 1154-1167  
 
- Line 1172  
 
<nowiki>**</nowiki>File:**  
 
`RobustToolbox/Robust.Shared/EntitySerialization/Systems/MapLoaderSystem.Load.cs`
 
Comment out:
 
- Lines 103-109  
 
---

Revision as of 15:03, 19 July 2026

Admin Commands

This list is by no means exhaustive. There are many missing.


Notation Guide

- **Action Intended**

- **Command Syntax**

- **Additive Descriptors**

ToC not provided.


Add Game Rule / Start Game Event

addgamerule <id>

---

Add Hands

self comp:ensure ComplexInteraction comp:ensure Hands or ent <net ID> comp:ensure ComplexInteraction comp:ensure Hands

addhand RightHandCybernetic

addhand LeftHandCybernetic

```

## add inventory

- add `Inventory` Component

- Use VV and edit TemplateIdVV, and set inventory type to any definition. (`human` is default)

The following adds an invisible (untouchable) backpack: `self do "equipto $ID ClothingBackpackDuffelGman true"`

---

## 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:

```yml

configurators:

- invalid

```

### Create Map

Wizden's Checklist: https://docs.spacestation14.com/en/space-station-14/mapping/guides/general-guide.html<br/>

Peptide's Checklist: https://hackmd.io/@Peptide90/MapPublishChecklist

---

```

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>

```

---

## stations:list

List all stations and their IDs.

---

### 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>"`

Optionally, one can rename entities in bulk: `entities prototyped <proto. ID> do "rename $ID \"<name>\""`

---

## nukearm

Arm a nuke instantly.

```

nukearm <seconds> <nuke id>

```

---

## nukecodes

Send nuke codes via fax.

```

nukecodes <nuke id>

```

---

## replace prototypes

`entities prototyped OriginalPrototype replace NewPrototype`

---

## list objectives

```

lsobjectives <username>

```

Lists all objectives for a user's current character if they have any.

---

## 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>

```

---

## customvote

```

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

```

---

## ent <> jobs:job <> jobs:adjust <>

```

ent <A> jobs:job <B> jobs:adjust <C>

```

_Add / remove job slots to / from a station._

Adjust job **B** (dropdown list provided) by **C** amount for station ID **A**.

---

## playtime_add<x>

### 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.

### jobwhitelistadd <username> <role>

Allow a user to play a whitelist-only role.

### jobwhitelistremove <username> <role>

Remove a user from being able to play a whitelist-only role.

---

## 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  

---

## ban_exemption_update

```

ban_exemption_update <player name> Datacenter

```

Allow a player to connect using a VPN. For our friends in the Russian Federation, and the Republic of Türkiye.

---

## 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>

```

---


---

-LZ22