summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authordestruc7i0n <dscdsouza@outlook.com>2020-02-05 21:23:00 -0500
committerdestruc7i0n <dscdsouza@outlook.com>2020-02-05 21:23:00 -0500
commitf99e623f643c0a55dfa27a792fe451ccba64d7ec (patch)
treed5376e2dcfdd676dfe6a4653e9f0433a5987ac56
parentMore config handling (diff)
downloadshulker-f99e623f643c0a55dfa27a792fe451ccba64d7ec.tar.gz
shulker-f99e623f643c0a55dfa27a792fe451ccba64d7ec.zip
Some more cleanup
-rw-r--r--LICENSE2
-rw-r--r--README.md14
-rw-r--r--config.json1
-rw-r--r--src/Config.ts1
4 files changed, 8 insertions, 10 deletions
diff --git a/LICENSE b/LICENSE
index 3fde45f..cf96254 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2016, destruc7i0n
+Copyright (c) 2020, destruc7i0n
 
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
diff --git a/README.md b/README.md
index 0601c79..3cd1a99 100644
--- a/README.md
+++ b/README.md
@@ -77,13 +77,13 @@ You can also easily Deploy to Heroku and the like, just be sure to edit `YOUR_UR
     "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 */
 
-    "SERVER_NAME" : "Shulker", /* The username used when displaying any server information in chat, e.g., Server - Shulker : Server message here*/
+    "SERVER_NAME": "Shulker", /* The username used when displaying any server information in chat, e.g., Server - Shulker : Server message here*/
     "SERVER_IMAGE": "", /* Image for the server when sending such messages (if enabled below). Only for WebHooks. */
-    "SHOW_PLAYER_CONN_STAT" : false, /* Shows player connection status in chat, e.g., Server - Shulker : TheMachine joined the game */
-    "SHOW_PLAYER_ADVANCEMENT" : false, /* Shows when players earn achievements in chat, e.g., Server - Shulker : TheMachine has earned the achievement [MEME - Machine] */
-    "SHOW_PLAYER_DEATH" : false, /* Shows when players die in chat, e.g., Server - Shulker : TheMachine was blown up by creeper */
-    "SHOW_PLAYER_ME" : false, /* Shows when players use the /me command, e.g. **destruc7i0n** says hello */
-    "DEATH_KEY_WORDS" : ["shot", "fell", "etc".] /* Key words to look for when trying to identify a death message. (As of 3/11/2019 this list is up to date) */
+    "SHOW_PLAYER_CONN_STAT": false, /* Shows player connection status in chat, e.g., Server - Shulker : TheMachine joined the game */
+    "SHOW_PLAYER_ADVANCEMENT": false, /* Shows when players earn advancements in chat, e.g., Server - Shulker : TheMachine has made the advacement [MEME - Machine] */
+    "SHOW_PLAYER_DEATH": false, /* Shows when players die in chat, e.g., Server - Shulker : TheMachine was blown up by creeper */
+    "SHOW_PLAYER_ME": false, /* Shows when players use the /me command, e.g. **destruc7i0n** says hello */
+    "DEATH_KEY_WORDS": ["shot", "fell", "etc".] /* Key words to look for when trying to identify a death message. (As of 3/11/2019 this list is up to date) */
 }
 ```
 
@@ -93,7 +93,7 @@ You can also easily Deploy to Heroku and the like, just be sure to edit `YOUR_UR
   
 * Why can't I send commands even if I have the option enabled?
   - Make sure that you have a role on the server which is put in the array `SLASH_COMMAND_ROLES` case-sensitive.
-    - e.g. `"SLASH_COMMAND_ROLES": ["Admin"],`
+    - e.g. `"SLASH_COMMAND_ROLES": ["Admin"]`
 
 ## Upcoming
 None
diff --git a/config.json b/config.json
index 60ab378..2179402 100644
--- a/config.json
+++ b/config.json
@@ -26,7 +26,6 @@
     "REGEX_SERVER_PREFIX": "\\[Server thread/INFO\\]:",
     "REGEX_MATCH_CHAT_MC": "^<([^>]*)> (.*)",
     "REGEX_IGNORED_CHAT": "packets too frequently",
-    "RCON_RECONNECT_DELAY": 10,
     "DEBUG": false,
 
     "SERVER_NAME": "Shulker",
diff --git a/src/Config.ts b/src/Config.ts
index 5688f2e..77fefd2 100644
--- a/src/Config.ts
+++ b/src/Config.ts
@@ -29,7 +29,6 @@ export interface Config {
   REGEX_SERVER_PREFIX: string
   REGEX_MATCH_CHAT_MC: string
   REGEX_IGNORED_CHAT: string
-  RCON_RECONNECT_DELAY: number
   DEBUG: boolean
 
   SERVER_NAME: string