-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GH-107 Multification setup #197
Conversation
Will be tested in the future, waiting for bossbar merge in Multification |
eternalcombat-plugin/src/main/java/com/eternalcode/combat/fight/FightTagCommand.java
Outdated
Show resolved
Hide resolved
eternalcombat-plugin/src/main/java/com/eternalcode/combat/fight/logout/LogoutController.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dobra robota!
|
||
@Command(name = "combatlog", aliases = "combat") | ||
@Permission("eternalcombat.reload") | ||
public class EternalCombatReloadCommand { | ||
|
||
private static final String RELOAD_MESSAGE = "<b><gradient:#8a1212:#fc6b03>EternalCombat:</gradient></b> Reloaded EternalCombat in <color:#fce303>{TIME}ms!</color>"; | ||
private static final Notice RELOAD_MESSAGE = BukkitNotice.builder() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
w tym przypadku może być proste Notice -> BukkitNotice różni się tym że posiada dodatkowo metody stricte pod dzwieki bukkitowe
|
||
@Permission("eternalcombat.tagout") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unrelated 😙
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
following simple rule: leave code better than was
Resolve: #107
This pull request includes several changes to integrate the Multification library into the EternalCombat plugin, refactor notification handling, and remove unused code. The most important changes include adding Multification dependencies, updating the notification system, and removing the
FightBossBarService
class.Multification Integration:
buildSrc/src/main/kotlin/Versions.kt
: AddedMULTIFICATION
constant.eternalcombat-plugin/build.gradle.kts
: Added Multification dependencies and updatedshadowJar
configuration. [1] [2]Notification System Refactor:
eternalcombat-plugin/src/main/java/com/eternalcode/combat/EternalCombatReloadCommand.java
: ReplacedFormatter
with MultificationNotice
for reload messages. [1] [2] [3]eternalcombat-plugin/src/main/java/com/eternalcode/combat/config/implementation/PluginConfig.java
: Updated notification messages to use MultificationNotice
. [1] [2]Code Cleanup:
eternalcombat-plugin/src/main/java/com/eternalcode/combat/CombatPlugin.java
: RemovedFightBossBarService
and updated related code. [1] [2] [3] [4]eternalcombat-plugin/src/main/java/com/eternalcode/combat/fight/FightTagCommand.java
: Refactored to use MultificationNotice
for combat status and tag messages. [1] [2] [3]