Class 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

public class Region extends AbstractCommand
  • 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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    net.kyori.adventure.text.Component
     
    Optional<net.kyori.adventure.text.Component>
    extendedDescription(org.spongepowered.api.command.CommandCause cause)
     
    List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>>
     
    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
     
    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

  • 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

      public net.kyori.adventure.text.Component shortDescription(Locale locale)
      Specified by:
      shortDescription in interface sawfowl.commandpack.api.commands.raw.RawCommand
      Overrides:
      shortDescription in class AbstractCommand
    • extendedDescription

      public net.kyori.adventure.text.Component extendedDescription(Locale locale)
    • permission

      public String permission()
    • command

      public String command()
    • getChilds

      public List<sawfowl.commandpack.api.commands.raw.RawCommand> getChilds()
      Specified by:
      getChilds in class AbstractCommand
    • getArgs

      public List<sawfowl.commandpack.api.commands.raw.arguments.RawArgument<?>> getArgs()
      Specified by:
      getArgs in class AbstractCommand
    • 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 interface sawfowl.commandpack.api.commands.PluginCommand
      Overrides:
      getCommandSettings in class AbstractCommand