1. Hey everyone, I can't seem to find the API for Rust. I have found the one for Oxide (http://docs.oxidemod.org/rust/), but not for the game itself.

    For instance, if I need to find the X location of a player, in this case player.transform.position.x, I'd like to be able to look it up. Same goes for a list of all players online (BasePlayer.activePlayerList). Can anyone point me to the right webpage?

    Thanks, and cheers!
     
  2. Wulf

    Wulf Community Admin

    Rust doesn't have an API really, that's why Oxide is here. For pretty much all of the Rust functions, you'd need to decompile the Assembly-CSharp.dll from the game using a tool such as JustDecompiler or dotPeek and browse for the functions you'd like.

    The Docs we provide are for Oxide, and may or may not contain examples from Rust and other games, but generally are pretty generic.
     
  3. Thanks! Since Rust is built on Unity, I suppose I can use the Unity API... oh well.
     
  4. Wulf

    Wulf Community Admin

    You can use what is exposed and available, but that doesn't mean everything will work server-side.