Repository navigation
Discord Integrations v1.1.0
Major version release that includes improvements to stats tracking, webhook support, and more broadcast options.
Changelog v1.1.0
- Implemented proper bot startup and shutdown when restarting server.
- Bot will also notify when server is online or shutting down.
- Introducing webhook support with player avatar icons.
- Cross chat now shows players avatar when using webhooks.
- Server events avatar and webhook name can be customized.
- Added support for disabling the ignoring of other bot messages.
- Linking an account now informs the person on discord through DM.
- Deaths will now broadcast to the discord channel.
New Configuration
{
"botToken": "Bot Token Here",
"channelId": "111111111111111",
"commandChannelId": "222222222222222",
"adminRoleId": "333333333333333",
"linkedRoleId": "",
"enabled": false,
"chatTagText": "Linked",
"showChatTag": true,
"enableInGameChat": true,
"allowOtherBotMessages": false,
"enableDeathMessages": true,
"useWebhooks": false,
"webhookUrl": "",
"serverName": "Server",
"serverAvatarUrl": "",
"defaultPlayerAvatarUrl": "",
"avatarCacheMinutes": 30,
"chatTagColors": {
"bracketColor": "#808080",
"tagColor": "#5865F2",
"usernameColor": "#00FFFF",
"messageColor": "#FFFFFF"
},
"messageFormat": {
"serverToDiscord": "**{player}**: {message}",
"discordToServer": "[Discord] \u003c{user}\u003e {message}",
"joinMessage": "**{player}** joined the server",
"leaveMessage": "**{player}** left the server",
"deathMessage": "**{player}** died to {cause}",
"serverStartMessage": "**Server is now online!**",
"serverStopMessage": "**Server is shutting down.**"
}
}