From 062156a0061f5ff4bb4171761fadc77baf42fb84 Mon Sep 17 00:00:00 2001 From: Thasan Date: Tue, 13 Jan 2015 08:16:46 +0200 Subject: [PATCH 1/3] Adding Usage section to readme.md --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bc3c7e2..fb36eac 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,26 @@ Add ```-lws2_32``` to compiler command line on Mingw GCC. --- -More info [here](http://forums.bukkit.org/threads/admin-rcon-mcrcon-remote-connection-client-for-minecraft-servers.70910/). \ No newline at end of file +More info [here](http://forums.bukkit.org/threads/admin-rcon-mcrcon-remote-connection-client-for-minecraft-servers.70910/). + +####Usage: +Usage: mcrcon [OPTIONS]... [COMMANDS]... +Sends rcon commands to minecraft server. + +``` +Option: + -h Prints usage. + -s Silent mode. Do not print data received from rcon. + -t Terminal mode. Acts as interactive terminal. + -p Rcon password. Default: "". + -H Host address or ip. + -P Port. Default: 25575. + -c Do not print colors. Disables bukkit color printing. + -r Print everything in raw mode. + Good for debugging and custom handling of the output. +``` +Invidual commands must be separated with spaces. + +Example: + ```mcrcon -c -H 192.168.1.42 -P 9999 -p password cmd1 "cmd2 with spaces"``` + From f5c0ab9fde237b6d657592ae46703b79d16e4874 Mon Sep 17 00:00:00 2001 From: Thasan Date: Tue, 13 Jan 2015 08:24:39 +0200 Subject: [PATCH 2/3] Enable rcon section to README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index fb36eac..b6f272c 100644 --- a/README.md +++ b/README.md @@ -30,3 +30,10 @@ Invidual commands must be separated with spaces. Example: ```mcrcon -c -H 192.168.1.42 -P 9999 -p password cmd1 "cmd2 with spaces"``` +####Enable rcon +Remember enable rcon by changing/adding these lines to server.properties +``` +enable-rcon=true +rcon.password=your_rcon_pasword +rcon.port=9999 +``` From 670e5995543808156ecdc4f3112cdddeefa982b1 Mon Sep 17 00:00:00 2001 From: Thasan Date: Tue, 13 Jan 2015 14:38:13 +0200 Subject: [PATCH 3/3] Fixing indent --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b6f272c..d0b7e7a 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Option: -P Port. Default: 25575. -c Do not print colors. Disables bukkit color printing. -r Print everything in raw mode. - Good for debugging and custom handling of the output. + Good for debugging and custom handling of the output. ``` Invidual commands must be separated with spaces.