Package lineage2.gameserver.model

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


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


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

    {
      return;
    }
    if (!isActive())
    {
      player.sendMessage("GvG event is not launched");
      return;
    }
    final StringBuilder string = new StringBuilder(32);
    final String refresh = "<button value=\"Refresh\" action=\"bypass -h scripts_events.GvG.GvG:showStats\" width=60 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">";
    final String start = "<button value=\"Start Now\" action=\"bypass -h scripts_events.GvG.GvG:startNow\" width=60 height=20 back=\"L2UI_ct1.button_df\" fore=\"L2UI_ct1.button_df\">";
View Full Code Here

    {
      return;
    }
    if (!isActive() || !canBeStarted())
    {
      player.sendMessage("GvG event is not launched");
      return;
    }
    prepare();
  }
 
View Full Code Here

    {
      return;
    }
    if (!_isRegistrationActive)
    {
      player.sendMessage("GvG tournament inactive.");
      return;
    }
    if (leaderList.contains(player.getRef()))
    {
      player.sendMessage("You are already registered on GvG Tournament.");
View Full Code Here

      player.sendMessage("GvG tournament inactive.");
      return;
    }
    if (leaderList.contains(player.getRef()))
    {
      player.sendMessage("You are already registered on GvG Tournament.");
      return;
    }
    if (!player.isInParty())
    {
      player.sendMessage("You are not in party.");
View Full Code Here

      player.sendMessage("You are already registered on GvG Tournament.");
      return;
    }
    if (!player.isInParty())
    {
      player.sendMessage("You are not in party.");
      return;
    }
    if (!player.getParty().isLeader(player))
    {
      player.sendMessage("You are not the party Leader.");
View Full Code Here

      player.sendMessage("You are not in party.");
      return;
    }
    if (!player.getParty().isLeader(player))
    {
      player.sendMessage("You are not the party Leader.");
      return;
    }
    if (player.getParty().isInCommandChannel())
    {
      player.sendMessage("To register in the tournament you have to leave the command channel.");
View Full Code Here

      player.sendMessage("You are not the party Leader.");
      return;
    }
    if (player.getParty().isInCommandChannel())
    {
      player.sendMessage("To register in the tournament you have to leave the command channel.");
      return;
    }
    if (leaderList.size() >= _groupsLimit)
    {
      player.sendMessage("The tournament reached the limit number.");
View Full Code Here

      player.sendMessage("To register in the tournament you have to leave the command channel.");
      return;
    }
    if (leaderList.size() >= _groupsLimit)
    {
      player.sendMessage("The tournament reached the limit number.");
      return;
    }
    final List<Player> party = player.getParty().getPartyMembers();
    final String[] abuseReason =
    {
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.