module RCON
Overview
RCON (Remote CONsole) protocol implemented in Crystal.
This Protocol is used to access a remote console on game servers. The implementation has been tested with Minecraft server, but should work with Source-compatible RCON servers as well.
See Client
for usage instructions.
Defined in:
client.crrconcr.cr
Constant Summary
-
COLORS =
["\e[0;30m", "\e[0;34m", "\e[0;32m", "\e[0;36m", "\e[0;31m", "\e[0;35m", "\e[0;33m", "\e[0;37m", "\e[0;1;30m", "\e[0;1;34m", "\e[0;1;32m", "\e[0:1;36m", "\e[0;1;31m", "\e[0;1;35m", "\e[0;1;33m", "\e[0;1;37m", "\e[4m"]
Class Method Summary
-
.colorize(io, string : String)
Translate Minecraft color codes to ANSI color codes.