EstiNet's Minecraft server console wrapper with remote access support. It can also wrap other JVM console programs with the same amount of functionality.
Communicating with EstiConsole is rather easy. Use the Socket.io library to initialize a connection.
Must be sent before any other messages are sent. Will return error 401 if the password is incorrect.
EstiConsole will return all the logs up to that point in bytes.
EstiConsole will execute the command onto the server.
Request the file list of the directory. "./" requests the root directory.
Uploads a file to the directory, and continues a stream until the 'uploadgood' key phrase is sent.
Creates a folder at the directory.
Deletes a file at the directory.
Downloads a file at the directory.
Sent as a callback for confirmation of finishing an upload.
Acknowledges that your client has been authenticated after a hello query.
Sent after the client requests the logs with curlogs. Returns bytes containing all the logs.
Sent when there there is console output.
Sent back if something went wrong with input. Check below for what the error code means.
Sent back as a callback to continue streaming input.
This is a callback, only sent when curdir is sent to the server. Format:
This is a callback, only sent when download is sent the server.
This is a callback, only sent when a task has successfully completed.
Errors that are associated with improper syntax.
Sent back to client when the function is not recognized.
Sent back to client if there are too many, or not enough arguments.
Errors associated with files and file transfers.
Sent back to client if the directory cannot be found.
Sent back to client if the file cannot be found.
Sent back to client if the directory requested is a file.
Sent back to client if the directory already exists.
Errors that are associated with Cliote creation.
Sent back to client if the category is not recognized.
Sent back to client if the Cliote name is already used.
Errors associated with the login process.
Sent back to client if the Cliote is already logged in.
Sent back to client when the "password" is incorrect.
Other errors.
Sent back to client when the client tries to execute a query before authenticating.
Sent back to client if a general error has occured.