GivePermissonCommand

class GivePermissonCommand : Command

Manage player permissons

Author

Interfiber

Parameters

instance

The instance to save

Constructors

GivePermissonCommand
Link copied to clipboard
fun GivePermissonCommand()
The instance to save

Functions

addConditionalSyntax
Link copied to clipboard
@NotNull()
open fun addConditionalSyntax(@Nullable() commandCondition: @Nullable() CommandCondition?, @NotNull() executor: @NotNull() CommandExecutor, @NotNull() vararg args: @NotNull() Argument<*>): @NotNull() MutableCollection<CommandSyntax>
addSubcommand
Link copied to clipboard
open fun addSubcommand(@NotNull() command: @NotNull() Command)
addSyntax
Link copied to clipboard
@NotNull()
open fun addSyntax(@NotNull() executor: @NotNull() CommandExecutor, @NotNull() vararg args: @NotNull() Argument<*>): @NotNull() MutableCollection<CommandSyntax>
@ApiStatus.Experimental()
@NotNull()
open fun addSyntax(@NotNull() executor: @NotNull() CommandExecutor, @NotNull() format: @NotNull() String): @NotNull() MutableCollection<CommandSyntax>
getAliases
Link copied to clipboard
@Nullable()
open fun getAliases(): Array<@Nullable() String>?
getCondition
Link copied to clipboard
@Nullable()
open fun getCondition(): @Nullable() CommandCondition?
getDefaultExecutor
Link copied to clipboard
@Nullable()
open fun getDefaultExecutor(): @Nullable() CommandExecutor?
getName
Link copied to clipboard
@NotNull()
open fun getName(): @NotNull() String
getNames
Link copied to clipboard
@NotNull()
open fun getNames(): Array<@NotNull() String>
getSubcommands
Link copied to clipboard
@NotNull()
open fun getSubcommands(): @NotNull() MutableList<Command>
getSyntaxes
Link copied to clipboard
@NotNull()
open fun getSyntaxes(): @NotNull() MutableCollection<CommandSyntax>
getSyntaxesStrings
Link copied to clipboard
@ApiStatus.Experimental()
@NotNull()
open fun getSyntaxesStrings(): @NotNull() MutableSet<String>
getSyntaxesTree
Link copied to clipboard
@ApiStatus.Experimental()
@NotNull()
open fun getSyntaxesTree(): @NotNull() String
globalListener
Link copied to clipboard
open fun globalListener(@NotNull() sender: @NotNull() CommandSender, @NotNull() context: @NotNull() CommandContext, @NotNull() command: @NotNull() String)
setArgumentCallback
Link copied to clipboard
open fun setArgumentCallback(@NotNull() callback: @NotNull() ArgumentCallback, @NotNull() argument: @NotNull() Argument<*>)
setCondition
Link copied to clipboard
open fun setCondition(@Nullable() commandCondition: @Nullable() CommandCondition?)
setDefaultExecutor
Link copied to clipboard
open fun setDefaultExecutor(@Nullable() executor: @Nullable() CommandExecutor?)