Перейти к содержимому
Mineforgian

EnhancedCommunication

Next-generational chat plugin for enhancing chat experience!

Загрузки
277
Подписчики
2
Обновлён
22 декабря 2024 г.
Лицензия
GPL-3.0-or-later

Опубликован 17 октября 2024 г.

EnhancedCommunications

A next-generation chat plugin for enhancing Minecraft chat.

⚠️ DISCLAIMER: ONLY WORKS FOR PAPERMC 1.18+

Features:

High-performance: Can process big messages and spam without hassle, chat delay, or TPS drops.

Versatile API: The API is very versatile. You can do anything from creating new actions to creating your managers for the plugin.

Customizable: Customize everything in this plugin for your server however you like!

PlaceholderAPI: This plugin supports PlaceholderAPI for practically everything, from actions to chat formatting, etc!

MiniMessage: EnhancedCommunications specializes over other plugins by staying on the modern side, so we use MiniMessage as our primary way to color messages and give them actions!

Folia support: This plugin fully supports Folia.

Honorable Mentions:

Mentioning system:

2024-10-15_17 22 56

Messaging system (/message, /reply) with extensive API.

Chat formatting (LuckPerms, Vault, and even no-permissions plugin chat formatting)

Maven:

<repositories>
    <repository>
        <id>foxikle-flameyos</id>
        <name>Foxikle's Repository</name>
        <url>https://repo.foxikle.dev/flameyos</url>
    </repository>
</repositories>
<dependencies>
    <dependency>
        <groupId>me.flame.communication</groupId>
        <artifactId>EnhancedCommunication</artifactId>
        <version>1.0.1</version>
    </dependency>
</dependencies>

Gradle (Kotlin):

repositories {
    mavenCentral()
    maven("https://repo.foxikle.dev/flameyos")

}

dependencies {
    implementation("me.flame.communication:EnhancedCommunication:1.0.1")
}

You can ask for help in my discord server

ChannelsCommunication and EnhancedChatModeration will soon join the party.

Ченджлог

1.2.0Релиз1.21.2, 1.21.3, 1.21.4 · 22 декабря 2024 г.

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.0.3Релиз1.21.1, 1.21.2, 1.21.3 · 24 ноября 2024 г.

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Релиз1.20.6, 1.21, 1.21.1 · 18 октября 2024 г.

Fixes

  • Fix an issue with resolving mentions.

Features (1.0.2)

  • Make EnhancedCommunications Folia Compatible.

Improvements

  • Make mentions manager more readable.
  • Put length in a variable.
1.0.0Релиз1.20.6 · 17 октября 2024 г.

Fixes

  • Removed extra unnecessary debug

Improvements (API)

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

Комментарии

Загружаем…