PostPlayerSetSelfMuteEvent
The PostPlayerSetSelfMuteEvent
is a custom event in the MelodyMine plugin. This event is triggered after a player's self-mute status has been changed. It provides information about the player and the new mute status.
Event Details
Attribute
Type
Description
melodyPlayer
MelodyPlayer
The player whose self-mute status has been changed.
value
boolean
The new self-mute status of the player.
Example Usage
Here is an example of how to listen to this event using the Bukkit event API:
Remember to register your listener in your plugin's onEnable
method to ensure that it is active.
This listener will log a message to the console every time a player changes their self-mute status.
Last updated