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
-
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: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.
-