Class BugInspect

java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.BugInspect
All Implemented Interfaces:
TurnListener, Script

public class BugInspect extends ScriptImpl implements TurnListener
Deep inspects a player and all his/her items.
Author:
hendrik
  • Constructor Details

    • BugInspect

      public BugInspect()
  • Method Details

    • execute

      public void execute(Player admin, List<String> args)
      Description copied from interface: Script
      Executes this script.
      Specified by:
      execute in interface Script
      Overrides:
      execute in class ScriptImpl
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.
    • onTurnReached

      public void onTurnReached(int currentTurn)
      Description copied from interface: TurnListener
      This method is called when the turn number is reached.
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      currentTurn - current turn number
    • unload

      public void unload(Player admin, List<String> args)
      Description copied from interface: Script
      Unloads this script.
      Specified by:
      unload in interface Script
      Overrides:
      unload in class ScriptImpl
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.