RunicGateway.json
The bridge plugin’s config, written by the framework as oxide/config/RunicGateway.json, or
carbon/configs/RunicGateway.json on Carbon. The plugin fills in every key it is missing on
load, so a config written by an older version shows the newer keys after the first load with the
new one — which is what lets Mod config show a switch before anybody needs
it.
Where the first one comes from. The installer writes one holding just ServerId and Port,
and only when there is none. On a Pterodactyl egg, the plugin’s first load takes the server id from
the RUSTLINK_SERVER_ID variable. After that the file is canonical, and changing either source
changes nothing.
The keys
Section titled “The keys”| Key | What it is for |
|---|---|
| Connection | |
Hostread-only from the site | Where the sidecar listens. Loopback is the trust boundary |
Portread-only from the site | The sidecar's game port. Must equal its game.bind port |
QueueCap | Lines that may wait for a wedged sidecar before the oldest is dropped |
ServerIdread-only from the site | This server's permanent identity on the website. Not the hostname, on purpose |
| Events | |
EventsEnabled | Whether the website may borrow values or change this world for events at all. Off by default |
EventsMaxCrates | Crates one event step may place. Lowerable, never raisable past the ceiling |
EventsMaxNpcs | NPCs one event step may place |
EventsMaxRecipients | People one reward step may name |
EventsMaxTallies | Participation tallies counting at once |
EventsMaxChat | Longest line an event or a news post may say in chat |
EventsMaxWorldCalls | World events one run may call: helicopters, cargo ships, airdrops |
| Map | |
MapMaxSleepers | Offline sleepers one live-map answer carries |
MapMaxBases | Tool cupboards and vending machines one live-map answer carries |
This list is checked against the plugin’s own source on every build.
The event bounds
Section titled “The event bounds”EventsEnabled ships off. While it is off the site may still list and give back what events
hold, so switching it off never strands anything; it may not borrow, place, count, pay or say
anything new. See Events, zones and rewards.
Saved from Mod config, EventsEnabled takes effect at once. The
bridge never reloads itself, so its other settings apply at its next reload — a server restart,
or a reload at the console.
Each EventsMax… key is how much one step may do on this server — or, for
EventsMaxWorldCalls, one run, and for EventsMaxTallies, the whole server at once. Two rules
hold for all of them:
- An operator may lower a bound, never raise it past the plugin’s own ceiling. A value above it is brought down to it when the plugin loads.
- A step over a bound is refused, never trimmed to fit. An event that does less than its author wrote, quietly, is worse than one that says it cannot.
The two Map… keys are different: a map answer over its bound is cut short and says so, because a
read has nobody to refuse.
Canonical documents
Section titled “Canonical documents”The PluginConfig class in
RunicGateway.cs
is the authority;
rust-link/PROTOCOL.md
§6.1 describes the file and §14 to §17 each key as it arrived.