Releases: DiscordSRV/DiscordSRV
Releases · DiscordSRV/DiscordSRV
Build 1.29.0
Additions
- Chatty v3 support (Thanks, sub-kek)
- Discord -> Minecraft message format options now support a
%userid%
placeholder (Thanks, fres621)
Fixes
- Edge case with custom hidden advancements throwing an error
- [Paper and forks only] output from chat channel console command commands not being captured when the plugin implementing the command uses Adventure (Thanks, sub-kek)
- Discord messages from hooked chat plugins that were broadcasted to console no longer show an unparsed
%chatcolor%
placeholder - Alerts used to not work for events that shared their HandlerList (Thanks, tangjin0418)
- "Message blocked by harmful links filter" error spam when a user sends a harmful link through minecraft chat that is blocked by discord
- Fix issues with 1.21.3+ sound changes (#1773)
Changes
- Web proxy options now apply to websocket proxy settings
- Changed the default ProxyHost value to not include a scheme in the url. This option only works when using just the domain name (
example.com
) or just an ip address (127.0.0.1
)
We recently created a form for appealing a ban from our Discord support server. If you’ve been banned (and especially if your account was hacked) you can request an unban here: https://discordsrv.com/discord/ban-appeal
Build 1.28.0
Additions
- Web proxy support (Thanks, ItzMiracleOwO)
- Norwegian translation (Thanks, RemixedX)
- %discordsrv_user_boost_status% PlaceholderAPI placeholder for user boost status (Thanks, thewilloftheshadow)
- PAPI placeholders for filtered top Role
- Support for competing and custom bot statuses (Thanks, PadowYT2)
Fixes
- Discord regexes not being applied to attachment URLs
- NullPointerException when getting console channel ID
- Advancements not being displayed in chat with their proper names
- Formatting issue with reply messages
- Linked accounts not being migrated to the new format on first restart
- Advancement messages not sending on some 1.17.x-1.18.x paper versions
- MySQL driver deprecation error on Paper
- Potential data loss when using file for linked accounts
- "Unknown Message" errors after deleting a message in the console channel
- Grammatical error in French translation (Thanks, PtitLegume)
- Errors in console on join, leave, death and advancement on 1.20.6 Minecraft
- Issues with hover and click components
- Fixed category option blank check in voice module (Thanks, Bermiin)
- Fixed false error message for AvatarUrls using
{texture}
placeholder on offline servers - I/O error that would appear when shutting down the server
- New linked accounts file format not saving correctly
- Errors when message in link channel is deleted
- Linked accounts not being properly removed if player's UUID started with a digit
- Corrected a few Japanese translations (Thanks, renorari)
Changes
- All legacy color codes are now stripped from PlaceholderAPI placeholder values
- Improved Chinese translation (Thanks, SamLam140330)
- Switched default avatar image provider to crafthead.net due to issues with Crafatar
- AvatarUrl values using Crafatar will be automatically reset to defaults during config migration as Crafatar doesn't allow usage with Discord anymore
- Improved French translation (Thanks, PtitLegume)
Removals
- Comments with usernames in account links file
- Removed
DebugLevel
option &/discord debug
in favor of newer/discord debugger
command
Developers
- Stopped shading in old JetBrains annotations
- Lombok has been removed from all API classes
Build 1.27.0
Developers: the AccountLinkManager
class was converted to an interface from a class. Plugins will need to be recompiled as Java will complain about the change when trying to access DiscordSRV's AccountLinkManager
instance.
Additions
- Switched to "append only" file for storing linked accounts
- Folia support (Thanks, kugge)
- nChat support (Thanks, nickuc)
- Danish translation (Thanks, Tauses)
- Ukrainian translation (Thanks, FenixInc330)
Fixes
- Global display names not showing up in Discord -> Minecraft chat
- Experiment_WebhookChatMessageDelivery not being processed by GameChatMessagePostProcessEvent (Thanks, Gabo6480)
- Linked discord role config option not working with role IDs (Thanks, burturt)
- Advancements with "announce-to-chat: false" showing up in chat
- DiscordSRV picking up changes in events after DiscordSRV's listener is called
- Linked accounts not always being saved at shutdown
- Now parsing the discriminator as a string, not a number
- Console stripping
- Sanitizing ANSI codes from Discord messages
- Ban sync overwriting ban messages
- Backslashes are now escaped in Discord markdown to prevent bypassing
- The ability to bypass colour code filtering when you don't have a role in DiscordChatChannelRolesAllowedToUseColorCodesInChat
- Texture string extraction
- Hidden advancements being shown on newer Minecraft versions
- Click events not working in components via Adventure version upgrade
- Whitespace in configs
- All messages in the chat channel being processed as commands if DiscordChatChannelConsoleCommandPrefix was empty
Changes
- Changed some words in the Polish translation (Thanks, Chubercik)
- Updated Japanese config.yml translation (Thanks, Takeno-hito and siyukatu)
- Bots are now blocked in the console channel by default
- Make the JDBC port number optional (Thanks, PeyaPeyaPeyang)
Removals
- JSON storage for linked accounts
Developers
- Converted
AccountLinkManager
into an interface to alleviate confusing naming conflict withAbstractAccountLinkManager
- Fixed not being able to use JDA with jar from the repository
- Changed quit listener priority from LOWEST to LOW
- Plugin integrations can now register global slash commands through DiscordSRV's API
Build 1.26.2
Fixes
- Advancements for unlocking recipes causing an advancement message in Discord on 1.19.4
- Advancements which aren't marked as sending to chat causing an advancement message in Discord on 1.19.4
- System.out debug log message when using chat channel console executor
- Encoding of config files (caused some languages files to be garbled)
- Default player command response regex filter
- Fix DiscordConsoleChannelLevels being broken with some locales
- Fix using "link" channel causing "you must be linked" message
Changes
- Bots are now ignored in the account linking channel
Developers
- Depending on DiscordSRV no longer requires the s01.oss.sonatype.org repository
Build 1.26.1
Additions
- Add the SuperVanish fake join/leave messages back after being removed accidentally (Thanks, thewilloftheshadow)
- Allow voice network channels to be visible
Fixes
- Paper crashing when DiscordSRV is incorrectly configured (due to the "Paper Plugins" update)
- Concurrency issue with getting the total player count
- Hide potential JDBC warning on startup
- Attachment messages not having PlaceholderAPI placeholders replaced (Thanks, sudura)
- Config migration when ConfigVersion is the default placeholder
- ChannelUpdater only applying the shutdown format to text channels
- Corrected softdepends
- Only ackCheck slash commands if an API provider handled it
Changes
- Slightly tweaked slash command logging (Thanks, LOOHP)
Removals
- Plugin upload feature (due to numerous issues)
- Voice activation permission setting (can be specified on the voice category's permissions instead)
Developers
- Updated JDA to JDA 4.4.0_352.fix-3
Build 1.26.0
A special thank you to everyone who contributed to this update, names are featured below
Additions
- Account linking via text channels (Thanks, Kamesuta)
- DiscordChatChannelBlockWebhooks config option to allow forwarding webhook message into Minecraft (Thanks, ANutley)
- Show stickers in minecraft chat the same way attachments are shown
- Stats channels (Thanks, Dinty1)
- Mention placeholder to link message (Thanks, Kamesuta)
Fixes
- Webhook creation failing with USERNAME_INVALID_CONTAINS, usernames with Discord not having their messages forwarded to Discord
- Don't log InterruptedIOExceptions during shutdown
- Required link module "in any guild" check only checking the main guild (Thanks, ANutley)
- Memory leak when the console channel isn't configured
- Removed the hidden respect chat plugins option from the Chinese configuration (Thanks, BoredManPlays)
- Error when a linked user joins a server different than the one that contains the Linked role
- NPE in the help command when attempting to look up descriptions for commands that don't exist
- ERROR IN Protocol1_19To1_18_2 IN REMAP OF CHAT_MESSAGE (0x0F) with ViaVersion
- Concurrency issue in console appender
- Linked command now prioritises Discord tag over player name
Changes
- Bumped Adventure/MiniMessage versions (Thanks, Draycia)
- The LunarClient legacifying feature has been removed as the underlying issue was fixed
- Set a limit of 20 concurrent requests to the http client used for Discord connections
- Debug reports include more information about threads and scheduler tasks
- PlaceholderAPI support for CodeGenerated and DiscordCommandFormat
Developers
- VanishHook is now deprecated please use the "vanished" metadata key instead
- Expanded WebhookUtil functionality to allow easier integration of interactions (Thanks, LOOHP)
- Slash Command API (Inspiration, BlueTree242. Improvements, LOOHP)
- Added event for player list command (Thanks, LOOHP)
- All game events now include the Bukkit event that triggered them (Thanks, LOOHP)
Build 1.25.1
Minor update with fixes for v1.25.0; be sure to read the v1.25.0 changelog if you haven't already because it was a large update
Additions
- DiscordConsoleChannelUseCodeBlocks config option to disable the use of code blocks in the console
Fixes
- Lag spike when running commands in the console channel
- Fixed a number of issues with the new logging system
- Website links from Discord not being clickable
- Catch errors in DiscordConsoleChannelLevels input
- Allow having a empty list of log levels in DiscordConsoleChannelLevels
- Disabled the JDA shutdown hook
- Stopped using startsWith to check if plugins are installed
- Fix color formatting codes not always being stripped in log output
Changes
- Remove client detection via plugin message channel registering, due to false positives
- The intent disconnect message now also includes the server messages intent
Build 1.25.0
Additions
- LunarClient users will now receive a notice (https://i.imgur.com/zuL1Q8r.png) telling them their user experience is being degraded and command responses sent to them will not have hover/click features at all. The notice can be disabled with the EnableIncompatibleClientAlert config option. Please see #1294 for more details
- Fancy new console logging with logger name and color support
- Hex support to the %discordsrv_user_top_role_color_code% placeholder
- The online status of the bot is now configurable
- %discordname% and %discordusername% placeholders to the Experiment_WebhookChatMessageUsernameFormat option
- Console-specific timestamp format
- The MinecraftMentionSound config option to disable hearing a sound when somebody "@mentions" your name from Discord
- Documentation about ids to DiscordRoleNameToAddToUser
- Unix timestamps placeholders for startup, shutdown, console messages and the topic updater
- Config option to block bots in the console channel
- %deathmessagenoescapes% placeholder
- Blacklist option for DiscordChatChannelPrefixRequiredToProcessMessage
Fixes
- DiscordLinkedAccountRequired message not sending when the original message is longer than can fit in the format
- Compatibility with headless java installations
- Comment on Channels option regarding reloadability
- Users being able to use %toprolecolor% in their Discord messages and having it parsed in-game
- Alerts not working whilst on a very old Minecraft version
- Advancements throwing a error on servers with unexpected nms mappings/no nms at all
- Error with some users with clyde in their username
- DiscordChatChannelEmojiBehavior not working as intended
- The CancellationDetector was rewritten to fix issues with some plugins when debugging
Changes
- Replaced the default watchdog message with a clearer one
- Advancement messages will not be sent if they were acquired in a world where the "announceAdvancements" gamerule is disabled
- DiscordChatChannelGameFilters are now applied to message content when using Experiment_WebhookChatMessageDelivery
- The Enable option under Webhook in the messages.yml MessageFormat options has been renamed to Enabled for consistency
- Discord to Minecraft messages can now use placeholders that only need a offlineplayer when the user is linked
- Updated Japanese translation for linking.yml
- Regex filters are applied to webhook username & content now
- Player unban check now runs asynchronously
Developers
- Updated JDA 4.3.0_349. We do not currently intend to update to JDA5, however if we decide to do so we'll give plenty of notice so plugin developers will have time to prepare
- Added VentureChatMessagePreProcessEvent and VentureChatMessagePostProcessEvent
Build 1.24.0
Additions
- Support for role IDs and @everyone in role-related config options
- Support for Discord replies (through a new placeholder in the DiscordToMinecraftChatMessageFormat)
- A discordsrv:server_id LuckPerms context
- Support for newlines (\n) in /discord broadcast
- PlaceholderAPI placeholder support for playerlist command formats
Fixes
- Default Polish translation being broken
- Other inconsistencies in translated config files
- Issues with some linking rewards
- Usernames being escaped for avatar urls when using VentureChatBungee
- VentureChatBungee avatars converting color codes
- Nickname sync being executed on players when they join regardless of whether they have permission
- RGB colors not working with most chat hooks
- DiscordChatChannelAllowedMentions not being reloaded when /discord reload is used
- Users' nicknames being removed on unlink even if nickname sync is disabled
- Group synchronization looking up players that might not have associated player data
- Blocked players from being able to hide urls in webhook messages
Changes
- Non-authoritative groups/roles are now removed on unlink
- Let alerts listen to DiscordSRV's own events
- The console channel's log appender is not fully asynchronous
- Split debug options into categories
Removals
- Drop UltimateChat support (outdated plugin, caused build issues)
Developers
- Updated JDA to 4.3.0_310
- Added a DiscordConsoleCommandPreProcessEvent and DiscordConsoleCommandPostProcessEvent
Build 1.23.0
Additions
- Multiline config migration
- Add Estonian translations back
- Added %online% to DiscordGameStatus
- Show/hide/:name: options for emojis, :name:/hide for emotes
- Added %displayname% and %username% to Experiment_WebhookChatMessageFormat
- Added discord name & discriminator for nickname synchronization
- Added permission (discordsrv.nicknamesync) for nickname synchronization (granted by default)
- Polish translation
- A new LuckPerms context: discordsrv:role_id
Fixes
- Error with avatar url generation on 1.17
- Error with ViaVersion (due to api changes)
- Fix "global" case sensitivity issue with Discord -> MC chat
- Fix watchdog messages not finding the proper channel
- Markdown gets escaped on chat channel console command responses now
- Spoilers, quotes & code blocks are escaped now
- %online% in the game status including vanished players
- Some messages relating to the plugin being disabled have been improved/fixed
- Timed group synchronizations being forced to be Minecraft -> Discord
- %primarygroup% %world% and %worldalias% placeholders not working in playerlist command
- DiscordCommandFormat not being clickable/having the wrong link by default
- Spanish messages.yml not including LinkingError
- Players remaining on the server after being banned on Discord when ban synchronization is on
- Fix VentureChat %channelcolor% placeholder being blank in ChatChannelHookMessageFormat
- All mentions of the same type having the same subject rendered when using reserializer
Changes
- The message stating Vault is missing won't be printed if group synchronization isn't configured anymore
- Made the JDBC value invalid message not print with the default value
- Reduced the amount of voice missing permission messages
- Chat channel command responses now group responses sent within 3 ticks
- LuckPerms context data will only be provided from caches now
- Updated some bStats statistics
- RGB colors are automatically downscaled on servers that aren't compatible with RGB clients when converting to legacy text
- Added Essentials' /list command to the default console filter (due to Multicraft's crash detection spam)
- Webhooks per channel reduced to just one because of Discord design decisions
Developers
- Death and achievement events now include the Bukkit event that triggered the event to occur
- Added DiscordGuildMessagePreBroadcastEvent