Jump to content

/Restart: Difference between revisions

From fCraft Wiki
No edit summary
Hellenion (talk | contribs)
explained --norestart behaviour
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{alert|This command is very unreliable under Mono. Use {{cmd|Shutdown}} instead!}}
{{CommandBox
{{CommandBox
|name=Restart
|name=Restart
|purpose=Restarting down the server.
|purpose=Restarts the server.
|aliases=
|aliases=
|uses=/Restart [Delay] [Message]
|uses=/Restart <Delay>
 
/Restart <Delay> <Message>
 
/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 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.


Restarting the server with 5 seconds warning. If you want to totally shut down the server, you can use [[/Shutdown]]. You can also cancel a restart when counting down using <code>/Shutdown abort</code>
==<code>/Restart <Delay></code>==
:Restarts the server after a specified delay.


==<code>/Restart [Message]</code>==
==<code>/Restart <Delay> <Message></code>==
Restarting the server with a message displaying to all players on the server.
:Restarts the server after a specified delay. The given message is announced in the countdown.


==<code>/Restart [Delay]</code>==
==<code>/Restart Abort</code>==
Restarting down the server with chosen amount of seconds warning.
:Aborts any current shutdown or restart countdown. Equivalent to {{cmd|Shutdown|abort}}


==<code>/Restart [Delay] [Message]</code>==
{{LastUpdated|1650}}
Restarting down the server with chosen amount of seconds warning and with a message displaying to all players on the server.

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