From 51c55114afe7f646ca471a54e9e3114d8530ce68 Mon Sep 17 00:00:00 2001 From: destruc7i0n Date: Tue, 12 Jan 2016 14:22:58 -0500 Subject: Update README.md --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 1713c2c..21aed61 100644 --- a/README.md +++ b/README.md @@ -38,16 +38,16 @@ You can also easily Deploy to Heroku or Bluemix. ### Configuration ```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": "", # 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 + "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": "", /* 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 } ``` -- cgit 1.4.1