CommandSourceWrapper

A wrapper class of command source.

Inheritors

Types

Link copied to clipboard
enum Type
Type

Functions

Link copied to clipboard
@NotNull
abstract fun audience(): @NotNull Audience
Gets command source as kyori class.
Link copied to clipboard
abstract fun hasPermission(@NotNull perm: @NotNull String): Boolean
Checks this command source has some permission.
Link copied to clipboard
abstract fun isOp(): Boolean
Checks this command source is op.
Link copied to clipboard
@NotNull
abstract fun type(): @NotNull CommandSourceWrapper.Type
Returns command source's type