Releases: DiscordSRV/DiscordSRV
Releases · DiscordSRV/DiscordSRV
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
Build 1.22.0
Additions
- RGB & JSON text
- Added support for Paper's (modern) PaperChatEvent with config option UseModernPaperChatEvent
- Role aliases
- Fake join/leave functionality for SuperVanish
- The webhook message format can be modified now
- Date & time formats + timezone now customizable in config
- Added %online% placeholder in DiscordGameStatus for people without PlaceholderAPI
- Added ability to set Discord -> MC format per channel by adding "_channelname" suffix to DiscordToMinecraftChatMessageFormat
- Allow setting "status" channel for server start/stop messages
Fixes
- TownyChat channels not working when adding a new channel name and /discord reloading
- Various fixes related to the voice module's automatic permission setting
- Errors with advancements
- Users not getting kicked for unlinking when require link module is enabled
- UUID being included in account link messages twice
- Nag for requesting linked account information with the LuckPermsHook
- Textures not working for avatar urls on non-slim skins
- Usernames with spaces have their avatar url encoded now
- Linked accounts file backend now more fault tolerant
- Fix not being able to properly specify Dynmap target channel
Changes
- Removed Estonian translations because identical to English
- Korean translation corrections
- Server start and stop messages can now always mention roles and everyone or here
- Bot token stripping from debug reports now covers newer tokens better
- RespectChat has been removed from the default config and using it will result in a big error
- /discord broadcast allows pinging everything again
- The player quit listener is now at lowest priority, allowing VanishNoPacket vanish status to be used for deciding if the message will be hidden
- Players are removed from groups instead of roles if synchronization is one way from Discord to Minecraft
Build 1.21.3
Fixes
- bStats causing MySQL queries (when MySQL is enabled) on the main thread when collecting data
- Avatar URLs being invalid because of PlaceholderAPI
- Performance issues while using alerts
- Fix rare issue with console channel messages going over character limit
- Various other fixes
Changes
- Blacklisted BlockPhysicsEvent for alerts (reduces alerts lag)
- Voice module error messages for lacking permissions updated
- Retrieve {texture} placeholder for avatar URLs from NMS instead of API
Developers
- Add AccountLinkManager#getLinkedAccountCount
Build 1.21.2
Additions
- The voice module forces the lobby to not allow speaking again
- "playerlist" command now orders players alphabetically
- Added {avatar} placeholder for avatar urls, remove {timestamp}
- Allow alerts to be ran synchronously if required
Fixes
- Duplicate chat messages after disabling DebugMode
- A plus being in the wrong place in the Chinese configuration
- Enforce allowed mention types on webhook messages
- Various JDBC/main thread issues, nag in the future
- Fix manual /discord link command not being usable from console
- Search for & attempt "event.getPlayer()" on non-
PlayerEvent
events going to alerts
Changes
- Relocate Gson because of JSON conflicts
- Switched avatar service back to Crafatar because of Minotar unreliability
Developers
- Queries for linked accounts on the main thread will lead to a nag (and exception in the future), either use another thread or use getDiscordIdBypassCache/getUuidBypassCache