DiscordSRV

DiscordSRV

Plugin

The most powerful, configurable, open-source Discord to Minecraft bridging plugin available.

Server ManagementSocialUtility

128.9k downloads
280 followers
Created2 years ago
Updated5 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...

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 with AbstractAccountLinkManager
  • 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

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

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

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)

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

External resources



Project members

Scarsz

Owner

granny

Member

Vankka

Member


Technical information

License
GPL-3.0-or-later
Project ID