Would appreciate more robust commenting
Hello, I am trying to write a simple library for webRCON in C#. At the moment I am having a bit of trouble understanding the handshake method here. I'm pretty bad with java-script, so trying to deduce what is happening isn't proving very fruitful.
would it be possible for someone to write up some simple comments / docs explaining the connection process?
Thanks!
Connecting is pretty easy.
Open a Websocket Connection to "ws://
{
Identifier: identifier, // int -> e.g.: 1000
Message: message, // string -> e.g.: "serverinfo"
Name: "WebRcon"
}
@alexfriesen is there a list of commands that the server accepts anywhere?
@ecielam There is one list of commands than you can send to the server over at the Oxide Forums. Also, Rustafied is a good Rust community site that has an online spreadsheet with some commands. It may or may not be fully up to date. Here is Rustafied's Admin Command Cheat Sheet. Those should at least give a good starting point.