/**
   * 対象のプレイヤーの、チームメンバー用の権限を全て剥奪する。
   *
   * @param player プレイヤー
   */
  public void removeAllMemberPermission(Player player) {

    for (PermissionAttachmentInfo info : player.getEffectivePermissions()) {
      if (info.getPermission().startsWith(TEAM_PERMISSION_PREFIX)) {
        player.removeAttachment(info.getAttachment());
      }
    }
  }