Events, zones and rewards
An event is core’s: phases, steps, a schedule, a dry run, and a record of what happened — see Scheduled events. This page is what the Rust module puts into that editor, and what a Rust server needs before any of it can run.
First, switch it on
Section titled “First, switch it on”Each server’s bridge plugin has EventsEnabled, and it is off until you turn it on —
in RunicGateway.json, from
Mod config or on the host. It gates everything an event writes: a
borrowed value, a zone, a crate, an NPC, a tally, a line in chat.
Letting staff moderate from a screen they are looking at and letting a schedule change the world at four in the morning are different consents, so this is its own switch. Turning it off never strands anything: giving back what an event took, and cleaning up what it placed, always work.
The steps
Section titled “The steps”Picked from the step’s Action list, beside core’s own:
| Group | Step | What it does |
|---|---|---|
| The world | Open a zone | A ZoneManager zone, at a monument or coordinates, with flags from a preset, messages on entering and leaving, and optionally a dome |
| Place crates | Crates, barrels and supply drops | |
| Place NPCs | Rust’s scientists and guards, or RunicNPC profiles — placed through RunicNPC | |
| Call a world event | Rust’s own: a patrol helicopter, an airdrop, the cargo ship, a Bradley, the Travelling Vendor and the rest | |
| Counting | Start counting participants | A tally of who is present in a zone or on the server, by seconds present, kills, or both |
| Record participants | Reads the tally into the run, so later steps can reward from it | |
| Rewards | Reward a kit | A Kits kit, as a credit the player redeems |
| Pay coins | Economics coins | |
| Bigger backpack | Lends a larger Backpacks size until the event ends | |
| Permissions until the event ends | Lent, and taken back at the end | |
| Permissions for good | Given, and kept. Needs a tick saying you are sure | |
| Reward by console command | Commands run once per recipient, with {steamid} and {name} filled in |
|
| Saying it | Say it in game chat | A line in chat, or a popup where PopupNotifications is installed |
| Optional plugins | Start a Dangerous Treasures event | |
| Place a guarded crate | ||
| Spawn a raid base | A RaidableBases base that is the event’s own | |
| Anything else | Run console commands | Free text, as typed at the server console, with commands to run when the event ends. Needs a tick saying you are sure |
The optional-plugin steps need their plugin on the server; Optional plugins covers each. Every reward step picks its recipients the same way: everyone who scored, the top N, a minimum score, N drawn at random, the top X per cent — or every player with a linked Steam account, with no tally at all, for something like a kit weekend. A recipient need not be linked otherwise: rewards go to Steam accounts, and one who is offline gets theirs on their next time in.
What an event places is the event’s. At its end, the run gives back what it borrowed and removes what it placed — its zones, crates, NPCs, and a raid base it spawned. A server restart in the middle does not lose track: the plugin keeps the registry on disk, and something that outlives its deadline is removed and recorded as expired.
Values an event may borrow
Section titled “Values an event may borrow”Core’s Borrow a value step holds a setting for the length of the event and gives it back at the end. Rust lends four kinds of value, on each server:
- Decay rate
- Population — an animal or vehicle population
- Spawn scalar
- Group permission — a permission on a group, which the permission mirror leaves alone while the lease holds
Zone presets
Section titled “Zone presets”Admin → Rust zone presets (/admin/rust/zones) holds named sets of ZoneManager flags and
settings. Core’s step editor has single-value fields, so a zone’s flags are ticked here, and an
event’s Open a zone step offers the presets in its Options field. Picking one copies it
into the step, so changing a preset later does not change an event already published.
The screen lists each server’s ZoneManager version, how many flags it has, and whether domes are
available. None ship with the module: what an arena is differs by server. Who is exempt from a
flag is a zonemanager.ignoreflag.* permission, set on the permissions page. Where TruePVE is
installed, a zone can also turn PvP protection off inside it, or name a TruePVE ruleset.
Triggers
Section titled “Triggers”A phase can advance when something happens in the game, and the vocabulary of something is the module’s trigger catalog. Rust’s includes a server wiping, coming online or going offline, a new kills leader, a raided base, a guarded crate landing or being cleared, a treasure event starting or being won, and a RunicNPC boss appearing, changing phase or dying. The same catalog drives Engagement rules.
Canonical documents
Section titled “Canonical documents”rust-link/PROTOCOL.md
§14 to §16 and §20 are leases, world verbs, rewards and the step editor on the wire;
website/EVENTS.md
is core’s event system, and
modules/rust/PLAN_REDESIGNS.md
the design of the step editor and the zones.