Commands
How commands are reached
Section titled “How commands are reached”- In chat:
/rnpc <verb> …./rnpcalone lists the verbs you are allowed to use. - In a console:
rnpc.<verb> …, in a player’s F1 console, the server console or RCON. The same code answers both, with the same permissions. - Four verbs answer only in a console —
profile,faction,statusandreload. In chat they tell you to open F1. - The server console has every permission. It has no position, so placing there takes
at=andyaw=instead of where you look.
The verbs, the permissions and the placing options on this page are checked against the plugin’s own source on every build.
Permissions
Section titled “Permissions”| Permission | Grants |
|---|---|
runicnpc.place | Placing, removing, renaming and inspecting NPCs, recording routes, and follow |
runicnpc.admin | Everything runicnpc.place grants, plus teleporting, respawning, clearing an owner, and the console-only verbs |
On a Runic Gateway server both show in Admin → Rust permissions like any plugin’s, and the site grants them there — see Permissions and groups.
Placements
Section titled “Placements”A placement is a spot where a profile’s NPCs stand and come back after they die. It is saved
on the server and survives restarts. Placements made in game are named after their profile and a
number, bandit-1, and can be renamed. The site’s placements screen
edits the same list.
| Command | Does | Needs |
|---|---|---|
/rnpc place <profile> [options] | Places the profile’s NPCs where you are looking, and answers with the placement’s name and the cost warning. | runicnpc.place |
/rnpc here <profile> [options] | The same, a metre in front of you and facing you. If something is in the way, or there is no ground or navmesh there, it stands where you do and the reply says so. | runicnpc.place |
/rnpc remove [placement] | Removes a placement and its NPCs: the one you name, or the one the NPC you are looking at belongs to. | runicnpc.place |
/rnpc rename <placement> <new name> | Renames a placement. Its live NPCs stay where they are. | runicnpc.place |
/rnpc near [radius] | The placements and live NPCs around you, with distances and any note — waiting, or off the navmesh. | runicnpc.place |
/rnpc info | The NPC you are looking at: name, profile, placement or owner, health, state and target. | runicnpc.place |
/rnpc profiles | The profiles this server has, and any it refuses, with the reason. | runicnpc.place |
/rnpc follow <placement> <player|me|off> | The placement’s live NPCs escort a player: they fight whoever attacks that player, and walk back to their spot if the player dies or leaves. For trying an escort out — it is kept in memory only, so a respawn or a reload ends it. | runicnpc.place |
/rnpc tp <placement> | Teleports you to a placement. | runicnpc.admin |
/rnpc respawn <placement|all> | Respawns a placement’s NPCs now, or every placement’s. | runicnpc.admin |
/rnpc clear <owner> | Removes every NPC an owner has: a stuck event run (run:42), for example, or another plugin’s (plugin:Name). | runicnpc.admin |
Options for place and here
Section titled “Options for place and here”key=value, in any order: /rnpc place raider count=3 respawn=600 mode=group.
| Option | Means | Default |
|---|---|---|
count= | How many NPCs stand there | 1 |
respawn= | Seconds after a death before the NPC comes back | 300 |
mode= | each: every NPC on its own timer. group: none until all are dead, then all at once | each |
move= | wander, monument or route:<name> | the profile’s |
radius= | How far a wanderer strays, in metres | the profile’s |
tether= | A ZoneManager zone the NPCs never leave. Needs ZoneManager | none |
at= | Server console only, which has no position: at=x,y,z | — |
yaw= | Server console only: which way they face, in degrees | — |
Every placement is checked against Rust’s navmesh. A roamer must stand on it; only a sentry, or a passive NPC that stands, may stand off it. On a player-built floor the placement is made with a warning: if the floor is destroyed, the NPCs fall back to the nearest navmesh, and return to their spot once it is rebuilt. Every command that adds NPCs answers with the cost warning.
Routes
Section titled “Routes”A route is a line of points an NPC walks, recorded in game where you walk, one point at a time.
A recording is kept in memory only: a reload of RunicNPC discards it. A placement walks one with
move=route:<name>.
| Command | Does | Needs |
|---|---|---|
/rnpc path record <name> | Starts recording a route where you walk. | runicnpc.place |
/rnpc path point | Adds the spot you stand on. A point the previous one has no walkable path to is refused. | runicnpc.place |
/rnpc path undo | Drops the last point. | runicnpc.place |
/rnpc path save [loop|back] | Saves the route: loop walks back to the first point and round again, back walks it back and forth. | runicnpc.place |
/rnpc path cancel | Abandons the recording. | runicnpc.place |
/rnpc path list | The saved routes. | runicnpc.place |
/rnpc path delete <name> | Deletes a route. A placement that walks it waits until a route of that name exists again. | runicnpc.place |
At the console
Section titled “At the console”On a Runic Gateway server the site manages the profiles and the faction table. There,
rnpc.profile create, set and delete, and rnpc.faction set and clear, are refused with
“managed by its website”; show and list still answer. On a server with no site, they are how
profiles are made: see Profile fields for every field
set takes.
| Command | Does | Needs |
|---|---|---|
rnpc.profile list | The same as /rnpc profiles. | runicnpc.admin |
rnpc.profile show <name> | A profile in full, as JSON, and why it is refused if it is. | runicnpc.admin |
rnpc.profile create <name> [from=<profile>] | A new profile, empty or copied from another. | runicnpc.admin |
rnpc.profile set <name> <field> <value> | Sets one field of a profile by its path — health 200, ranges.sense 40, kits a,b. See Profile fields. | runicnpc.admin |
rnpc.profile delete <name> | Deletes a profile. Placements that use it wait until a profile of that name exists again. | runicnpc.admin |
rnpc.faction list | The faction table: which factions fight, ignore or help each other. | runicnpc.admin |
rnpc.faction set <a> <b> hostile|neutral|allied | Sets one pair, both ways. | runicnpc.admin |
rnpc.faction clear <a> <b> | Removes a pair. | runicnpc.admin |
rnpc.status | The version and API, the hooks that have fired, the navmesh, NPC counts by owner, profiles, placements, routes, the caps and the cost warning. | the server console, RCON, or an admin’s F1 |
rnpc.reload | Reads profiles and routes again after a hand edit of their files. | the server console, RCON, or an admin’s F1 |
rnpc.help | The verbs you may use, and nothing else — the same list as /rnpc alone in chat. | anyone |
A boss block or a press-E block is added with its defaults by set <name> boss on or
set <name> use on, and removed with none. Their fields are then set one at a time —
boss.spawnLine The Juggernaut has risen! — and a list of objects as JSON:
boss.phases [{"at":0.5,"line":"…"}]. Setting role passive also turns hurtByPlayers off.