PostDisableAdminMode
The PostDisableAdminMode
event is triggered after the admin mode of a MelodyPlayer
is disabled. This event provides an opportunity to perform additional actions or checks after the admin mode has been disabled.
Class Properties
Property
Type
Description
melodyPlayer
MelodyPlayer
The player whose admin mode has been disabled.
Example Usage
Here is an example of how to listen to this event using the Bukkit event API in Java:
In this example, we create a listener for the PostDisableAdminMode
event. When the event is triggered, we retrieve the MelodyPlayer
whose admin mode has been disabled and print a message to the console.
Remember to register your event listener in your plugin's onEnable
method for it to work.
Last updated