PostSetVolumeEvent
The PostSetVolumeEvent
is a custom event in the MelodyMine plugin. This event is triggered after the volume of a player is set. It provides information about the player whose volume was set and the target player who set the volume.
Event Details
Field | Type | Description |
---|---|---|
|
| The UUID of the player whose volume was set. |
|
| The socket ID of the target player who set the volume. |
Methods
Method | Return Type | Description |
---|---|---|
|
| Returns the |
|
| Returns the |
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 example will print a message to the console whenever a player's volume is set, indicating who set the volume and for whom.
Last updated