Class AdminMaker

java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.AdminMaker
All Implemented Interfaces:
Script

public class AdminMaker extends ScriptImpl
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
  • Constructor Details

    • AdminMaker

      public AdminMaker()
  • Method Details

    • load

      public void load(Player admin, List<String> args, ScriptingSandbox sandbox)
      Description copied from interface: Script
      Initial load of this script.
      Specified by:
      load in interface Script
      Overrides:
      load in class ScriptImpl
      Parameters:
      admin - the admin who load it or null on server start.
      args - the arguments the admin specified or null on server start.
      sandbox - all modifications to the game must be done using this object in order for the script to be unloadable