Class UnblockTradeTable

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

public class UnblockTradeTable extends ScriptImpl implements TurnListener
Moves players away that spend to much time in an restricted area
Author:
hendrik
  • Constructor Details

    • UnblockTradeTable

      public UnblockTradeTable()
  • Method Details

    • onTurnReached

      public void onTurnReached(int currentTurn)
      checks
      Specified by:
      onTurnReached in interface TurnListener
      Parameters:
      currentTurn - current turn number
    • execute

      public void execute(Player admin, List<String> args)
      executes the 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.
    • 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.