Interface VoicechatServerStartingEvent
- All Superinterfaces:
Event
,ServerEvent
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets a custom implementation of the socket used for voice chat traffic.Methods inherited from interface de.maxhenkel.voicechat.api.events.Event
cancel, isCancellable, isCancelled
Methods 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
null
to use voice chats default one
-