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.ComponentextendedDescription(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.Settingsvoidprocess(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.ComponentshortDescription(Locale locale) Optional<net.kyori.adventure.text.Component>shortDescription(org.spongepowered.api.command.CommandCause cause) net.kyori.adventure.text.Componentusage(org.spongepowered.api.command.CommandCause cause) Methods inherited from class sawfowl.regionguard.commands.abstractcommands.AbstractCommand
getArguments, getChildExecutors, getComponent, getContainer, getEmptyCompletionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.spongepowered.api.command.Command
helpMethods 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, trackingNameMethods 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:
shortDescriptionin interfacesawfowl.commandpack.api.commands.raw.RawCommand- Overrides:
shortDescriptionin classAbstractCommand
-
extendedDescription
-
permission
-
command
-
getChilds
- Specified by:
getChildsin classAbstractCommand
-
getArgs
- Specified by:
getArgsin 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:
getCommandSettingsin interfacesawfowl.commandpack.api.commands.PluginCommand- Overrides:
getCommandSettingsin classAbstractCommand
-