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

NAME

6       mcrcon - send rcon commands to a Minecraft server
7

SYNOPSIS

9       mcrcon [ options ] [ commands ]
10

DESCRIPTION

12       mcrcon  is  Minecraft  rcon client for remote administration and server
13       maintenance scripts.
14

OPTIONS

16       -H     Server address (default: localhost)
17
18       -P     Port (default: 25575)
19
20       -p     Rcon password
21
22       -t     Terminal mode
23
24       -s     Silent mode
25
26       -c     Disable colors
27
28       -r     Output raw packets
29
30       -w     Wait for specified duration (seconds) between each command (1  -
31              600s)
32
33       -h     Print usage
34
35       -v     Output version information
36
37       Commands with spaces must be enclosed in quotes.
38       mcrcon will start in terminal mode if no commands are given.
39

ENVIRONMENT VARIABLES

41       Server address, port and password can be set with following environment
42       variables:
43
44       MCRCON_HOST
45       MCRCON_PORT
46       MCRCON_PASS
47
48       Note that command-line options will override environment variables.
49

EXAMPLES

51       Make rcon connection in terminal mode using default port
52              mcrcon -H my.minecraft.server -p password
53
54       Send "weather clear" command to server using custom port 1337
55              mcrcon -H  my.minecraft.server  -P  1337  -p  password  "weather
56              clear"
57
58       Send  three  commands ("say", "save-all", "stop") and wait five seconds
59       between the commands.
60              mcrcon -H my.minecraft.server -p password -w 5  "say  Server  is
61              restarting!" save-all stop
62

BUGS

64       Report bugs to tiiffi+mcrcon at gmail or https://github.com/Tiiffi/mcr
65       con/issues/
66
67
68
69Version 0.7.2                    October 2021                        MCRCON(1)
Impressum