CommandOwner

interface CommandOwner : PermissionIdNamespace

指令的所有者.

See also

Functions

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

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

Properties

parentPermission
Link copied to clipboard
abstract val parentPermission: Permission

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

Inheritors

ConsoleCommandOwner
Link copied to clipboard
Plugin
Link copied to clipboard

Extensions

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