CommandsRegisteredEvent
Namespace Mc.Scripting.Events · Kind struct (ref)
public ref struct CommandsRegisteredEvent : IEventThe 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.
Properties
Section titled “Properties”| 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. |
CatalogueId
Section titled “CatalogueId”public static ushort CatalogueId { get; }Catalogue id (stable ABI).
IsCancellable
Section titled “IsCancellable”public static bool IsCancellable { get; }Whether handlers can cancel the event.
public static string Key { get; }Registry key of the event.