BasicsCommand

class BasicsCommand : Command

Represents a registered command. This is what is actually registered to Bukkit.

Properties

Link copied to clipboard
Link copied to clipboard

Command info

Link copied to clipboard
Link copied to clipboard
var timings: CustomTimingsHandler

Functions

Link copied to clipboard

Disable this command's executor by setting it to null. Disabled commands will always return true and print a message to the sender.

Link copied to clipboard
open override fun execute(sender: CommandSender, commandLabel: String, origArgs: Array<out String>): Boolean
Link copied to clipboard
@NotNull
open fun getAliases(): MutableList<String>
Link copied to clipboard
@NotNull
open fun getDescription(): String
Link copied to clipboard
@NotNull
open fun getLabel(): String
Link copied to clipboard
@NotNull
open fun getName(): String
Link copied to clipboard
@Nullable
open fun getPermission(): String?
Link copied to clipboard
@Nullable
open fun getPermissionMessage(): String?
Link copied to clipboard
@NotNull
open fun getUsage(): String
Link copied to clipboard
open fun isRegistered(): Boolean
Link copied to clipboard
open fun register(@NotNull p0: CommandMap): Boolean
Link copied to clipboard
@NotNull
open fun setAliases(@NotNull p0: MutableList<String>): Command
Link copied to clipboard
@NotNull
open fun setDescription(@NotNull p0: String): Command
Link copied to clipboard
open fun setLabel(@NotNull p0: String): Boolean
Link copied to clipboard
open fun setName(@NotNull p0: String): Boolean
Link copied to clipboard
open fun setPermission(@Nullable p0: String?)
Link copied to clipboard
@NotNull
open fun setPermissionMessage(@Nullable p0: String?): Command
Link copied to clipboard
@NotNull
open fun setUsage(@NotNull p0: String): Command
Link copied to clipboard
open override fun tabComplete(sender: CommandSender, alias: String, args: Array<out String>, location: Location?): List<String>
@NotNull
open fun tabComplete(@NotNull p0: CommandSender, @NotNull p1: String, @NotNull p2: Array<String>): MutableList<String>
Link copied to clipboard
open fun testPermission(@NotNull p0: CommandSender): Boolean
Link copied to clipboard
open fun testPermissionSilent(@NotNull p0: CommandSender): Boolean
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun unregister(@NotNull p0: CommandMap): Boolean