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