1. How do I get the server's port via the Oxide API?

    In Legacy it was Rust.server.port.

    Where can I find documentation covering such things.

    Many thanks.
     
  2. Wulf

    Wulf Community Admin

    There is no Oxide API for it, you'd just call whatever has that via Rust's code directly. You can find it by decompiling the API and looking for it.
     
  3. Many thanks for the reply.

    Where can I find more information on decompiling the API?

    Thanks in advance.
     
  4. Wulf

    Wulf Community Admin

    Rust doesn't have an API, but you can decompile it's main DLL (Assembly-CSharp.dll) using a tool such as JustDecompile and then search for the functions you'd like to use.
     
  5. Thanks again. I'll give it a bash =)
    [DOUBLEPOST=1428965450,1428951386][/DOUBLEPOST]Are there json encoding and decoding routines available, and where might I find some documentation on them?

    Thanks in advance.
     
  6. Wulf

    Wulf Community Admin

    Not yet as far as I know.
     
  7. No problem. I'll have a go at writing my own functions.

    Thanks again =)