Skip to content

ServerStopEvent

Namespace Mc.Scripting.Events · Kind struct (ref)

public ref struct ServerStopEvent : IEvent

Fired once when the server begins shutting down.

Id 2
Key mc:server_stop
Cancellable no
Fired by the engine yes

This event carries no data besides its header.

Member Description
static ushort CatalogueId { get; } Catalogue id (stable ABI).
static bool IsCancellable { get; } Whether handlers can cancel the event.
static string Key { get; } Registry key of the event.
public static ushort CatalogueId { get; }

Catalogue id (stable ABI).

public static bool IsCancellable { get; }

Whether handlers can cancel the event.

public static string Key { get; }

Registry key of the event.

IEvent