Interface VoiceHostEvent
- All Superinterfaces:
Event, ServerEvent
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetVoiceHost(String voiceHost) Overwrites voice chats voice host - This is sent to the client and used by it to connect to the server.Methods inherited from interface Event
cancel, isCancellable, isCancelledMethods inherited from interface ServerEvent
getVoicechat
-
Method Details
-
getVoiceHost
String getVoiceHost()- Returns:
- the voice host string
-
setVoiceHost
Overwrites voice chats voice host - This is sent to the client and used by it to connect to the server.- Parameters:
voiceHost- the voice host string
-
getPlayer
ServerPlayer getPlayer()- Returns:
- the player that is connecting
-