Events

There are certain events we provide to you (package: net.labymod.serverapi.bukkit/bungee.event). You can listen to them like you listen to other Bukkit/Bungeecord events.
MessageReceiveEvent: this event will be called when a LabyMod client sends a custom plugin message to the server
LabyModPlayerJoinEvent: this event will be called when a LabyMod client joins the server. It also allows you to retrieve the LabyMod version and the LabyMod addons used by the client. It also provides whether or not the client has enabled chunk-caching.
PermissionsSendEvent: this event will be called when the server modifies a client's LabyMod permissions. You can use it to modify the permissions sent.
MessageSendEvent: this event will be called when the server sends a custom JSON message to the client → you're able to modify the message sent for certain players