summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorArcensoth <arcensoth@gmail.com>2018-02-23 18:01:35 -0500
committerArcensoth <arcensoth@gmail.com>2018-02-23 18:01:35 -0500
commit1ca7e040e8968e30d2be5d420abd7f3a76c08989 (patch)
treeb269ba33535f1a447a19e94d6e224bb18984e80f
parentUpdate readme with new tellraw config option (diff)
downloadshulker-1ca7e040e8968e30d2be5d420abd7f3a76c08989.tar.gz
shulker-1ca7e040e8968e30d2be5d420abd7f3a76c08989.zip
Revert example tellraw format to mimic the original
-rw-r--r--README.md2
-rw-r--r--config.json2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 5828a3d..f56d6ca 100644
--- a/README.md
+++ b/README.md
@@ -41,7 +41,7 @@ You can also easily Deploy to Heroku or Bluemix, just be sure to edit `YOUR_URL`
     "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\": \"gray\", \"text\": \"[%username%#%discriminator%] \"},{\"color\": \"white\", \"text\": \"%message%\"}]", /* Tellraw command format to display in-game */
+    "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]", /* Tellraw command format to display in-game */
     "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 */
diff --git a/config.json b/config.json
index 0713beb..8d5a709 100644
--- a/config.json
+++ b/config.json
@@ -5,7 +5,7 @@
     "MINECRAFT_SERVER_RCON_IP": "example.com",
     "MINECRAFT_SERVER_RCON_PORT": 25575,
     "MINECRAFT_SERVER_RCON_PASSWORD": "password",
-    "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"gray\", \"text\": \"[%username%#%discriminator%] \"},{\"color\": \"white\", \"text\": \"%message%\"}]",
+    "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]",
     "WEBHOOK": "/minecraft/hook",
     "REGEX_MATCH_CHAT_MC": "\\[Server thread/INFO\\]: <([^>]*)> (.*)",
     "REGEX_IGNORED_CHAT": "packets too frequently",