Package games.stendhal.server.script
Class SummonChest
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.SummonChest
- All Implemented Interfaces:
Script
Enables admins to create (list and remove) chests.
- Author:
- yoriy
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
SummonChest
public SummonChest()
-
-
Method Details
-
add
Adds a chest.- Parameters:
player- admin who put the chestargs- zone x y
-
delete
Removes the specified chest.- Parameters:
player- adminargs- chest number at index 1
-
list
Lists all chests.- Parameters:
player- admin invoking this script
-
execute
Description copied from interface:ScriptExecutes this script.- Specified by:
executein interfaceScript- Overrides:
executein classScriptImpl- Parameters:
admin- the admin who load it ornullon server start.args- the arguments the admin specified ornullon server start.
-