Repository navigation
Releases
Releases · dkoz/HytaleDiscordIntegration
Discord Integrations v1.1.3
Minor version update including some important updates.
Changelog v1.1.3
- Slash command support added. (Application Commands)
- Added new Web UI for player profiles in-game.
/profilewill now bring up a web page in-game with detailed information on their character.
- Added new stats to discord profile output.
- Webhook support separated for both general server updates and server cross chat.
- Allows you to have different channels for event logging.
- Linked to the bot will now assign a role on discord.
- Fixed issue with online player count not properly subtracting players leaving.
- Several other changes have been made.
New Configuration
{
"botToken": "Bot Token Here",
"channelId": "111111111111111",
"chatChannelId": "",
"commandChannelId": "222222222222222",
"adminRoleId": "333333333333333",
"linkedRoleId": "",
"enabled": false,
"chatTagText": "Linked",
"showChatTag": true,
"enableInGameChat": true,
"allowOtherBotMessages": false,
"enableDeathMessages": true,
"useWebhooks": false,
"webhookUrl": "",
"chatWebhookUrl": "",
"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.**"
}
}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.**"
}
}Discord Integrations v1.0.7
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"
}
}
Discord Integrations v1.0.6
Next release is going to be the big one where I am going to start advancing the configuration and introducing new customizable discord roles for in-game tags, etc. This will be a 2.0 release and won't be ready till later this week.
Changelog v1.0.6
- Added new config option
adminRoleId: Lets a user set an admin role on discord for certain commands. - New discord commands
!players: Allows an admin to see what players are currently online. - Fixed an issue where chat tags were interacting with other mods. (Will be adding chat tags based on discord roles soon)
New Configuration
{
"botToken": "Bot Token Here",
"channelId": "111111111111111111",
"commandChannelId": "2222222222222222",
"adminRoleId": 3333333333333",
"enabled": true,
"chatTagText": "Linked",
"showChatTag": 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"
}
}
Discord Integrations v1.0.5
- Fixed an issue where certain mods took priority over
PlayerChatEventcausing in-game to discord to break. - Added new configuration options for customizing linked colors in-game and disabling the tag overall.
- Added total players online to the bot's status.
New Configuration
{
"botToken": "Bot Token Here",
"channelId": "111111111111111111",
"commandChannelId": "2222222222222222",
"enabled": true,
"chatTagText": "Linked",
"showChatTag": 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"
}
}
Discord Integrations v1.0.3
Just some minor bug fixes, introducing in-game tags for linked users, and special colors when they chat in-game.
Discord Integrations v1.0.2
Fixing weird issue with older compiled build.