Advertisement
thefinaldegree

DiscordIntegration Feature Request Example Config

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