DiscordChat

DiscordChat 2.4.0

- Replaced spamFilter with messageFilterRegex
- Removed %timestamp%, added %player% for death event
- Text colors are now removed recursively
- /discord reload now also reloads config file
- API: getDiscordChatMutedPlayers now returns a Set
- Fixed message queue out of bounds error
- Empty death messages are no longer sent to discord
- Added logConsoleCommands to config
- Plugins can now access JDA instance through API.getJDA()
- Player list command output is now sorted by username
- Added /discord reload command
- Improved text filtering when spamFilter is enabled
- Increased event priority to improve compatibility with custom message plugins
- Players can use /discord [mute|unmute] command (if enabled) to temporary mute Discord to Minecraft chat
- Updated JDA to the latest LTS version
- Improved & automated role color handling
- Changed message queue delay to match the rate limit
- Other improvements
- Implemented a message queue system to avoid chat getting delayed when lots of messages are being sent
- Improved the spam filter
- Now 100% more working
- Added server booster role default color
- API: you can now send messages to any channel on Discord
- API: you can now set topic of any channel on Discord
- API: you can now register your own message event listeners
- API: `textFromContainer` is no longer a public API method
- Other improvements
  • Like
Reactions: Saad RM
- Fixed an error on server shutdown if consoleStatusMessages was enabled while discordConsole was disabled
- Having spamFilter enabled no loger blocks player messages
  • Like
Reactions: Saad RM
WARNING: If you are updating from 1.x the old config file will be replaced and you will need to set up this plugin again. Config will be updated automatically if you are updating from a 2.0 beta version.

Changes (1.1.5.3 -> 2.0):
  • Channel topic
  • All messages editable in config
  • Editable prefix
  • A setting for max message length
  • A setting to allow messages by bots
  • Using JDA 4.2.0
  • Reduced plugin size
  • Spam filter and mention blocker (beta)
  • Outdated config warning and replacing
  • JDA logging warning removed
  • Discord console
  • Remove text format of Discord user names
  • Remove line breaks when spam filter is enabled
  • Moved rank color mapping to config
  • Don't send quit messages for players who never spawned
  • Join and quit message placeholders
  • Chat formatting options
  • /discord command
  • Moved API methods to me.petterim1.discordchat.API
WARNING: If you are updating from 1.x the old config file will be replaced and you will need to set up this plugin again. Config will be updated automatically if you are updating from older 2.0 beta.

Added changes:
  • Not showing quit messages for players that were never spawned
  • Updated JDA to solve recent loading issues

You can see the status of this update here: https://github.com/PetteriM1/DiscordChat/pull/10
Top