xGinko / AnarchyExploitFixes

Fix exploits on anarchy Minecraft servers
GNU General Public License v3.0
283 stars 53 forks source link

[1.20.6] CommandRegisteredEvent will be removed in a future release #211

Closed FastJoe0 closed 1 week ago

FastJoe0 commented 1 month ago

When running the plugin on paper 1.20.6 I get this message:

[AnarchyExploitFixes] "AnarchyExploitFixes v2.6.7" has registered a listener for com.destroystokyo.paper.event.brigadier.CommandRegisteredEvent on method "public void cloud.commandframework.paper.PaperBrigadierListener.onCommandRegister(com.destroystokyo.paper.event.brigadier.CommandRegisteredEvent<com.destroystokyo.paper.brigadier.BukkitBrigadierCommandSource>)", but the event is Deprecated. "This event has been superseded by the Commands API and will be removed in a future release. Listen to LifecycleEvents.COMMANDS instead."; please notify the authors [moo, xGinko].

Full logs:

[17:03:09 INFO]: [AnarchyExploitFixes] Enabling AnarchyExploitFixes v2.6.7
[17:03:09 INFO]: [AnarchyExploitFixes]
[17:03:09 INFO]: [AnarchyExploitFixes]
[17:03:09 INFO]: [AnarchyExploitFixes]      █████  ███████ ███████
[17:03:09 INFO]: [AnarchyExploitFixes]     ██   ██ ██      ██             AnarchyExploitFixes
[17:03:09 INFO]: [AnarchyExploitFixes]     ███████ █████   █████            Made by moom0o
[17:03:09 INFO]: [AnarchyExploitFixes]     ██   ██ ██      ██             Rewritten by xGinko
[17:03:09 INFO]: [AnarchyExploitFixes]     ██   ██ ███████ ██
[17:03:09 INFO]: [AnarchyExploitFixes]
[17:03:09 INFO]: [AnarchyExploitFixes]
[17:03:09 INFO]: [AnarchyExploitFixes] Detected Version 1.20.6
[17:03:09 INFO]: [AnarchyExploitFixes] Found ProtocolLib
[17:03:09 INFO]: [AnarchyExploitFixes] Loading Translations
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for ko_kr
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for de_ch
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for en_gb
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for zh_cn
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for ru_ru
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for uk_ua
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for es_es
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for vi_vn
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for en_us
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for it_it
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for da_dk
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for de_at
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for fr_fr
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for pt_br
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for pl_pl
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for ro_ro
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for tr_tr
[17:03:09 INFO]: [AnarchyExploitFixes] Found language file for de_de
[17:03:09 INFO]: [AnarchyExploitFixes] Loading Config
[17:03:10 INFO]: [AnarchyExploitFixes] Registering Commands
[17:03:10 WARN]: [AnarchyExploitFixes] "AnarchyExploitFixes v2.6.7" has registered a listener for com.destroystokyo.paper.event.brigadier.CommandRegisteredEvent on method "public void cloud.commandframework.paper.PaperBrigadierListener.onCommandRegister(com.destroystokyo.paper.event.brigadier.CommandRegisteredEvent<com.destroystokyo.paper.brigadier.BukkitBrigadierCommandSource>)", but the event is Deprecated. "This event has been superseded by the Commands API and will be removed in a future release. Listen to LifecycleEvents.COMMANDS instead."; please notify the authors [moo, xGinko].
[17:03:10 INFO]: [AnarchyExploitFixes] Loading metrics
[17:03:10 INFO]: [AnarchyExploitFixes] Done.

full logs

xGinko commented 1 month ago

Yes commandframework has been removed in the upcoming release so this wont be an issue anymore in 2.7.0

xGinko commented 1 week ago

Fixed in 2.7.0