summary refs log tree commit diff homepage
path: root/README.md
diff options
context:
space:
mode:
authorArcensoth <arcensoth@gmail.com>2018-02-23 18:05:28 -0500
committerArcensoth <arcensoth@gmail.com>2018-02-23 18:05:28 -0500
commitd76da4a3d2542f42ff0aa1ef761558fa0b93a350 (patch)
tree7b8cee8403ce5d8c0aea68149d46ee58efaa2c0d /README.md
parentRevert example tellraw format to mimic the original (diff)
downloadshulker-d76da4a3d2542f42ff0aa1ef761558fa0b93a350.tar.gz
shulker-d76da4a3d2542f42ff0aa1ef761558fa0b93a350.zip
Allow configurable discord format
Diffstat (limited to '')
-rw-r--r--README.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/README.md b/README.md
index f56d6ca..e655bf1 100644
--- a/README.md
+++ b/README.md
@@ -38,10 +38,11 @@ You can also easily Deploy to Heroku or Bluemix, just be sure to edit `YOUR_URL`
     "PORT": 8000, /* Port you want to run the webserver for the hook on */
     "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". */
+    "DISCORD_MESSAGE_TEMPLATE": "`%username%`:%message%", /* Message template to display in Discord */
     "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 */
-    "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]", /* Tellraw command format to display in-game */
+    "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]", /* Tellraw template to display in Minecraft */
     "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 */