[This is preliminary documentation and is subject to change.]
Categorizes conditions that lead to server shutdowns.
Namespace: fCraftAssembly: fCraft (in fCraft.dll) Version: 0.6.3.2 (0.6.3.2)
Syntax
| C# |
public enum ShutdownReason
Members
| Member | Value | Description |
|---|---|---|
| ShutdownCommand | 0 | Server is shutting down, because someone called /Shutdown. |
| RestartCommand | 1 | Server is restarting, because someone called /Restart. |
| FailedToInitialize | 2 | InitLibrary or InitServer failed. |
| FailedToStart | 3 | StartServer failed. |
| Crashed | 4 | Server has experienced a non-recoverable crash. |
| ProcessClosing | 5 | Server process is being closed (e.g. frontend closed, Ctrl+C, etc) |
| RestartTimer | 6 | AutoRestart timer triggered. |
| RestartForUpdate | 7 | Updater should be ran, then server should be restarted. |
| ShutdownForUpdate | 8 | Updater should be ran, then server should NOT be restarted. |