Fix tests
HuskChat 2.4 adds the ability to tweak the way server names are formatted in the plugin config and fixes a number of bugs.
- Added the ability to format or replace the displayed server name placeholder in the config, courtesy of @TrueWinter (#85)
- Fixed an issue that meant text formatting was inconsistent between Bungee and Velocity by switching to MineDown-adventure
- Fixed an issue that meant the player's channel wouldn't switch correctly when changing server to one that had a default channel set
- Fixed local/global passthrough only passing through and not dispatching to the correct scope, courtesy of @TrueWinter (#75)
- Fixed a formatting issue with a placeholder in the local spy message, courtesy of @TrueWinter (#74)
- Fixed an issue that meant the relevant libraries/drivers for the profanity filter to work weren't detected properly in some circumstances
- Added Simplified Chinese locales, courtesy of @10935336 (#86)
- Updated the Bulgarian (bg-bg) locales
To update, just drag+drop.
Tweak build script
Change velocity-api version to 3.1.1
Bump annotations from 23.0.0 to 23.1.0 (#89)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Fix tests
Update tests
Bungee: Use ServerSwitchEvent instead of ServerConnectedEvent, close #88
Update tests
Add Simplified Chinese translation (#86)
Note: This is the initial release version available on Modrinth!
HuskChat 2.3 adds support for Minecraft 1.19(.1). HuskChat will continue to make use of system messages for the foreseeable future for dispatching chat messages as proxy server APIs do not support chat reporting. As a result, Minecraft's new Chat Reporting functionality is incompatible with HuskChat.
- Added support for Minecraft 1.19 and Minecraft 1.19.1
- It is no longer possible to send a command to a passthrough channel through a command shortcut.
- For example, if your "local" channel's scope is set to
LOCAL_PASSTHROUGH
with a shortcut command "/local", it is no longer possible to run/local hello!
. You must first switch to the channel (by running/local
or/channel local
) before sending the message. - This only applies to channels with
PASSTHROUGH
,LOCAL_PASSTHROUGH
andGLOBAL_PASSTHROUGH
scopes. - This is because that functionality relied on API provisions that allowed the proxy to "spoof" the chat in order to pass it back to backend servers, which is no longer possible.
- An error message has been added to inform players of this.
- HuskChat will continue to make use of system messages for dispatching chat for the foreseeable future. Thank you for your understanding.
- Added the ability to send messages from chat channel(s) to Discord by sending them via a webhook
- One-way from Minecraft to Discord only, since Discord webhooks don't support sending messages from Discord.
- You can choose between two Discord message display formats, one using an embed and the other not
- A new section of the config has been added to support this.
- You can now use chat filters and replacers on Broadcast messages and additional configuration parameters have been added to support this, courtesy of @TrueWinter (#63)
- Fixed a bug that could occur loading the config file caused by loading chat filters assigned to nonexistant channels, courtesy of @TrueWinter (#59)
- Added locales for Bulgarian (bg-bg), courtesy of Pukejoy_1
- API: Added three cancellable API events courtesy of @TrueWinter. Events are supported on both Bungee and Velocity platforms. Example available here. (#60)
- BroadcastMessageEvent - when a
/broadcast
message is sent - ChatMessageEvent - when a chat message is sent
- PrivateMessageEvent - when a private message is sent
- BroadcastMessageEvent - when a
Please note that since Velocity for Minecraft 1.19.1 has not been released yet, I have not yet tested against Velocity for 1.19.1. It is my expectation that everything should work as anticipated, though.
To update, just drag+drop. You may need to regenerate your config and/or messages file.