Interface VoicechatConnection


public interface VoicechatConnection
  • Method Details

    • getGroup

      @Nullable Group 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

      void setGroup(@Nullable Group group)
      Joins this player to the provided group.
      Parameters:
      group - the group to join or null to leave the current group
    • isDisabled

      boolean isDisabled()
      Returns:
      If the player muted the sound
    • getPlayer

      ServerPlayer getPlayer()
      Returns:
      the player