Skip to content

Instantly share code, notes, and snippets.

@zacps
Last active April 29, 2018 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zacps/78c8a3e68e686ac025c5386446de2f1c to your computer and use it in GitHub Desktop.
Save zacps/78c8a3e68e686ac025c5386446de2f1c to your computer and use it in GitHub Desktop.
{
"discord": {
"token": "$TOKEN$",
"allowLinking": true,
"ignoresBots": true,
"ignoresUsers": [],
"channels": {
"generic": {
"commandPrefix": "!",
"messages": {
"chatMessages": "[{USER}] {MESSAGE}"
},
"canExecuteCommands": false,
"relayChat": true,
"stripMinecraftCodes": true,
"allowDMCommands": false
},
"channels": {
"$CHANNELID$": {
"relayChat": true,
"webhook": "https://discordapp.com/api/webhooks/$/$"
}
}
}
},
"minecraft": {
"channels": {
"generic": {
"chatPrefix": "",
"discordChannel": [$CHANNELID$],
"relaySayCommand": true,
"relayMeCommand": true,
"canMentionUsers": true,
"canMentionRoles": true,
"relayAchievements": true,
"relayChat": true,
"relayCommands": true,
"relayPlayerJoin": true,
"relayPlayerLeave": true,
"relayPlayerDeath": true,
"ignoreFakePlayerChat": true,
"canMentionEveryone": false,
"canMentionHere": false,
"relayServerStart": true,
"relayServerStop": true,
"relayServerCrash": true,
"messageIgnoreRegex": []
},
{
"messages": { // Configure the messages (Normal is non-webhook messages, webhook is webhook messages)
"chatMessage": { // Chat messages
"normal": "**[{USER}]** {MESSAGE}",
"webhook": "{MESSAGE}"
},
"command": { // Commands
"normal": "**[{USER}]** executed **{COMMAND} {ARGUMENTS}**",
"webhook": "*executed **{COMMAND} {ARGUMENTS}***"
},
"playerJoin": { // Player joins
"normal": "**{USER}** just joined the server!",
"webhook": "*Joined the server!*"
},
"playerLeave": { // Player leaves
"normal": "**{USER}** just left the server!",
"webhook": "*Left the server!*"
},
"playerDeath": { // Player dies
"normal": "**{USER}** just died due to {REASON}!",
"webhook": "*{REASON}*"
},
"achievement": { // Player earned achievement
"normal": "**{USER}** just gained the achievement **{ACHIEVEMENT}**!\n*{DESCRIPTION}*",
"webhook": "*Gained the achievement **{ACHIEVEMENT}**!\n{DESCRIPTION}*"
},
"serverStart": "Server started!", // Server starts
"serverStop": "Server stopped!", // Server stops
"serverCrash": "Server crash detected!" // Server crash detected
}
},
"dimensions": {
"generic": {
"discordChannel": [$CHANNELID$]
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment