-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement RCON abilities #82
Comments
If we implement RCON, we could maybe add an |
Suggestion for if we do implement console input: Add a |
We should also add attributes to mark which command can only be executed by the client/console(rcon) |
To allow more flexibility a [IssuerScope] attribute could be useful with a accompanying flags-enum with values like In addition, a config entry probably would be advantage to server admins. |
Plugins can't execute commands, can they? |
It's entirely theoretical but I've seen Bukkit plugins like Essentials do that. |
Also we can do like a |
A command only executable via RCON that returns server statistics like CPU and/or RAM usage would be kinda useful, that way a RCON client could display these stats without having to rely on a custom plugin and/or having to parse the data from command output. |
I don't entirely know why this should be only accessible over RCON. Besides that, I think it should be possible to override server commands (that Obsidian provides commands may be nice but maybe not everyone likes them), any thoughts on that? |
Well i mean theres no real reason to make those commands RCON only, but if a player/console executes the command it should maybe return more than just a number, "Memory Usage: 7.71GB / 8GB" or something like that. |
Quick note: Like wiki.vg says: The Character used for Color Codes (§) isnt in ASCII. Im not sure if this will be a Problem if a User sends a Command to the Server that contains a §, so i suppose we should either add:
Maybe this wont even be a Problem and im just overthinking this, i just wnated to note this here. |
I don't know if RCON is supposed to be a "remote terminal protocol", in this case I'd send ANSI escape codes. |
It is. |
The current console does not support user input. I don't think we'll ever implement this, because we run multiple servers on one console. A different option is implementing Minecraft's RCON protocol, so we can communicate with one specific server remotely.
https://wiki.vg/RCON
Hacktoberfest edit: welcome! Feel free to tackle this issue if you feel like it. The RCON protocol would have to be it's own class that is able to accept connections and interact with the console in/output from Obsidian. Good luck!
The text was updated successfully, but these errors were encountered: