Package net.sf.l2j.gameserver.serverpackets

Examples of net.sf.l2j.gameserver.serverpackets.LeaveWorld


          for (L2PcInstance player : L2World.getInstance().getAllPlayers())
            {
            if(!player.isGM())
            {
              counter++;
              player.sendPacket(new LeaveWorld());
              player.logout();
              RegionBBSManager.getInstance().changeCommunityBoard();
            }
            }
          activeChar.sendMessage("Kicked "+counter+" players");
View Full Code Here


      SystemMessage sm = new SystemMessage(SystemMessageId.S1_S2);
      sm.addString("Character " + player.getName() + " disconnected from server.");
      activeChar.sendPacket(sm);

      //Logout Character
      LeaveWorld ql = new LeaveWorld();
      player.sendPacket(ql);

      RegionBBSManager.getInstance().changeCommunityBoard();

      player.closeNetConnection();
View Full Code Here

   */
  public void closeNetConnection()
  {
    if (_client != null)
    {
      _client.close(new LeaveWorld());
    }
  }
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.serverpackets.LeaveWorld

Copyright © 2018 www.massapicom. 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.