Package games.stendhal.server.script
Class OfflineAdminlevel
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.AbstractOfflineAction
games.stendhal.server.script.OfflineAdminlevel
- All Implemented Interfaces:
Script
Changes the admin level of an offline player.
- 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.script.AbstractOfflineAction
execute
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
OfflineAdminlevel
public OfflineAdminlevel()
-
-
Method Details
-
validateParameters
validates the parameters, sends an error message, if something is wrong with them- Specified by:
validateParameters
in classAbstractOfflineAction
- Parameters:
admin
- admin executing the scriptargs
- arguments for the script- Returns:
- true if the parameters are valid, false otherwise
-
process
processes the requested operation on the loaded object- Specified by:
process
in classAbstractOfflineAction
- Parameters:
admin
- admin executing the scriptobject
- the RPObject of the player loaded from the databaseargs
- arguments for the script
-