Package games.stendhal.server.script
Class ServerShutdown
java.lang.Object
games.stendhal.server.core.scripting.ScriptImpl
games.stendhal.server.script.ServerShutdown
- All Implemented Interfaces:
Script
Shuts down the server in a regular fashion. 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:
- M. Fuchs
-
Field Summary
Fields inherited from class games.stendhal.server.core.scripting.ScriptImpl
sandbox
-
Constructor Summary
-
Method Summary
Methods inherited from class games.stendhal.server.core.scripting.ScriptImpl
load, unload
-
Constructor Details
-
ServerShutdown
public ServerShutdown()
-
-
Method Details
-
execute
Description copied from interface:Script
Executes this script.- Specified by:
execute
in interfaceScript
- Overrides:
execute
in classScriptImpl
- Parameters:
admin
- the admin who load it ornull
on server start.args
- the arguments the admin specified ornull
on server start.
-