Package de.maxhenkel.voicechat.api
Interface VoicechatConnection
public interface VoicechatConnection
-
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
boolean
boolean
void
Joins this player to the provided group.
-
Method Details
-
getGroup
- Returns:
- the group of the player -
null
if the player is not in a group
-
isInGroup
boolean isInGroup()- Returns:
- if the player is in a group
-
setGroup
Joins this player to the provided group.- Parameters:
group
- the group to join ornull
to leave the current group
-
isDisabled
boolean isDisabled()- Returns:
- If the player muted the sound
-
getPlayer
ServerPlayer getPlayer()- Returns:
- the player
-