Package lineage2.gameserver.model

Examples of lineage2.gameserver.model.GameObject.sendMessage()


      System.out.println("Event 'Christmas' started.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.Christmas.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'Christmas' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here


      System.out.println("Event 'Christmas' stopped.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.Christmas.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'Christmas' not started.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      _log.info("Event 'DestructionOfFlag' activated.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.DestructionOfFlag.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'DestructionOfFlag' already active.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      _log.info("Event 'DestructionOfFlag' deactivated.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.DestructionOfFlag.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'DestructionOfFlag' not active.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
View Full Code Here

    {
      player = GameObjectsStorage.getAsPlayer(objId);
      if (player != null)
      {
        removePlayer(player);
        player.sendMessage("Ва�? фла�� - уничтожен. Вы проиграли.");
      }
    }
    team.clear();
  }
 
View Full Code Here

      System.out.println("Event 'Change of Heart' started.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.ChangeofHeart.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'Change of Heart' already started.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      System.out.println("Event 'Change of Heart' stopped.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.ChangeofHeart.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'Change of Heart' not started.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
View Full Code Here

    }
    if (event.equalsIgnoreCase("EnterInstance"))
    {
      if (player.getParty() == null)
      {
        player.sendMessage("You cannot enter without party!");
        return null;
      }
     
      for (Player member : player.getParty().getPartyMembers())
      {
View Full Code Here

      _log.info("Event 'CTF' activated.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.CTF.AnnounceEventStarted", null);
    }
    else
    {
      player.sendMessage("Event 'CTF' already active.");
    }
    _active = true;
    show("admin/events.htm", player);
  }
 
View Full Code Here

      _log.info("Event 'CTF' deactivated.");
      Announcements.getInstance().announceByCustomMessage("scripts.events.CTF.AnnounceEventStoped", null);
    }
    else
    {
      player.sendMessage("Event 'CTF' not active.");
    }
    _active = false;
    show("admin/events.htm", player);
  }
 
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.