Interface Settings

All Superinterfaces:
DataSerializable

public interface Settings extends DataSerializable
Additional command settings.
  • Method Details

    • builder

      static Settings.Builder builder()
    • unregisteredBuilder

      static Settings.Builder unregisteredBuilder()
      Builders register later than the commands.
      Use this method as needed.
    • getAliases

      String[] getAliases()
      Command aliases.
    • getAliasesList

      List<String> getAliasesList()
      Command aliases.
    • containsAlias

      boolean containsAlias(String value)
      Whether the command contains the specified alias.
    • getCooldown

      long getCooldown()
      The time between uses of the command.
    • getDelay

      Delay getDelay()
      Delayed command execution.
    • getPrice

      Price getPrice()
      Command price.
    • isEnable

      boolean isEnable()
      Whether the registration of the command is enabled.
    • isAutoComplete

      @Nullable Optional<Boolean> isAutoComplete()