Information on Rust RCON protocol?
I want to know the latest protocol or API of rust rcon. Do you have any information? I want to make a web version of the management platform, but I haven't found the API interface docking game. What should I do?
It uses websockets. Data you send should look something like this:
{
  "Message": "Some remote Command",
  "Identifier": 1,
  "Stacktrace": ""
}​

Message - What ever command you wanna send to the server.
Identifier - This will return the same identifier that you sent the command with making it easy to keep track of responses.
Stacktrace - I normally keep this empty or null.

Some usefull commands:
playerlist -- Returns the active playerlist in json.
bans -- Returns the bans in json.
serverinfo -- Returns a lot of info in json.
o.plugins -- Returns plugin list but you're gonna need to use regex to parse them. I asked wulf to add a command o.pluginslist to return it in json. Lets hope he's adding it.

Here's an API I made for all the items in rust: http://qs.quantumsoftware.co.za/rust/items.json This is updated as soon as the game updates.


But basically just play with commands and decompile. I found some usefull ones such as `tail x` that returns x amount of lines from the console. However I saw this in the source but couldn't get it to work.



Merged post

Also take a look at: https://github.com/Facepunch/webrcon