BukkitCommandWrapper

class BukkitCommandWrapper(val structure: Structure<CommandSender>, val parsingFailureHandler: ParsingFailureHandler<CommandSender>) : Command, PluginIdentifiableCommand

Constructors

Link copied to clipboard
constructor(structure: Structure<CommandSender>, parsingFailureHandler: ParsingFailureHandler<CommandSender>)

Properties

Link copied to clipboard
Link copied to clipboard
val structure: Structure<CommandSender>
Link copied to clipboard
var timings: Timing

Functions

Link copied to clipboard
@ApiStatus.Internal
open fun canBeOverriden(): Boolean
Link copied to clipboard
open override fun execute(sender: CommandSender, label: String, args: Array<String>): Boolean
Link copied to clipboard
@NotNull
open fun getAliases(): @NotNull MutableList<String>
Link copied to clipboard
@NotNull
open fun getDescription(): @NotNull String
Link copied to clipboard
@NotNull
open fun getLabel(): @NotNull String
Link copied to clipboard
@NotNull
open fun getName(): @NotNull String
Link copied to clipboard
@Nullable
open fun getPermission(): @Nullable String?
Link copied to clipboard
@Nullable
open fun getPermissionMessage(): @Nullable String?
Link copied to clipboard
open override fun getPlugin(): Plugin
Link copied to clipboard
@NotNull
open fun getTimingName(): @NotNull String
Link copied to clipboard
@NotNull
open fun getUsage(): @NotNull String
Link copied to clipboard
open fun isRegistered(): Boolean
Link copied to clipboard
open fun permissionMessage(): @Nullable Component?
open fun permissionMessage(p0: @Nullable Component?)
Link copied to clipboard
open fun register(@NotNull p0: @NotNull CommandMap): Boolean
Link copied to clipboard
@NotNull
open fun setAliases(@NotNull p0: @NotNull MutableList<String>): @NotNull Command
Link copied to clipboard
@NotNull
open fun setDescription(@NotNull p0: @NotNull String): @NotNull Command
Link copied to clipboard
open fun setLabel(@NotNull p0: @NotNull String): Boolean
Link copied to clipboard
open fun setName(@NotNull p0: @NotNull String): Boolean
Link copied to clipboard
open fun setPermission(@Nullable p0: @Nullable String?)
Link copied to clipboard
@NotNull
open fun setPermissionMessage(@Nullable p0: @Nullable String?): @NotNull Command
Link copied to clipboard
@NotNull
open fun setUsage(@NotNull p0: @NotNull String): @NotNull Command
Link copied to clipboard
open override fun tabComplete(sender: CommandSender, alias: String, args: Array<out String>?): List<String?>
open override fun tabComplete(sender: CommandSender, alias: String, args: Array<out String>?, location: Location?): List<String?>
Link copied to clipboard
open fun testPermission(@NotNull p0: @NotNull CommandSender): Boolean
Link copied to clipboard
open override fun testPermissionSilent(target: CommandSender): Boolean
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun unregister(@NotNull p0: @NotNull CommandMap): Boolean