Author Topic: Beginnings of a remote management addon [menu being worked on, can auth]  (Read 725 times)

If you're not hosting a dedicated server, you don't need this. Don't use this if so.

https://github.com/TheBlackParrot/blockland-tcp-control
This adds support for server management over a TCP connection. This will spawn a TCP server in Blockland listening on whatever port you're hosting on minus 1000 by default, unless $Pref::Server::TCP_Control_Port is set.

Really the only thing that needs to be added at this point is better support for custom commands, and more default commands (give me ideas, that would help a ton).
And a better menu, definitely a better menu.


my password isn't hunter2, if yours is hunter2, why



Command Reference:
All commands must have their arguments separated by "\t"
If you're coding your own interface, the very first part of each command must be the sha1 hash of "username:password"

If a command had no errors, you will get OK as a response, ERR [code] [description] otherwise


PING
CHAT\t[msg]
PLAYERS
KICK\t["ID" or name]\t[ID if "ID"]\t[reason]
BAN\t["ID" or name]\t[ID if "ID"]\t[length]\t[reason]


I've included a very basic example client, you'll need Python 3 to run it.

and here is said menu so far
« Last Edit: August 31, 2016, 04:25:41 AM by TheBlackParrot »