![]() |
fCraft
0.636
Custom Minecraft Server
|
Describes the circumstances of server shutdown. More...
Public Member Functions | |
| ShutdownParams (ShutdownReason reason, TimeSpan delay, bool restart) | |
| ShutdownParams (ShutdownReason reason, TimeSpan delay, bool restart,[CanBeNull] string customReason,[CanBeNull] Player initiatedBy) | |
Properties | |
| ShutdownReason | Reason [get, set] |
| string | ReasonString [get] |
| TimeSpan | Delay [get, set] |
| Delay before shutting down. | |
| bool | Restart [get, set] |
| Whether the server is expected to restart itself after shutting down. | |
| Player | InitiatedBy [get, set] |
| Player who initiated the shutdown. May be null or Console. | |
Describes the circumstances of server shutdown.
| fCraft.ShutdownParams.ShutdownParams | ( | ShutdownReason | reason, |
| TimeSpan | delay, | ||
| bool | restart | ||
| ) |
| fCraft.ShutdownParams.ShutdownParams | ( | ShutdownReason | reason, |
| TimeSpan | delay, | ||
| bool | restart, | ||
| [CanBeNull] string | customReason, | ||
| [CanBeNull] Player | initiatedBy | ||
| ) |
|
getset |
Delay before shutting down.
|
getset |
Player who initiated the shutdown. May be null or Console.
|
getset |
|
get |
|
getset |
Whether the server is expected to restart itself after shutting down.
1.8.2