1MCRCON(1)                   General Commands Manual                  MCRCON(1)
2
3
4

NAME

6       mcrcon - sends rcon commands to a Minecraft server
7

SYNOPSIS

9       mcrcon [ options ] [ commands ]
10

DESCRIPTION

12       mcrcon  is  Minecraft  rcon client / terminal with bukkit coloring sup‐
13       port.  It is well suited for remote administration and  server  mainte‐
14       nance scripts.
15

OPTIONS

17       -h     Print usage
18
19       -H     Server address
20
21       -P     Port (default is 25575)
22
23       -p     Rcon password
24
25       -t     Interactive terminal mode
26
27       -s     Silent mode (do not print received packets)
28
29       -c     Disable colors
30
31       -r     Output raw packets (for debugging and custom handling)
32
33       -v     Output version information
34
35       Commands with arguments must be enclosed in quotes.
36

ENVIRONMENTAL VARIABLES

38       Server  address,  port and password can be set using following environ‐
39       ment variables:
40
41       MCRCON_HOST
42       MCRCON_PORT
43       MCRCON_PASS
44
45       Note that command-line options will override environment variables.
46

EXAMPLES

48       Make rcon connection in terminal mode using default port
49              mcrcon -H my.minecraft.server -p password
50
51       Send "weather clear" command to server using custom port 1337
52              mcrcon -H  my.minecraft.server  -P  1337  -p  password  "weather
53              clear"
54
55       Send three commands to server (say, save-all and stop)
56              mcrcon   -H  my.minecraft.server  -p  password  "say  Server  is
57              restarting!" save-all stop
58

BUGS

60       Bugs    can    be    reported     to     tiiffi_at_gmail_dot_com     or
61       https://github.com/Tiiffi/mcrcon/issues/
62
63
64
65Version 0.6.0                    December 2016                       MCRCON(1)
Impressum