I guess I’m on a kick of releasing some code as open source. I decided to release the method in which I use to track PVP statistics for the Splash Rust servers. It’s a Harmony mod so it lets me do stats even for pure vanilla servers. This harmony mod does not include any ability to view said stats. It’s simply a layer to track stats via RCON by enabling a new RCON message type with added details when players are killed.

This is incomplete – as in you cannot use it without rewrorking some dependencies that I have not yet open sourced. It relies on an internal Harmony mod used as a utility library for my other Harmony mods. Namely this function here:

RustUtils.BroadcastCustom("PlayerKill", killdata);

This is what broadcasts the new RCON JSON type.

What else this enables is a uniform method of collecting PVP stats. It can be hooked by Oxide plugins to get the same data, so you can easily monitor RCON using my previously mentioned middleware to track stats into any database you want.

So here it is! This one is a little less documented for public consumption :)

https://github.com/SplashGamingdotgg/SplashStats