summary refs log tree commit diff homepage
path: root/config.example.json
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--config.example.json9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.example.json b/config.example.json
index 4225ff4..3b49203 100644
--- a/config.example.json
+++ b/config.example.json
@@ -1,5 +1,4 @@
 {
-  "PORT": 8000,
   "DEBUG": false,
 
   "USE_WEBHOOKS": true,
@@ -7,13 +6,12 @@
   "IGNORE_WEBHOOKS": true,
   "DISCORD_TOKEN": "TOKEN_HERE",
   "DISCORD_CHANNEL_ID": "",
-  "DISCORD_CHANNEL_NAME": "#bot",
   "DISCORD_MESSAGE_TEMPLATE": "`%username%`: %message%",
 
   "MINECRAFT_SERVER_RCON_IP": "127.0.0.1",
   "MINECRAFT_SERVER_RCON_PORT": 25575,
   "MINECRAFT_SERVER_RCON_PASSWORD": "password",
-  "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<%username%> %message%\"}]",
+  "MINECRAFT_TELLRAW_TEMPLATE": "[{\"color\": \"white\", \"text\": \"<@%username%> %message%\"}]",
   "MINECRAFT_TELLRAW_DOESNT_EXIST": false,
   "MINECRAFT_TELLRAW_DOESNT_EXIST_SAY_TEMPLATE": "<%username%> %message%",
 
@@ -21,12 +19,13 @@
   "LOCAL_FILE_PATH": "/usr/home/minecraft_server/logs/latest.log",
   "FS_WATCH_FILE": false,
 
+  "PORT": 8000,
   "SHOW_INIT_MESSAGE": true,
 
   "ALLOW_USER_MENTIONS": false,
   "ALLOW_HERE_EVERYONE_MENTIONS": false,
   "ALLOW_SLASH_COMMANDS": false,
-  "SLASH_COMMAND_ROLES": [],
+  "SLASH_COMMAND_ROLES_IDS": [],
 
   "WEBHOOK": "/minecraft/hook",
   "REGEX_SERVER_PREFIX": "\\[Server thread/INFO\\]:",
@@ -37,7 +36,9 @@
   "SERVER_NAME": "Shulker",
   "SERVER_IMAGE": "",
   "HEAD_IMAGE_URL": "https://mc-heads.net/avatar/%uuid%/256",
+  "UUID_API_URL": "https://api.mojang.com/users/profiles/minecraft/%username%",
   "DEFAULT_PLAYER_HEAD": "c06f89064c8a49119c29ea1dbd1aab82",
+
   "SHOW_SERVER_STATUS": false,
   "SHOW_PLAYER_CONN_STAT": false,
   "SHOW_PLAYER_ADVANCEMENT": false,