Package games.stendhal.server.script
Class UnblockTradeTable
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.UnblockTradeTable
- All Implemented Interfaces:
TurnListener
,Script
Moves players away that spend to much time in an restricted area
- Author:
- hendrik
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load
-
Constructor Details
-
UnblockTradeTable
public UnblockTradeTable()
-
-
Method Details
-
onTurnReached
public void onTurnReached(int currentTurn)checks- Specified by:
onTurnReached
in interfaceTurnListener
- Parameters:
currentTurn
- current turn number
-
execute
executes the script- Specified by:
execute
in interfaceScript
- Overrides:
execute
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.
-
unload
Description copied from interface:Script
Unloads this script.- Specified by:
unload
in interfaceScript
- Overrides:
unload
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.
-