Package net.sf.l2j.gameserver

Examples of net.sf.l2j.gameserver.Announcements.handleAnnounce()


      Announcements.getInstance().listAnnouncements(activeChar);
    }
    else if (command.startsWith("admin_announce_menu"))
    {
      Announcements sys = new Announcements();
      sys.handleAnnounce(command, 20);
      Announcements.getInstance().listAnnouncements(activeChar);
    }
    else if (command.equals("admin_announce_announcements"))
    {
      for (L2PcInstance player : L2World.getInstance().getAllPlayers())
View Full Code Here


    // Command is admin announce
    else if (command.startsWith("admin_announce"))
    {
      // Call method from another class
      Announcements sys = new Announcements();
      sys.handleAnnounce(command, 15);
    }

    return true;
  }
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.