Skip to content

CommandsRegisteredEvent

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

public ref struct CommandsRegisteredEvent : IEvent

The command tree changed (a plugin registered or removed commands, or a permission changed). Fired once per tick at most, before the trees are resent to the players.

Id 101
Key mc:commands_registered
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