Skip to content

Discord Integrations v1.0.7

Choose a tag to compare

@dkoz dkoz released this 18 Jan 19:24
· 11 commits to main since this release

Minor version released that allows controlling the configs in-game and toggle in-game to discord on and off.

Changelog v1.0.7

  • Added option to disable chat to discord with enableInGameChat.
  • Added new in-game command /discord. This allows you to change settings in-game without restarting the server.
  • Fixed various issues in the code.

New Configuration

{
  "botToken": "Bot Token Here",
  "channelId": "111111111111111111",
  "commandChannelId": "2222222222222222",
  "adminRoleId": 3333333333333",
  "enabled": true,
  "chatTagText": "Linked",
  "showChatTag": true,
  "enableInGameChat": true,
  "chatTagColors": {
    "bracketColor": "#808080",
    "tagColor": "#5865F2",
    "usernameColor": "#00FFFF",
    "messageColor": "#FFFFFF"
  },
  "messageFormat": {
    "serverToDiscord": "**{player}**: {message}",
    "discordToServer": "[Discord] <{user}> {message}",
    "joinMessage": "**{player}** joined the server",
    "leaveMessage": "**{player}** left the server"
  }
}