Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A set of events that fire before an actual action occurs. In most cases, you can potentially cancel or modify the impending event. Note that in before events any APIs that modify gameplay state will not function and will throw an error.
Properties
shutdown
read-only shutdown: ShutdownBeforeEventSignal;
Type: ShutdownBeforeEventSignal
Notes:
- This property can be read in early-execution mode.
startup
read-only startup: StartupBeforeEventSignal;
Type: StartupBeforeEventSignal
Notes:
- This property can be read in early-execution mode.
watchdogTerminate
read-only watchdogTerminate: WatchdogTerminateBeforeEventSignal;
Fires when the scripting watchdog shuts down the server. The can be due to using too much memory, or by causing significant slowdown or hang.
To prevent shutdown, set the event's cancel property to true.
Type: WatchdogTerminateBeforeEventSignal
Caution
This property is still in pre-release. Its signature may change or it may be removed in future releases.
Notes:
- This property can be read in early-execution mode.