Jump to content

/Restart: Difference between revisions

From fCraft Wiki
BobKare (talk | contribs)
/Shutdown => /Restart
Hellenion (talk | contribs)
explained --norestart behaviour
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{alert|This command is very unreliable under Mono. Use {{cmd|Shutdown}} instead!}}
{{CommandBox
{{CommandBox
|name=Restart
|name=Restart
Line 9: Line 10:
/Restart Abort
/Restart Abort
|cat=Maintenance
|cat=Maintenance
|perm=ShutdownServer
|perm={{rperm|ShutdownServer}}
|console=Yes
|console=Yes
|v=0.500
|v=0.500
|}}
|}}
Restarts the server remotely. If you want the server to shut itself down, use [[/Shutdown]] instead.
Restarts the server remotely. If you want the server to shut itself down and not start back up, use {{cmd|Shutdown}} instead.
 
If the <CODE>--norestart</CODE> [[List_of_command-line_options|option]] is given, this command will simply shut down the server.


==<code>/Restart <Delay></code>==
==<code>/Restart <Delay></code>==
Line 22: Line 25:


==<code>/Restart Abort</code>==
==<code>/Restart Abort</code>==
:Aborts any current shutdown or restart countdown. Equivalent to <code>/Shutdown abort</code>
:Aborts any current shutdown or restart countdown. Equivalent to {{cmd|Shutdown|abort}}


{{LastUpdated|1400}}
{{LastUpdated|1650}}

Latest revision as of 20:55, 13 November 2012

This command is very unreliable under Mono. Use /Shutdown instead!
Command
Restart

Restarts the server.

Usage

/Restart <Delay>

/Restart <Delay> <Message>

/Restart Abort

CategoryMaintenance
Required permissionsShutdownServer
Usable from console?Yes
Introduced infCraft 0.500

Restarts the server remotely. If you want the server to shut itself down and not start back up, use /Shutdown instead.

If the --norestart option is given, this command will simply shut down the server.

/Restart <Delay>

Restarts the server after a specified delay.

/Restart <Delay> <Message>

Restarts the server after a specified delay. The given message is announced in the countdown.

/Restart Abort

Aborts any current shutdown or restart countdown. Equivalent to /Shutdown abort