Class AbstractCommand
java.lang.Object
sawfowl.regionguard.commands.abstractcommands.AbstractCommand
- All Implemented Interfaces:
org.spongepowered.api.command.Command
,org.spongepowered.api.command.Command.Raw
,sawfowl.commandpack.api.commands.PluginCommand
,sawfowl.commandpack.api.commands.raw.RawCommand
- Direct Known Subclasses:
AbstractPlayerCommand
,Blocks
,Buy
,Claims
,Limits
,ListRegions
,Members
,Region
,Sell
,Set
,Subdivisions
public abstract class AbstractCommand
extends Object
implements sawfowl.commandpack.api.commands.raw.RawCommand
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.spongepowered.api.command.Command
org.spongepowered.api.command.Command.Builder, org.spongepowered.api.command.Command.Parameterized, org.spongepowered.api.command.Command.Raw
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>>
getArgs()
abstract List<sawfowl.commandpack.api.commands.raw.RawCommand>
sawfowl.commandpack.api.data.command.Settings
net.kyori.adventure.text.Component
getComponent
(Object[] path) org.spongepowered.plugin.PluginContainer
List<org.spongepowered.api.command.CommandCompletion>
net.kyori.adventure.text.Component
shortDescription
(Locale locale) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.spongepowered.api.command.Command
help, usage
Methods inherited from interface sawfowl.commandpack.api.commands.PluginCommand
checkCooldown, command, delay, economy, exception, exception, exception, exception, exception, exception, exception, exception, getComponent, getComponent, getCooldowns, getListTexts, getLocale, getPluginLocale, getText, getText, isEnable, permission, sendPaginationList, success, text, text, timeFormat, trackingName
Methods inherited from interface sawfowl.commandpack.api.commands.raw.RawCommand
canExecute, checkArguments, checkChildAndArguments, commandTree, complete, completeArgs, completeChild, containsArgs, containsChild, enableAutoComplete, exceptionAppendUsage, exceptionAppendUsage, extendedDescription, extendedDescription, getArgument, getArgument, getArgument, getBigDecimal, getBigDecimal, getBoolean, getBoolean, getCurrency, getCurrency, getDouble, getDouble, getDurationArg, getDurationArg, getEnchantmentType, getEnchantmentType, getInteger, getInteger, getLocale, getLocale, getLong, getLong, getPlayer, getPlayer, getString, getString, getWorld, getWorld, getWorldType, getWorldType, parseDouble, parseDuration, parseInt, process, process, register, shortDescription
-
Field Details
-
plugin
-
-
Constructor Details
-
AbstractCommand
-
-
Method Details
-
getChilds
-
getArgs
-
getCommandSettings
public sawfowl.commandpack.api.data.command.Settings getCommandSettings()- Specified by:
getCommandSettings
in interfacesawfowl.commandpack.api.commands.PluginCommand
-
getComponent
- Specified by:
getComponent
in interfacesawfowl.commandpack.api.commands.PluginCommand
-
getContainer
public org.spongepowered.plugin.PluginContainer getContainer()- Specified by:
getContainer
in interfacesawfowl.commandpack.api.commands.PluginCommand
-
getEmptyCompletion
- Specified by:
getEmptyCompletion
in interfacesawfowl.commandpack.api.commands.raw.RawCommand
-
getChildExecutors
- Specified by:
getChildExecutors
in interfacesawfowl.commandpack.api.commands.raw.RawCommand
-
getArguments
- Specified by:
getArguments
in interfacesawfowl.commandpack.api.commands.raw.RawCommand
-
shortDescription
- Specified by:
shortDescription
in interfacesawfowl.commandpack.api.commands.raw.RawCommand
-