Jogos
Rust game servers (Oxide/uMod)
Como conectar Rust game servers (Oxide/
- Método
- Oxide/
uMod plugin (C#) - Status
- exemplo não testado
- Eventos
frameshotspawn- Origem
integrations/rust-oxide
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.
Os nomes de jogos e plataformas pertencem aos seus donos e são usados apenas para descrever compatibilidade. O valkyr não tem vínculo com eles.