mcrcon - Man Page
sends rcon commands to a Minecraft server
Synopsis
mcrcon [ options ] [ commands ]
Description
mcrcon is Minecraft rcon client / terminal with bukkit coloring support. It is well suited for remote administration and server maintenance scripts.
Options
- -h
Print usage
- -H
Server address
- -P
Port (default is 25575)
- -p
Rcon password
- -t
Interactive terminal mode
- -s
Silent mode (do not print received packets)
- -c
Disable colors
- -r
Output raw packets (for debugging and custom handling)
- -v
Output version information
Commands with arguments must be enclosed in quotes.
Environmental Variables
Server address, port and password can be set using following environment variables:
MCRCON_HOST
MCRCON_PORT
MCRCON_PASS
Note that command-line options will override environment variables.
Examples
Make rcon connection in terminal mode using default port
Send "weather clear" command to server using custom port 1337
Send three commands to server (say, save-all and stop)
Bugs
Bugs can be reported to tiiffi_at_gmail_dot_com or https://github.com/Tiiffi/mcrcon/issues/