Skip to content

RunicNPC

RunicNPC is an NPC plugin for Rust, on Oxide and Carbon, written by this project. It puts NPCs where you want them, with the kit, health, aim, ranges and behaviour you give them, and brings them back after they die. It is one file, RunicNPC.cs, compiled by the framework from source like any uMod plugin.

Release v1.0.0, from runicnpc-rust
API version 6
Runs on Oxide 2.0.7726 or Carbon 2.0.259, or newer
Needs Kits. ZoneManager is optional, for holding NPCs inside a zone

On its own. RunicNPC runs on any Rust server, with no Runic Gateway site anywhere. You place NPCs in game with /rnpc, edit their profiles at the console, and other plugins drive it through its API. Nothing on this page beyond this section is needed to use it that way.

On a Runic Gateway server. There it is required, and installed with the bridge from the same bundle. Every NPC an event places is RunicNPC’s, Rust’s own scientists included. The site then owns the NPC profiles and the faction table, and pushes them to each server; the console commands that would edit them are refused with “managed by its website”. Placements stay the server’s: they are made in game or from the site’s map, and both see the same list.

  • A profile is a named description of an NPC: its names and kits, its role, how it moves, how hard it is, whom it fights, and optionally a boss’s phases, what pressing E on it does, and its own loot. See Profile fields.
  • 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. The NPCs themselves are never saved: at boot, each placement spawns fresh ones.
  • A route is a line of points, recorded in game, that an NPC walks.
  • An owner. Every NPC has one, and the owner decides how long it lives: a placement, an event run, or another plugin. An event’s NPCs go when the event is torn down, and another plugin’s go when it unloads.

The roles. A roamer moves, chases and fights. A sentry stands still and shoots. A guard holds its spot, chases within its leash and walks back. A passive NPC never fights, and pressing E on it says a line or opens a window — a quest-giver or a quartermaster. Any role but passive can be a boss: a health bar at the top of the screen, phases as its health falls, and lines said in game.

Factions. With no faction settings an NPC fights players only. Profiles can be put on sides, made hostile to Rust’s scientists or animals, or to each other; through the API, one NPC can also be allied to a clan, a team or a player, and defend what they own.

On a Runic Gateway site RunicNPC’s NPCs also show up elsewhere: their names in a server’s feed, NPC kills on the leaderboard, bosses and event NPCs on the live map, and a step’s “3 of 8 left” on a running event’s page. An event places them with its Place NPCs step and can wait on them dying or on a boss’s health; see Events, zones and rewards.

It never phones home. RunicNPC makes no network call, downloads nothing and scans nothing at boot.

Page Read it when
Install RunicNPC Putting it on a server, with or without Runic Gateway, and after a Rust update
Commands Placing NPCs and recording routes in game, and the console
NPC profiles Authoring profiles and the faction table on the site
NPC placements Placing NPCs from the site’s map
Cost and caps Knowing what NPCs cost a server, and capping them
Profile fields Every field of a profile, for the editor, the console and the API alike
The API Writing a plugin that spawns, orders or listens to RunicNPC’s NPCs