Package sawfowl.regionguard.commands
Class Region
java.lang.Object
sawfowl.regionguard.commands.abstractcommands.AbstractCommand
sawfowl.regionguard.commands.Region
- 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
-
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 inherited from class sawfowl.regionguard.commands.abstractcommands.AbstractCommand
plugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommand()
net.kyori.adventure.text.Component
extendedDescription
(Locale locale) Optional<net.kyori.adventure.text.Component>
extendedDescription
(org.spongepowered.api.command.CommandCause cause) List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>>
getArgs()
List<sawfowl.commandpack.api.commands.raw.RawCommand>
sawfowl.commandpack.api.data.command.Settings
void
process
(org.spongepowered.api.command.CommandCause cause, net.kyori.adventure.audience.Audience audience, Locale locale, boolean isPlayer, String[] args, org.spongepowered.api.command.parameter.ArgumentReader.Mutable arguments) net.kyori.adventure.text.Component
shortDescription
(Locale locale) Optional<net.kyori.adventure.text.Component>
shortDescription
(org.spongepowered.api.command.CommandCause cause) net.kyori.adventure.text.Component
usage
(org.spongepowered.api.command.CommandCause cause) Methods inherited from class sawfowl.regionguard.commands.abstractcommands.AbstractCommand
getArguments, getChildExecutors, getComponent, getContainer, getEmptyCompletion
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
Methods inherited from interface sawfowl.commandpack.api.commands.PluginCommand
checkCooldown, delay, economy, exception, exception, exception, exception, exception, exception, exception, exception, getComponent, getComponent, getCooldowns, getListTexts, getLocale, getPluginLocale, getText, getText, isEnable, 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, 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, register
-
Constructor Details
-
Region
-
-
Method Details
-
process
public void process(org.spongepowered.api.command.CommandCause cause, net.kyori.adventure.audience.Audience audience, Locale locale, boolean isPlayer, String[] args, org.spongepowered.api.command.parameter.ArgumentReader.Mutable arguments) throws org.spongepowered.api.command.exception.CommandException - Throws:
org.spongepowered.api.command.exception.CommandException
-
shortDescription
- Specified by:
shortDescription
in interfacesawfowl.commandpack.api.commands.raw.RawCommand
- Overrides:
shortDescription
in classAbstractCommand
-
extendedDescription
-
permission
-
command
-
getChilds
- Specified by:
getChilds
in classAbstractCommand
-
getArgs
- Specified by:
getArgs
in classAbstractCommand
-
shortDescription
public Optional<net.kyori.adventure.text.Component> shortDescription(org.spongepowered.api.command.CommandCause cause) -
extendedDescription
public Optional<net.kyori.adventure.text.Component> extendedDescription(org.spongepowered.api.command.CommandCause cause) -
usage
public net.kyori.adventure.text.Component usage(org.spongepowered.api.command.CommandCause cause) -
getCommandSettings
public sawfowl.commandpack.api.data.command.Settings getCommandSettings()- Specified by:
getCommandSettings
in interfacesawfowl.commandpack.api.commands.PluginCommand
- Overrides:
getCommandSettings
in classAbstractCommand
-