Package l2p.gameserver.model

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


    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

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

      }
      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

      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

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.