summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorHeidar Bernhardsson <heidarbn@gmail.com>2017-02-06 22:12:18 +0800
committerHeidar Bernhardsson <heidarbn@gmail.com>2017-02-06 22:12:18 +0800
commitbe3465744f6ad63dbdfaeecbf906daba4e731958 (patch)
tree981d8d60abe2493e7df167f59457fdbe17397173
parentupdate discord.js and fix channel retreival (diff)
downloadshulker-be3465744f6ad63dbdfaeecbf906daba4e731958.tar.gz
shulker-be3465744f6ad63dbdfaeecbf906daba4e731958.zip
add some extra useful info
-rw-r--r--README.md23
1 files changed, 11 insertions, 12 deletions
diff --git a/README.md b/README.md
index 20be8bb..30c4fbb 100644
--- a/README.md
+++ b/README.md
@@ -18,7 +18,7 @@ rcon.password=<your password>
 rcon.port=<1-65535>
 ```
 
-Run the following on your server hosting (in a screen, and make sure to replace your URL and your log directory location):
+Run the following on your server hosting (in a screen/tmux session or background process, and make sure to replace your URL and your log directory location):
 
 ``` sh
 tail -F /PATH_TO_MINECRAFT_INSTALL/logs/latest.log | grep --line-buffered ": <" | while read x ; do echo -ne $x | curl -X POST -d @- https://YOUR_URL/minecraft/hook ; done
@@ -39,16 +39,15 @@ You can also easily Deploy to Heroku or Bluemix.
 ```js
 {
     "PORT": 8000, /* Port you want to run the webserver for the hook on */
-    "DISCORD_EMAIL": "example@example.com", /* discord email */
-    "DISCORD_PASSWORD": "password123", /* discord password */
-    "DISCORD_CHANNEL": "general", /* channel for discord bot */
-    "MINECRAFT_SERVER_RCON_IP": "example.com", /* minecraft server ip (make sure you have enabled rcon) */
-    "MINECRAFT_SERVER_RCON_PORT": <1-65535>, /* minecraft server rcon port */
-    "MINECRAFT_SERVER_RCON_PASSWORD": "<your password>", /* minecraft server rcon password */
-    "WEBHOOK": "/minecraft/hook", /* web hook, where to send the log to */
-    "REGEX_MATCH_CHAT_MC": "\\[Server thread/INFO\\]: <(.*)> (.*)", /* what to match for chat (best to leave as default) */
-    "REGEX_IGNORED_CHAT": "packets too frequently", /* what to ignore, you can put any regex for swear words for example and it will  be ignored */
-    "DEBUG": false /* dev debugging */
+    "DISCORD_TOKEN": "<12345>", /* Discord bot token. [Click here](https://discordapp.com/developers/applications/me) to create you application and add a bot to it. */
+    "DISCORD_CHANNEL_ID": "<12345>", /* Discord channel ID for for the discord bot. Enable developer mode in your Discord client, then right click channel and select "Copy ID". */
+    "MINECRAFT_SERVER_RCON_IP": "example.com", /* Minecraft server IP (make sure you have enabled rcon) */
+    "MINECRAFT_SERVER_RCON_PORT": <1-65535>, /* Minecraft server rcon port */
+    "MINECRAFT_SERVER_RCON_PASSWORD": "<your password>", /* Minecraft server rcon password */
+    "WEBHOOK": "/minecraft/hook", /* Web hook, where to send the log to */
+    "REGEX_MATCH_CHAT_MC": "\\[Server thread/INFO\\]: <(.*)> (.*)", /* What to match for chat (best to leave as default) */
+    "REGEX_IGNORED_CHAT": "packets too frequently", /* What to ignore, you can put any regex for swear words for example and it will  be ignored */
+    "DEBUG": false /* Dev debugging */
 }
 ```
 
@@ -69,7 +68,7 @@ If you have any suggestions or feature requests, feel free to add an issue and I
 ## Thanks
 * [hydrabolt](https://github.com/hydrabolt) for discord.js
 * [qrush](https://github.com/qrush) for the idea of this ([wither](https://github.com/qrush/wither))
-* [SecretOnline](https://github.com/secretonline) for Rcon reconnecting and for making it only send messages in specified channel 
+* [SecretOnline](https://github.com/secretonline) for Rcon reconnecting and for making it only send messages in specified channel
 
 ## License