Advertisement
Norway174

Discord Integration Config

Sep 9th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 3.20 KB | None | 0 0
  1. {
  2.   "discord": {
  3.     "token": "<secret>",
  4.     "ignoresBots": false,
  5.     "allowLinking": true,
  6.     "ignoresUsers": [],
  7.     "channels": {
  8.         "generic": {
  9.             "commandPrefix": "!",
  10.             "canExecuteCommands": false,
  11.             "stripMinecraftCodes": true,
  12.             "allowDMCommands": false,
  13.             "relayChat": true,
  14.             "messages": {
  15.               "chatMessage": "[§3Discord§r] <§6{USER}§r> {MESSAGE}"
  16.             },
  17.             "commands": []
  18.         },
  19.         "channels": {
  20.             "<channel ID: One>": {
  21.                 "relayChat": true,
  22.                 "webhook": "<url>"
  23.             },
  24.             "<channel ID: Two>": {
  25.                 "relayChat": false,
  26.                 "canExecuteCommands": true,
  27.                 "commands": [
  28.                     {
  29.                         "name": "whitelist",
  30.                         "command": "whitelist {ARGS}",
  31.                         "enabled": true,
  32.                         "permissions": [
  33.                             "role:Bots",
  34.                             "role:Admin"
  35.                         ]
  36.                     }
  37.                 ]
  38.             }
  39.         }
  40.     }
  41.   },
  42.   "minecraft": {
  43.     "dimensions": {
  44.       "generic": {
  45.         "ignoreFakePlayerChat": true,
  46.         "relaySayCommand": true,
  47.         "relayMeCommand": true,
  48.         "canMentionEveryone": false,
  49.         "canMentionHere": false,
  50.         "messageIgnoreRegex": ["World saved."],
  51.         "relayServerStart": true,
  52.         "relayServerStop": true,
  53.         "relayServerCrash": true,
  54.         "chatPrefix": "",
  55.         "canMentionUsers": true,
  56.         "canMentionRoles": true,
  57.         "discordChannel": ["<channel ID: One>"],
  58.         "relayAchievements": true,
  59.         "relayChat": true,
  60.         "relayCommands": false,
  61.         "relayPlayerJoin": true,
  62.         "relayPlayerLeave": true,
  63.         "relayPlayerDeath": true,
  64.         "messages": {
  65.           "chatMessage": {
  66.             "normal": "**[{USER}]** {MESSAGE}",
  67.             "webhook": "{MESSAGE}"
  68.           },
  69.           "command": {
  70.             "normal": "**[{USER}]** executed **{COMMAND} {ARGUMENTS}**",
  71.             "webhook": "*executed **{COMMAND} {ARGUMENTS}***"
  72.           },
  73.           "playerJoin": {
  74.             "normal": "**{USER}** just joined the server!",
  75.             "webhook": "*Joined the server!*"
  76.           },
  77.           "playerLeave": {
  78.             "normal": "**{USER}** just left the server!",
  79.             "webhook": "*Left the server!*"
  80.           },
  81.           "playerDeath": {
  82.             "normal": "**{USER}** just died due to {REASON}!",
  83.             "webhook": "*{REASON}*"
  84.           },
  85.           "achievement": {
  86.             "normal": "**{USER}** just gained the achievement **{ACHIEVEMENT}**!\n*{DESCRIPTION}*",
  87.             "webhook": "*Gained the achievement **{ACHIEVEMENT}**!\n{DESCRIPTION}*"
  88.           },
  89.           "serverStart": "Server started!",
  90.           "serverStop": "Server stopped!",
  91.           "serverCrash": "Server crash detected!"
  92.         }
  93.       },
  94.       "dimensions": {}
  95.     },
  96.     "integrations": {
  97.       "dynmapEnabled": false
  98.     }
  99.   },
  100.   "imc": {
  101.     "enabled": true,
  102.     "mode": "blacklist",
  103.     "list": []
  104.   }
  105. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement