PostSendSoundSettingsEvent
Class Properties
Property
Type
Description
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