Package games.stendhal.server.script
Class ServerReset
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.ServerReset
- All Implemented Interfaces:
Script
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
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
ServerReset
public ServerReset()
-
-
Method Details
-
execute
Description copied from interface:ScriptExecutes this script.- Specified by:
executein interfaceScript- Overrides:
executein classScriptImpl- Parameters:
admin- the admin who load it ornullon server start.args- the arguments the admin specified ornullon server start.
-