Package com.l2jfrozen.gameserver.model.actor.instance

Examples of com.l2jfrozen.gameserver.model.actor.instance.L2PcInstance.sendMessage()


      return;
    }

    if(player.isTradeDisabled())
    {
      player.sendMessage("Private manufacture are disable here. Try in another place.");
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }
   
    if (player.isInsideZone(L2Character.ZONE_NOSTORE))
View Full Code Here


    }
   
    if (player.isInsideZone(L2Character.ZONE_NOSTORE))
    {
      // player.sendPacket(new RecipeShopManageList(player, player.isDwarven()));
      player.sendMessage("Private manufacture are disable here. Try in another place.");
      player.sendPacket(ActionFailed.STATIC_PACKET);
      return;
    }

    if(_count == 0)
View Full Code Here

      return;
    }
   
    if( activeChar.isChatBanned() && !activeChar.isGM() && _type != CLAN && _type != ALLIANCE && _type != PARTY)
    {
      activeChar.sendMessage("You may not chat while a chat ban is in effect.");
      return;
    }

    if(activeChar.isInJail() && Config.JAIL_DISABLE_CHAT)
    {
View Full Code Here

    if(activeChar.isInJail() && Config.JAIL_DISABLE_CHAT)
    {
      if(_type == TELL || _type == SHOUT || _type == TRADE || _type == HERO_VOICE)
      {
        activeChar.sendMessage("You can not chat with players outside of the jail.");
        return;
      }
    }
   
    if (!getClient().getFloodProtectors().getSayAction().tryPerformAction("Say2"))
View Full Code Here

      }
    }
   
    if (!getClient().getFloodProtectors().getSayAction().tryPerformAction("Say2"))
    {
      activeChar.sendMessage("You cannot speak too fast.");
      return;
    }
   
    if(activeChar.isCursedWeaponEquiped() && (_type == TRADE || _type == SHOUT))
    {
View Full Code Here

      return;
    }
   
    if(activeChar.isCursedWeaponEquiped() && (_type == TRADE || _type == SHOUT))
    {
      activeChar.sendMessage("Shout and trade chatting cannot be used while possessing a cursed weapon.");
      return;
    }

    if(_type == PETITION_PLAYER && activeChar.isGM())
    {
View Full Code Here

    L2Party party = player.getParty();
   
    if (party != null)
    {
      if (party.isInDimensionalRift() && !party.getDimensionalRift().getRevivedAtWaitingRoom().contains(player))
        player.sendMessage("You can't exit party when you are in Dimensional Rift.");
      else
      {
        party.removePartyMember(player);
       
        if (player.isInPartyMatchRoom())
View Full Code Here

    if(activeChar.isInParty() && activeChar.getParty().isLeader(activeChar))
    {
      if(activeChar.getParty().isInDimensionalRift() && !activeChar.getParty().getDimensionalRift().getRevivedAtWaitingRoom().contains(activeChar))
      {
        activeChar.sendMessage("You can't dismiss party member when you are in Dimensional Rift.");
      }
      else
      {
        activeChar.getParty().removePartyMember(_name);
      }
View Full Code Here

    }

    // Check if player has Access level for Transaction
    if (!player.getAccessLevel().allowTransaction())
    {
      player.sendMessage("Transactions are disable for your Access Level.");
      player.cancelActiveTrade();
      return;
    }

    // Check validateItemManipulation
View Full Code Here

      sm = SystemMessage.sendString(target.getParty().getPartyMembers().get(0).getName() + "'s party was dismissed from the CommandChannel.");
    }
    else
    {
      activeChar.sendMessage("Incorrect Target");
    }
  }

  @Override
  public String getType()
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.