The data structure that holds the settings of a registered command.

interface RegisteredCommandSettingsData {
    commandSettingsId: string;
    enabled?: boolean;
    requiredPermissionLevel?: string | number;
    requiredTags?: string[];
    requiresOp?: boolean;
    settings_version: string;
    type: "built-in" | "custom" | "unknown";
}

Properties

commandSettingsId: string

The ID of the dynamic property that holds the command settings.

enabled?: boolean

Whether or not the command is enabled.

requiredPermissionLevel?: string | number

The required permission level to execute the command.

requiredTags?: string[]

The tags required to execute the command.

Only applies when Ultra Security Mode is disabled.

requiresOp?: boolean

Whether or not the command requires operator status to execute.

settings_version: string

The format version the command settings were last saved in.

type: "built-in" | "custom" | "unknown"

The type of command.