Skip to main content

Sources

entities

[none] -> IEnumerable<EntityUid>
Returns a list of all entities in the simulation.

ent <entity>

[none] -> EntityUid
Returns the given entity.

spawn:at <entity prototype>

IEnumerable?<EntityCoordinates> -> IEnumerable?<EntityUid>
Spawns a new entity at the given coordinates.

spawn:on <entity prototype>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Spawns a new entity on the other given entity.

spawn:attached <entity prototype>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Spawns a new entity attached to the other given entity.

Filters

with <component type>

IEnumerable<EntityUid> -> IEnumerable<EntityUid>
Filters the input for entities with some given component. This command can be inverted with not.

prototyped <prototype>

IEnumerable<EntityUid> -> IEnumerable<EntityUid>
Filters the input for entities built from a given prototype. This command can be inverted with not.

paused

IEnumerable<EntityUid> -> IEnumerable<EntityUid>
Filters the input for entities that are currently paused. This command can be inverted with not.

nearby <range>

IEnumerable?<EntityUid> -> IEnumerable<EntityUid>
Filters for entities nearby the inputs, returning all entities within range of it.

named <name>

IEnumerable<EntityUid> -> IEnumerable<EntityUid>
Filters the input for entities with a name matching the regex $regex^.

Transforms

comp:has <component type>

IEnumerable?<EntityUid> -> IEnumerable?<bool>
Returns true if the input entity has the given component, otherwise false.

pos

IEnumerable?<EntityUid> -> IEnumerable?<EntityCoordinates>
Returns the coordinates of the input entities, relative to their parent.

mappos

IEnumerable?<EntityUid> -> IEnumerable?<EntityCoordinates>
Returns the coordinates of the input entities, relative to the map.

Mutators

delete

IEnumerable<EntityUid> -> [none]
Deletes the inputs from the simulation. Gone. Poof.

replace <entity prototype>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Replaces the given entities with another of some prototype, preserving only it’s position and rotation.

tp:coords <entity coordinates>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Teleports the input to the given coordinates.

tp:to <entity>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Teleports the input to the given entity.

tp:into <entity>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Teleports the input into the given entity.

comp:add <component type>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Adds the given component to the entity.

comp:ensure <component type>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Ensures the input has the given component.

comp:rm <component type>

IEnumerable?<EntityUid> -> IEnumerable?<EntityUid>
Removes the given component from the entity.
Last modified on June 20, 2026