Package net.sf.l2j.gameserver.handler

Examples of net.sf.l2j.gameserver.handler.IAdminCommandHandler


        {
          Util.handleIllegalPlayerAction(activeChar,"Warning!! Non-gm character "+activeChar.getName()+" requests gm bypass handler, hack?", Config.DEFAULT_PUNISH);
          return;
        }

    IAdminCommandHandler ach = AdminCommandHandler.getInstance().getAdminCommandHandler("admin_"+_command);

    if (ach != null)
    {
      ach.useAdminCommand("admin_"+_command, activeChar);
    }
  }
View Full Code Here


                {
                    _log.info("<GM>" + activeChar + " does not have sufficient privileges for command '" + _command + "'.");
                    return;
                }

        IAdminCommandHandler ach = AdminCommandHandler.getInstance().getAdminCommandHandler(_command);

        if (ach != null)
          ach.useAdminCommand(_command, activeChar);
        else
          _log.warning("No handler registered for bypass '"+_command+"'");
      }
      else if (_command.equals("come_here") && activeChar.getAccessLevel() >= Config.GM_ACCESSLEVEL)
      {
View Full Code Here

TOP

Related Classes of net.sf.l2j.gameserver.handler.IAdminCommandHandler

Copyright © 2018 www.massapicom. 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.