CommandOwner

指令的所有者. JvmPlugin 是一个 CommandOwner.

See also

取消注册所有属于一个 CommandOwner 的指令

获取已经注册了的属于一个 CommandOwner 的指令列表.

Inheritors

Functions

Link copied to clipboard
abstract fun permissionId(name: String): PermissionId

创建一个此命名空间下的 PermitteeId.

Link copied to clipboard

Properties

Link copied to clipboard

在构造指令时, Command.permission 默认会使用 parentPermission 作为 Permission.parent

Link copied to clipboard
@get:JvmName(name = "registeredCommands0")
val CommandOwner.registeredCommands: List<Command>