gorcon / rcon-cli

RCON client for executing queries on game server.
MIT License
491 stars 45 forks source link

Web RCON support #8

Closed camjac251 closed 4 years ago

camjac251 commented 4 years ago

Would it be possible to support Web RCON? It uses websockets and can have some benefits over the older source rcon https://github.com/Facepunch/webrcon#rust

Another monitoring tool I use (Battlemetrics) recommends web rcon over source rcon for connection to their site so I am kind of stuck using web rcon for best compatibility with that app.

I did find this https://github.com/bodrich/rust-cmd-webrcon which appears to be a Go Web RCON client. Might be useful for seeing how they did it possibly? Edit: Found one more https://github.com/diametric/rustcon

outdead commented 4 years ago

Web rcon is planned, but I have not decided yet whether I will do it in this application or create a new one.

camjac251 commented 4 years ago

Would it not work as a variable here? Like -t web or -t source to specify which type to use? This could also possibly be used with "rcon" like support where games might add their own implementation and some things are different from source rcon. If it's all under one app it can make managing things a lot easier for the end user

outdead commented 4 years ago

Yes, I decided to do something like this when I started to implement support for 7 Days to Die https://github.com/gorcon/rcon-cli/issues/5

Perhaps these two issues will be made together. But I haven't made a final decision yet.

outdead commented 4 years ago

https://github.com/gorcon/rcon-cli/releases/tag/v0.8.0-beta