Examples of updateNoChannel()


Examples of l2p.gameserver.model.L2Player.updateNoChannel()

    ThreadConnection con = null;
    FiltredPreparedStatement statement = null;
    if(plyr != null)
    {
      plyr.sendMessage(new CustomMessage("l2p.Util.AutoBan.ChatBan", actor).addString(GM).addNumber(period));
      plyr.updateNoChannel(NoChannel);
    }
    else
    {
      try
      {
View Full Code Here

Examples of l2p.gameserver.model.L2Player.updateNoChannel()

    ThreadConnection con = null;
    FiltredPreparedStatement statement = null;
    if(plyr != null)
    {
      plyr.sendMessage(new CustomMessage("l2p.Util.AutoBan.ChatUnBan", actor).addString(GM));
      plyr.updateNoChannel(0);
    }
    else
    {
      try
      {
View Full Code Here

Examples of l2p.gameserver.model.L2Player.updateNoChannel()

          activeChar.sendMessage(new CustomMessage("common.ChatBannedPermanently", activeChar));
        }
        activeChar.sendActionFailed();
        return;
      }
      activeChar.updateNoChannel(0);
    }
    if(globalchat)
    {
      if(Config.MAT_REPLACE)
      {
View Full Code Here

Examples of l2p.gameserver.model.L2Player.updateNoChannel()

      }
      else if(Config.MAT_BANCHAT && Config.containsMat(_text))
      {
        activeChar.sendMessage("You are banned in all chats. Time to unban: " + Config.UNCHATBANTIME * 60 + "sec.");
        Log.add("" + activeChar + ": " + _text, "abuse");
        activeChar.updateNoChannel(Config.UNCHATBANTIME * 60000);
        activeChar.sendActionFailed();
        return;
      }
    }
    // Кэширование линков предметов
View Full Code Here

Examples of l2p.gameserver.model.L2Player.updateNoChannel()

      if(activeChar.getNoChannelRemained() > 0 || activeChar.getNoChannel() < 0)
      {
        activeChar.sendPacket(Msg.CHATTING_IS_CURRENTLY_PROHIBITED_IF_YOU_TRY_TO_CHAT_BEFORE_THE_PROHIBITION_IS_REMOVED_THE_PROHIBITION_TIME_WILL_BECOME_EVEN_LONGER);
        return;
      }
      activeChar.updateNoChannel(0);
    }
    L2Player targetPlayer = L2World.getPlayer(_reciever);
    if(targetPlayer == null)
    {
      activeChar.sendPacket(Msg.THAT_PLAYER_IS_NOT_ONLINE);
View Full Code Here

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

      if ((activeChar.getNoChannelRemained() > 0) || (activeChar.getNoChannel() < 0))
      {
        activeChar.sendPacket(Msg.CHATTING_IS_CURRENTLY_PROHIBITED_IF_YOU_TRY_TO_CHAT_BEFORE_THE_PROHIBITION_IS_REMOVED_THE_PROHIBITION_TIME_WILL_BECOME_EVEN_LONGER);
        return;
      }
      activeChar.updateNoChannel(0);
    }
    Player targetPlayer = World.getPlayer(_reciever);
    if (targetPlayer == null)
    {
      activeChar.sendPacket(Msg.THAT_PLAYER_IS_NOT_ONLINE);
View Full Code Here

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

          activeChar.sendMessage(new CustomMessage("common.ChatBannedPermanently", activeChar));
        }
        activeChar.sendActionFailed();
        return;
      }
      activeChar.updateNoChannel(0);
    }
    if (globalchat)
    {
      if (Config.ABUSEWORD_REPLACE)
      {
View Full Code Here

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

      }
      else if (Config.ABUSEWORD_BANCHAT && Config.containsAbuseWord(_text))
      {
        activeChar.sendMessage(new CustomMessage("common.ChatBanned", activeChar).addNumber(Config.ABUSEWORD_BANTIME * 60));
        Log.add(activeChar + ": " + _text, "abuse");
        activeChar.updateNoChannel(Config.ABUSEWORD_BANTIME * 60000);
        activeChar.sendActionFailed();
        return;
      }
    }
    Matcher m = EX_ITEM_LINK_PATTERN.matcher(_text);
View Full Code Here

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

    Connection con = null;
    PreparedStatement statement = null;
    if (plyr != null)
    {
      plyr.sendMessage(new CustomMessage("lineage2.Util.AutoBan.ChatBan", plyr).addString(GM).addNumber(period));
      plyr.updateNoChannel(NoChannel);
    }
    else
    {
      try
      {
View Full Code Here

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

    Connection con = null;
    PreparedStatement statement = null;
    if (plyr != null)
    {
      plyr.sendMessage(new CustomMessage("lineage2.Util.AutoBan.ChatUnBan", plyr).addString(GM));
      plyr.updateNoChannel(0);
    }
    else
    {
      try
      {
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.