Install ServerStats on a Rust server (Oxide/uMod or Carbon)

Install the ServerStats plugin on a Rust server with Oxide/uMod or Carbon: one .cs file, a one-time claim code, status commands and fixes for usual errors.

SetupBy the ServerStats teamUpdated 6 min read

Questions

Does the ServerStats plugin work on both Oxide and Carbon?

Yes. It is one file, ServerStats.cs, that compiles unchanged under Carbon and Oxide/uMod. Only the folders differ: carbon/plugins and carbon/configs, or oxide/plugins and oxide/config.

Why isn't ServerStats on the uMod site?

The plugin signs and compresses its batches on a background thread, which Oxide's webrequest cannot do, and uMod's review guidelines discourage threads. It is distributed from serverstats.cc instead; both frameworks run it fine.

How do I re-enrol after moving the server to a new box?

Create a new claim code from the server's settings in the dashboard and run serverstats.claim with it. A new key pair is generated and the old key stops being accepted.

Does the plugin reset on wipe?

No. Its key and state live in the plugin data folder, not in the map or save files, so map and blueprint wipes don't touch enrolment, as long as your wipe script doesn't also delete carbon/data or oxide/data. The plugin detects wipes and marks them in the dashboard.

Add your Rust server

Free for one server, no card. About five minutes to install.