Package games.stendhal.server.script
Class AdminSign
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.AdminSign
- All Implemented Interfaces:
Script
Enables admins to create (list and remove) signs.
- Author:
- hendrik
-
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
-
AdminSign
public AdminSign()
-
-
Method Details
-
add
Adds a sign.- Parameters:
player- admin who put the signargs- zone x y text
-
delete
Removes the specified sign.- Parameters:
player- adminargs- sign number at index 1
-
list
Lists all signs.- 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.
-