Interface VoicechatServerStartingEvent
- All Superinterfaces:
Event,ServerEvent
-
Method Summary
Modifier and TypeMethodDescriptionvoidSets a custom implementation of the socket used for voice chat traffic.Methods inherited from interface de.maxhenkel.voicechat.api.events.Event
cancel, isCancellable, isCancelledMethods inherited from interface de.maxhenkel.voicechat.api.events.ServerEvent
getVoicechat
-
Method Details
-
setSocketImplementation
Sets a custom implementation of the socket used for voice chat traffic.- Parameters:
socket- the custom socket implementation
-
getSocketImplementation
- Returns:
- the custom socket implementation or
nullto use voice chats default one
-