IzzelAliz / Arclight

A Bukkit(1.19/1.20) server implementation in modding environment using Mixin. ⚡
GNU General Public License v3.0
1.42k stars 211 forks source link

Kyori Adventure API / Mini Message Support #1259

Open wop0911 opened 3 months ago

wop0911 commented 3 months ago

I have confirmed that ...

Arclight version

arclight-1.20.2-1.0.3.jar

OS & Java versions

Java 17

Plugins and Mods

BetterDexRewards-Forge-3.5.0-1.20.2.jar
EnvyDayCare-Forge-1.2.0-1.20.2.jar
ForgePlaceholderAPI-Forge-2.0.7-1.20.2.jar
journeymap-1.20.2-5.9.18-forge.jar
pixelmagicsX-Forge-2.7.0.jar
PixelLoot-1.20.2.-1.5 <-- affected mod
Pixelmon1.20.2-9.2.6
PixelmonOverlay-Forge-1.2.0-1.20.2.jar
AxVaults-1.2.0.jar
DeluxeMenus-1.14.0-Release.jar
griefdefender-bukkit-2.5.5.jar
LuckPerms-Bukkit-5.4.118.jar
ItemsAdder_3.6.3-beta-13.jar
EssentialsX-2.20.1.jar (and all similar related plugins Chat, Spawn, Discord)
multiverse-core-4.3.12.jar
multiverse-inventories-4.2.6.jar
multiverse-portals-4.2.3.jar
PhoenixCrates-3.0_1.jar
TAB v4.1.2.jar
voxelsniper-8.13.0-spigot.jar
worldedit-bukkit-7.2.18-dist.jar

Description

Crash upon adding a mod that uses the adventure library to allow certain features. But it causes crashing upon startup.

crash-2024-03-10_02.17.35-fml.txt

Step to reproduce

1) Install the PixelLoot mod. 2) Start the server. 3) Watch crash.

Logs

https://pastebin.com/1HidCxhy

Server pack link (Optional)

No response

SpinLol commented 3 months ago

Paper Spigot has built in support for the adventure API with its AsyncChatEvent. Arclight needs to be updated to use this event in order to allow the adventure api to work along with many other new features that rely on this event specifically. This would also allow quite a few Paper event based plugins to work with Arclight.

TechNicly commented 3 months ago

image I'm experiencing a very similar issue, but with a plugin that uses kyori.