Examples of disband()


Examples of lineage2.gameserver.model.matching.MatchingRoom.disband()

    }
    if (room.getLeader() != player)
    {
      return;
    }
    room.disband();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.matching.MatchingRoom.disband()

    }
    if (room.getLeader() != player)
    {
      return;
    }
    room.disband();
  }
}
View Full Code Here

Examples of lineage2.gameserver.model.matching.MatchingRoom.disband()

    MatchingRoom room = getMatchingRoom();
    if (room != null)
    {
      if (room.getLeader() == this)
      {
        room.disband();
      }
      else
      {
        room.removeMember(this, false);
      }
View Full Code Here

Examples of net.sacredlabyrinth.phaed.simpleclans.Clan.disband()

                    if (clan.isLeader(player))
                    {
                        if (clan.getLeaders().size() == 1)
                        {
                            clan.clanAnnounce(player.getName(), ChatColor.AQUA + MessageFormat.format(plugin.getLang("clan.has.been.disbanded"), clan.getName()));
                            clan.disband();
                        }
                        else
                        {
                            plugin.getRequestManager().addDisbandRequest(cp, clan);
                            ChatBlock.sendMessage(player, ChatColor.AQUA + plugin.getLang("clan.disband.vote.has.been.requested.from.all.leaders"));
View Full Code Here

Examples of net.sacredlabyrinth.phaed.simpleclans.Clan.disband()

                Clan clan = plugin.getClanManager().getClan(arg[0]);

                if (clan != null)
                {
                    plugin.getClanManager().serverAnnounce(ChatColor.AQUA + MessageFormat.format(plugin.getLang("clan.has.been.disbanded"), clan.getName()));
                    clan.disband();
                }
                else
                {
                    ChatBlock.sendMessage(player, ChatColor.RED + plugin.getLang("no.clan.matched"));
                }
View Full Code Here

Examples of net.sacredlabyrinth.phaed.simpleclans.Clan.disband()

                    }
                }
                else if (clan.isLeader(player) && clan.getLeaders().size() == 1)
                {
                    plugin.getClanManager().serverAnnounce(ChatColor.AQUA + MessageFormat.format(plugin.getLang("clan.has.been.disbanded"), clan.getName()));
                    clan.disband();
                }
                else
                {
                    ChatBlock.sendMessage(player, ChatColor.RED + plugin.getLang("last.leader.cannot.resign.you.must.appoint.another.leader.or.disband.the.clan"));
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.