Interface IConfigSpigot

All Superinterfaces:
IBlockAnalyzerConfig, IConfig, IRestartable

public interface IConfigSpigot extends IConfig, IBlockAnalyzerConfig
Represents the configuration of the plugin for the Spigot platform.
  • Method Details

    • powerblockTypes

      Set<org.bukkit.Material> powerblockTypes()
      Gets the configured set of powerblock types.
      Returns:
      A set of powerblock types.
    • resourcePackEnabled

      boolean resourcePackEnabled()
      Checks if the resource pack is enabled.
      Returns:
      true if the resource pack is enabled, false otherwise.
    • guiMaterial

      org.bukkit.Material guiMaterial(StructureType type)
      Gets the material used for the GUI of a specific structure type.
      Parameters:
      type - The structure type for which to get the GUI material.
      Returns:
      The material used for the GUI of the specified structure type.
    • commandAliases

      List<String> commandAliases()
      Gets the list of command aliases.

      The first alias in the list is considered the primary command.

      Returns:
      A list of command aliases.
    • headCacheTimeout

      int headCacheTimeout()
      Gets the timeout for the head cache.
      Returns:
      The timeout in seconds for the head cache in seconds.
    • isProtectionHookEnabled

      boolean isProtectionHookEnabled(@Nullable IProtectionHookSpigotSpecification spec)
      Checks if a specific protection hook is enabled.
      Parameters:
      spec - The specification of the protection hook to check.
      Returns:
      true if the hook is enabled, false otherwise.