Package games.stendhal.server.script
Class AdminMaker
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.AdminMaker
- All Implemented Interfaces:
Script
Creates a portable NPC who gives ALL players powerful items, increases their
level and makes them admins. This is used on test-systems only. Therefore it
is disabled in default install and you have to use this parameter:
-Dstendhal.testserver=junk as a vm argument.
As admin uses /script AdminMaker.class to summon her right next to him/her.
Please unload it with /script -unload AdminMaker.class
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected class
protected class
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
load(Player admin, List<String> args, ScriptingSandbox sandbox)
Initial load of this script.Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
execute, unload
-
Constructor Details
-
AdminMaker
public AdminMaker()
-
-
Method Details
-
load
Description copied from interface:Script
Initial load of this script.- Specified by:
load
in interfaceScript
- Overrides:
load
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.sandbox
- all modifications to the game must be done using this object in order for the script to be unloadable
-