Package l2p.gameserver.loginservercon.gspackets

Examples of l2p.gameserver.loginservercon.gspackets.ServerStatus


    attributes.add(new Attribute(Attribute.SERVER_LIST_SQUARE_BRACKET, Config.SERVER_LIST_BRACKET ? Attribute.ON : Attribute.OFF));
    attributes.add(new Attribute(Attribute.SERVER_LIST_CLOCK, Config.SERVER_LIST_CLOCK ? Attribute.ON : Attribute.OFF));
    attributes.add(new Attribute(Attribute.TEST_SERVER, Config.SERVER_LIST_TESTSERVER ? Attribute.ON : Attribute.OFF));
    attributes.add(new Attribute(Attribute.SERVER_LIST_STATUS, Config.SERVER_GMONLY ? Attribute.STATUS_GM_ONLY : Attribute.STATUS_AUTO));
    getLoginServer().setAuthResponsed(true);
    sendPacket(new ServerStatus(attributes));
    if(L2ObjectsStorage.getAllPlayersCount() > 0)
    {
      GArray<String> playerList = new GArray<String>();
      for(L2Player player : L2ObjectsStorage.getAllPlayers())
      {
View Full Code Here

TOP

Related Classes of l2p.gameserver.loginservercon.gspackets.ServerStatus

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.