Games
Rust game servers (Oxide/uMod)
How to connect Rust game servers (Oxide/
- Method
- Oxide/
uMod plugin (C#) - Status
- untested example
- Events
frameshotspawn
Status: untested example. Not compiled or run (Oxide compiles plugins at load time on the server; no Rust server was available).
Scope
A server side Oxide/
What it does
- every
FrameIntervalSeconds: aframeper active, awake player (transform.,position eyes.,rotation IsOnGround()); OnPlayerConnected,OnPlayerRespawned:spawnwith the team id;OnPlayerAttack:shotwithtarget(player victims) andbonefrom the hit area; weapon ids come from theWeaponIdsconfig table;- batches to
POST /v1/with Oxide'smatches/ {match_ id}/ events webrequest, pollsGET /v1/and kicks players for the actions inactions KickOnActions; ends the match on unload.
The game runs on Unity: meters, Y up, yaw 0 along +Z and 90 along +X like valkyr; the euler pitch is positive looking down and is negated.
Install
Copy ValkyrBridge.cs to oxide/ (or carbon/ if your framework is compatible), let it generate oxide/, set ApiKey to a valkyr-server key with the ingest role, then oxide..
To verify against your Oxide version: eyes., HitInfo. and HitArea values, BaseEntity. of weapons, and the webrequest. signature.
Game and platform names belong to their owners and are used only to describe compatibility. valkyr is not affiliated with them.