Skip to content

Verify the bridge

A copied file is not a working bridge. Check the four links in the order data travels, the way Verify the whole stack describes for every game; this page has Rust’s commands. The first link that fails is the one to fix.

Both frameworks compile and load RunicGateway.cs the moment it lands. Oxide logs to oxide/logs/; Carbon to carbon/logs/Carbon.Core.log. A good load reads:

RunicGateway was compiled successfully
[Runic Gateway] protocol 14, serverId 'main', sidecar 127.0.0.1:7799
[Runic Gateway] connected to 127.0.0.1:7799

The second line is worth reading closely: it is the protocol this plugin speaks, the id the site will file everything under, and the address it dials. A wrong ServerId or Port is visible right here.

If the third line is instead cannot reach the sidecar: … — retrying quietly until it answers, the plugin is fine and the sidecar is not there yet — or Host and Port in RunicGateway.json point somewhere else. It is printed once per load and then the plugin keeps trying.

At the server console (or over RCON):

rg.link
protocol=14 serverId=main connected=True depth=0 sent=412 dropped=0 received=38 connects=1 writeErrors=0 bootId=… wipeId=w-20261005T115051Z

connected=True is the link. dropped above zero means the sidecar was away long enough for the plugin’s queue to fill and shed its oldest lines — the game never waits for it. wipeId=none is a server that has never saved, which is normal for a few minutes after a fresh wipe.

On the game host. /health needs no token, so monitoring can use it:

Terminal window
curl -s http://127.0.0.1:8090/health
{"status":"ok","protocol":14,"plugin_connected":true,"database":"ok","uptime":"2h 5m","last_event":"…","untyped_frames":0}
Field Working means
plugin_connected true. This is the one value that tells “files copied” from “the bridge works”
status ok. degraded means the plugin is not connected or the database is unreadable
untyped_frames 0. Anything else means the plugin and the sidecar speak different protocols — see below

On Admin → Rust servers, Test the sidecar answers The sidecar answered (protocol 14), and the row reads online with last seen just now. The public page at /rust lists the server, and its feed fills as things happen in the world.

Each failure the Test button can report is on Connect the site.

  • Stopping the sidecar does not disturb the game. The plugin logs sidecar link lost; reconnecting and keeps retrying, into a bounded queue that drops its oldest lines rather than growing.
  • A plugin started before its sidecar logs one line and goes quiet until the sidecar answers.
  • The site renders with every server off. Lists, counts and last-reported times come from what the site stored, and the server reads offline.
Terminal window
runicgateway doctor --game rust

checks the framework, every deployed file, RunicNPC, the required uMod plugins, the service and /health through to plugin connected, per server. It exits non-zero when a check failed, so a monitor can run it. On a Pterodactyl egg there is no shell; the console is the diagnosis.

rust-link/INTEGRATION.md §3 and rust-link/PROTOCOL.md §5.1 cover diagnosing the link.