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
Nested ClassesModifier and TypeClassDescriptionprotected classprotected class -
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidload(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:ScriptInitial load of this script.- Specified by:
loadin interfaceScript- Overrides:
loadin classScriptImpl- Parameters:
admin- the admin who load it ornullon server start.args- the arguments the admin specified ornullon server start.sandbox- all modifications to the game must be done using this object in order for the script to be unloadable
-