Juegos
Rust game servers (Oxide/uMod)
Cómo conectar Rust game servers (Oxide/
- Método
- Oxide/
uMod plugin (C#) - Estado
- ejemplo sin probar
- Eventos
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.
Los nombres de juegos y plataformas pertenecen a sus dueños y se usan solo para describir la compatibilidad. valkyr no está afiliado a ellos.