Information on Rust RCON protocol?
{
"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