Install the bridge
This happens on the machine that runs your Rust server. It puts three things there — the bridge plugin, the sidecar and RunicNPC — from one bundle, 2026.10.30 today, and prints what the site needs. It never contacts your site, and it never starts or stops your game server.
Rust server ──loopback, dials out──► rust-link sidecar ──HTTP + WebSocket──► your siteThe game server opens no port for the bridge: the plugin dials the sidecar on 127.0.0.1.
Before you begin
Section titled “Before you begin”- Oxide or Carbon is installed, and the server has started once with it, so its directories exist. A vanilla server has nothing to load a plugin with. Oxide 2.0.7585 or Carbon 2.0.259 or newer — never both in one tree.
- Kits and ZoneManager, from uMod. The bridge runs without them and names what is missing, but rewards and zones need them, and RunicNPC will not load without Kits. Nothing here installs them.
- The site has the Rust module, and you are an administrator on it.
Three ways, one result
Section titled “Three ways, one result”| Use it when | |
|---|---|
| The installer | The server runs on Linux with systemd, or on Windows |
| The Pterodactyl egg | The server runs on a Pterodactyl panel |
| By hand | Neither fits, or you want to place every file yourself |
The installer
Section titled “The installer”The Runic Gateway installer, v0.8.1, told it is setting up Rust. Run it as root, or from an elevated PowerShell:
sudo ./runicgateway-installer-linux-x86_64 install --game rust --rust /srv/rust --server-id main.\runicgateway-installer-windows-x86_64.exe install --game rust --rust D:\rust --server-id main--rust is the server root, the directory holding RustDedicated. --server-id is
required: it is the id the site will know this server by — lowercase letters, digits and
-, up to 64 — and it is permanent (see Connect the site).
Add --verify to see everything it would do and write nothing.
A run resolves the bundle, detects Oxide or Carbon from the server itself, and refuses a tree
that has both or neither. It writes the plugin’s config with just ServerId and Port,
only if there is none — an existing config is never rewritten, and one that names a
different server stops the run. It installs the sidecar and registers its service, places the
plugin, its helpers and RunicNPC, and prints what the site needs. Both frameworks load a
plugin the moment it lands, so on a running server the bridge comes up at once.
More than one server on a host: run it once per server, each with its own --rust and
--server-id. Each gets its own service, config, database, game port (from 7799) and web
port (from 8090), and they share one sidecar binary.
| Linux | Windows | |
|---|---|---|
| The sidecar binary, shared | /usr/bin/runicgateway-rust-link |
%ProgramFiles%\RunicGateway\rust-link-sidecar.exe |
| One server’s sidecar config — holds its token | /etc/runicgateway/rust/<id>.toml, mode 600 |
%ProgramData%\RunicGateway\rust\<id>\sidecar.toml |
| One server’s service | runicgateway-rust@<id>.service |
RunicGatewayRust-<id> |
The full list, including the database and the install record, is in the Rust bridge install guide.
The Pterodactyl egg
Section titled “The Pterodactyl egg”Each Rust-Link release carries egg-rust-runicgateway.json: the panel’s Rust Autowipe
egg with the bridge added. A panel administrator imports it under Admin → Nests → Import
Egg. When you create a server from it, these variables matter:
| Variable | |
|---|---|
| Modding Framework | oxide or carbon. vanilla installs no bridge |
| Runic Gateway: server id | The id on the site. Read once, when the plugin writes its first config; changing it later changes nothing |
| Runic Gateway: sidecar port | One of this server’s allocations. A port the server was not allocated binds, but is never reachable |
| Runic Gateway: sidecar token | Leave blank, and the sidecar generates one. Anyone who can see this server’s startup variables can read a token typed here |
| Runic Gateway: bundle | Blank takes the current bundle; a tag pins one |
The install checks every file against the bundle’s checksums before it places any of them. The first boot prints the generated token in the console, once, and a line with what the site needs:
[rust-link] Admin -> Rust -> Servers: server id 'main', sidecar URL http://<this node's address>:21009 (listening on 0.0.0.0:21009)The sidecar runs inside the server’s container and stops with it.
- Updating is a reinstall, with Regen Server off to keep the map. A restart never fetches anything, so it can never change the protocol under a site that has not been updated.
- A wipe keeps the bridge’s history. The egg moves
rust-link/out of the way whileREMOVE_FILESruns, so no delete list can reach the database or the token.
By hand
Section titled “By hand”- Pick the bundle. The current one is
v2/rust/current.jsonon the installer’sbundlesbranch. It names the sidecar for your platform, the plugin tarball and RunicNPC’s, each with asha256. - Download and verify each against its checksum.
- The plugin: copy
RunicGateway.csintooxide/plugins/orcarbon/plugins/, with every other.csthe tarball’smanifest.jsonlists beside it, andRunicNPC.csfrom its own tarball. To name the server, createoxide/config/RunicGateway.json(Carbon:carbon/configs/RunicGateway.json) first, holding{ "ServerId": "<id>", "Port": 7799 }. Without it the plugin calls the servermain. - The sidecar: put the binary somewhere stable, give it a
sidecar.toml, and runrust-link-sidecar --print-config --config <file>once — it generates the token, saves it, and prints it. - Run it under your supervisor with
--config <file>, as an unprivileged user that can write the database directory. On Windows the same.exeruns as a service.
The helpers beside the plugin
Section titled “The helpers beside the plugin”The bundle ships three optional helpers beside the plugin, and the installer and the egg
place all three. By hand, the tarball’s manifest.json lists them in files:
RunicGatewayZones.cslets ZoneManager count a player already standing in an event zone when it opens or comes back after a restart, and enforce the flags of a zone opened after it loaded. Without it, events still score everybody, but a zone’s flags — PvP off, no building — may not hold.RunicGatewayDomes.cslets the bridge ask ZoneDomes for a dome over an event zone. Without it, zones open without one.RunicGatewayRaids.cslets an event spawn a RaidableBases base of its own and despawn just that base when the event ends; see Optional plugins.
Day two
Section titled “Day two”doctor --game rust |
Per server: the framework, whether each deployed file is still the one deployed, RunicNPC (a failure when missing — it is required), the required uMod plugins, the service, and /health through to plugin connected |
update --game rust |
Moves the sidecar and every server’s plugin to the current bundle, together — they share one binary |
uninstall --game rust |
Removes the service, the plugin, its helpers and RunicNPC. Keeps the plugin’s config and RunicNPC’s data, because they name the server. --purge also removes the token and the database |
Next: Connect the site.
Canonical documents
Section titled “Canonical documents”rust-link/INSTALL.md
is the operator guide, and its flags, paths and egg variables are the authority;
installer/INSTALL.md
covers the installer itself.