summary refs log tree commit diff homepage
path: root/src/MinecraftHandler.ts
diff options
context:
space:
mode:
authordestruc7i0n <dscdsouza@outlook.com>2020-02-04 10:21:17 -0500
committerdestruc7i0n <dscdsouza@outlook.com>2020-02-04 10:21:17 -0500
commit85e8c38f51d14a669cc5d7bb24c210d9d72654da (patch)
treea948c71ba76e8326216aaa24fa336c170fd84c22 /src/MinecraftHandler.ts
parentCode cleanup (diff)
downloadshulker-85e8c38f51d14a669cc5d7bb24c210d9d72654da.tar.gz
shulker-85e8c38f51d14a669cc5d7bb24c210d9d72654da.zip
Docs updates
Diffstat (limited to '')
-rw-r--r--src/MinecraftHandler.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/MinecraftHandler.ts b/src/MinecraftHandler.ts
index 79ad81b..aa4f2f7 100644
--- a/src/MinecraftHandler.ts
+++ b/src/MinecraftHandler.ts
@@ -149,7 +149,7 @@ class MinecraftHandler {
         console.log('[INFO] Please enter the following command on your server running the Minecraft server.')
         console.log('       Replace "PATH_TO_MINECRAFT_SERVER_INSTALL" with the path to your Minecraft server install')
         console.log('       and "YOUR_URL" with the URL/IP of the server running Shulker!')
-        console.log(`  \`tail -F /PATH_TO_MINECRAFT_SERVER_INSTALL/logs/latest.log | grep --line-buffered "${this.config.REGEX_SERVER_PREFIX}" | while read x ; do echo -ne $x | curl -X POST -d @- http://YOUR_URL:${port}${this.config.WEBHOOK} ; done\``)
+        console.log(`  \`tail -F /PATH_TO_MINECRAFT_SERVER_INSTALL/logs/latest.log | grep --line-buffered ": <" | while read x ; do echo -ne $x | curl -X POST -d @- http://YOUR_URL:${port}${this.config.WEBHOOK} ; done\``)
       }
     })
   }