gorcon / rcon-cli

RCON client for executing queries on game server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Web RCON support

camjac251 opened this issue · comments

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

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

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

Yes, I decided to do something like this when I started to implement support for 7 Days to Die #5

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