For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/enums/CustomCommandErrorReason.md.

Enumeration: CustomCommandErrorReason

error

Beta

自定义命令注册失败的原因。

Reason why custom command registration failed.

Enumeration Members

AlreadyRegistered

AlreadyRegistered: "AlreadyRegistered"

Beta

Remarks

命令名称已注册。

Command name already registered.


EnumDependencyMissing

EnumDependencyMissing: "EnumDependencyMissing"

Beta

Remarks

自定义命令引用了一个尚未注册的枚举。

Custom Command references an enum that has not been registered.


NamespaceMismatch

NamespaceMismatch: "NamespaceMismatch"

Beta

Remarks

提供的自定义命令命名空间与此附加包之前的注册不匹配。

Supplied Custom Command namespace does not match previous registrations for this add-on.


ParameterLimit

ParameterLimit: "ParameterLimit"

Beta

Remarks

在 CustomCommand 中定义了太多命令参数。

Too many command parameters defined in CustomCommand.


RegistryInvalid

RegistryInvalid: "RegistryInvalid"

Beta

Remarks

在世界初始化事件之后无法访问自定义命令注册表。

Custom command registry can not be accessed after world initialized event.


RegistryReadOnly

RegistryReadOnly: "RegistryReadOnly"

Beta

Remarks

重载期间不能重新定义命令参数。只有脚本闭包本身可以更改。

Command parameters cannot be redefined during reload. Only the script closure itself can be changed.


UnexpectedEnumName

实验性

UnexpectedEnumName: "UnexpectedEnumName"

Beta

Remarks

非枚举类型的命令参数不能使用 enumName。

Non enum type command parameters cannot use enumName.

同领域相关