Package games.stendhal.server.script
Class FreezeHell
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.FreezeHell
- All Implemented Interfaces:
Script
Freezes the hell. The script should be run before
the day, not during it. For testing it allows optionally specifying the time
and duration.
First argument is the freezing time (either date time in ISO format, or time in HH:MM[:SS] format. Time before the current moment will be interpreted as the corresponding time of next day. The default is start of April 1, either the current year, or the next year if run after that moment.
Second argument is the freezing duration in HH:MM[:SS] format. Default is one day.
-
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, unload
-
Constructor Details
-
FreezeHell
public FreezeHell()
-
-
Method Details
-
execute
Description copied from interface:Script
Executes this 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.
-