InventoryOpenEvent doesn't work on opening the player's own inventory, as far as the server is concerned the player always has their own inventory open; make sure you haven't tested if it works using that.
InventoryEvent just as many other events that have subclasses can't be listened to...
Stop your server first, take a backup by copying the entire folder (or just the world and plugins if that's all you really care about), replace the .jar you're currently using with the one you want and start your server.
Feel free to ask on our Discord for quick support.
Component result = Component.text()
.append(firstComponent)
.append(displayName)
.build();
You can find the Adventure's docs here: https://docs.advntr.dev/text.html
As far as the server is concerned the player always has their inventory open.
I guess try clearing those slots after the PlayerMoveEvent (not sure if that wouldn't also clear them when the player is moved by e.g. water).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.