PostSendSoundSettingsEvent
The PostSendSoundSettingsEvent
is a custom event in Bukkit that is triggered after the sound settings are sent to the client. This event is useful for developers who want to perform certain actions or checks after the sound settings have been sent.
Class Properties
socketID
String
The ID of the socket to which the sound settings were sent.
Example Usage
Here is an example of how to listen to this event using the Bukkit event API:
In this example, we create a listener for the PostSendSoundSettingsEvent
. When the event is triggered, we retrieve the socketID
from the event and print it to the console.
Remember to register your listener in your plugin's onEnable()
method to ensure that it listens to the event.
This will ensure that the ExampleListener
class is listening for the PostSendSoundSettingsEvent
and will execute the onPostSendSoundSettings
method when the event is triggered.
Last updated