Skip to content

Releases: FlameyosSnowy/EnhancedCommunications

1.2.1

18 Jan 22:27

Choose a tag to compare

Sorry for the small update but I'm working on EnhancedChatModeration! Stay tuned

Improvements

  • Stuff here and there

API Changes

  • Option is no longer used in certain areas, they have been replaced by Optional.
  • Conversation API may now be canceled! this opens up lots of new opportunities such as chat filtering.

Full Changelog: 1.2.0...1.2.1

1.2.0

22 Dec 09:40

Choose a tag to compare

There were some bugs that @h4shy tested for (Thank you so much! :D)
They were eventually fixed, and I also got some suggestions that would create competition between other chat plugins.

Redesigned APIs fill the update, which is PACKED with new API additions and improvements.

User

Fixes

  • Fixed where you can't disable broadcasts
  • Fixed the issue where it is possible that the usernames outside of the message can be mentioned, for example:

Previous:

[Member] FlameyosFlow >> Hey there FlameyosFlow how are you?

Now:

[Member] FlameyosFlow >> Hey there FlameyosFlow how are you?

(Fixed using the new SerializedMessage API)

Improvements

Improved mentioning system, now you can add symbols next to a username, for example:

Previous:

"[Member] FlameyosFlow >> Hey there FlameyosFlow how are you?"

"[Member] FlameyosFlow >> I'm good, what about you, FlameyosFlow?" (Does not mention because of '?')

image

Now:

"[Member] FlameyosFlow >> Hey there FlameyosFlow how are you?"

"[Member] FlameyosFlow >> I'm good, what about you, FlameyosFlow?" (Can now mention)

image

Developers

Additions

  • Added new methods for WordReplacementManager:
    WordReplacementManager#addWordMapper
    WordReplacementManager#removeWordMapper
    WordReplacementManager#clearWordMappers

  • Added new action events on action execute:
    PreTitleExecuteEvent
    PreSoundExecuteEvent
    PreActionBarExecuteEvent
    PreCommandExecuteEvent
    PreSendMessageExecuteEvent

  • New SerializedMessage data class to improve performance, and even used to fix a bug for mentioning!

Improvements

  • ChatFormatMessageModifier priority set to LOWEST so it can execute last.

Breaking changes

  • Removed ChatManager#processChat and processed it directly inside of PrimaryChatListener
  • MessageModifier#modify now no longer returns a value and takes in a SerializedMessage instead of RawDataRegistry
  • RawDataRegistry PostChatProcessEvent#getDataRegistry ->SerializedMessage PostChatProcessEvent#getData
  • Option MentionsManager#changeMentionsLook(final Player player, final String message) -> void MentionsManager#changeMentionsLook(final Player player, final SerializedMessage message)
  • String getFormat(final String message, final Player player) -> SerializedMessage getFormat(final SerializedMessage message, final Player player)
  • void editMessage(RawDataRegistry dataRegistry); -> void editMessage(SerializedMessage dataRegistry);
  • String ChatProvider#getFormat(String message, String groupFormat, Player player); -> ChatProvider#SerializedMessage getFormat(SerializedMessage message, String groupFormat, Player player);
  • ChatRenderer ProcessedChatRenderer#createChatRenderer(RawDataRegistry rawDataRegistry); -> ChatRenderer ProcessedChatRenderer#createChatRenderer(SerializedMessage rawDataRegistry);
  • DefaultChatRenderer now takes in a SerializedMessage instead of a RawDataRegistry

1.1.0

21 Nov 17:06

Choose a tag to compare

This release has new features and improvements to make EnhancedCommunications closer to achieving dominance in the chat experience management category!

Additions

Broadcasts - Async

This month I bring you chat broadcasts, I worked on this so the user can benefit from it AND a great API for the developer to use as well!

User

  • Choose the broadcast interval by seconds.
  • Choose the worlds you want the broadcast to be in OR make it global by typing "GLOBAL"
  • Choose the lore Uses MiniMessage

Developer

  • New PreBroadcastAnnounceEvent to check details about the broadcast and the worlds (and its viewers) CANCELLABLE
  • You can manually add/remove broadcasts from ChatManager#getAutoBroadcastManager

Word replacements

This month I bring you word replacements:

  • Create any word replacements (<3 to ❤️ for example)
  • Precached the words after splitting them to ensure the server is smooth (can be refreshed by using /communications reload)

Improvements

  • Added javadocs to everything
  • Some performance improvements

1.0.3

18 Oct 06:35

Choose a tag to compare

Fixes

  • Fix an issue with resolving mentions

Improvements

  • Make mentions manager more readable
  • Put length in a variable.

Full Changelog: 1.0.2...1.0.3

1.0.2

17 Oct 13:43

Choose a tag to compare

Features

  • Make EnhancedCommunications folia compatible

Full Changelog: 1.0.1...1.0.2

1.0.1

16 Oct 20:54
4d6b430

Choose a tag to compare

  • Removed extra unnecessary debug
  • Used a custom modifier priority (for MessageModifierManager) instead of reversing a comparator for bukkit's EventPriority