diff options
author | destruc7i0n <6181960+destruc7i0n@users.noreply.github.com> | 2022-01-02 19:28:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-02 19:28:04 -0500 |
commit | 037deb3ea5c8688762a50b12302d3fc025cf9b3b (patch) | |
tree | b06cc3de5c05228226003a2ae09d762e79bfa75c /config.example.json | |
parent | cleanup from merge (diff) | |
download | shulker-037deb3ea5c8688762a50b12302d3fc025cf9b3b.tar.gz shulker-037deb3ea5c8688762a50b12302d3fc025cf9b3b.zip |
Webhook updates (#78)
* extracted webhook config, modernized config * updated readme to be more beginner friendly * added config for uuid api url * more readme updates Co-authored-by: destruc7i0n <destruc7i0n@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r-- | config.example.json | 9 |
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, |