Class ServerReset

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

public class ServerReset extends ScriptImpl
Kills the server the hard way without doing a normal shutdown. Do not use it unless the server has already crashed. You should warn connected players to logout if that is still possible. If the server is started in a loop, it will come up again: while sleep 60; do java -jar marauroa -c marauroa.ini -l; done
Author:
hendrik
  • Constructor Details

    • ServerReset

      public ServerReset()
  • Method Details

    • execute

      public void execute(Player admin, List<String> args)
      Description copied from interface: Script
      Executes this script.
      Specified by:
      execute in interface Script
      Overrides:
      execute 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.