Class Configuration

java.lang.Object
dev.satyrn.papermc.api.configuration.v1.ConfigurationNode<Void>
dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
dev.satyrn.archersofdecay.configuration.Configuration

public final class Configuration extends dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer
The configuration of the plugin.
Since:
0.0.0-SNAPSHOT
Author:
Isabel Maskrey
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Configuration for arrows of decay fired by wither skeleton archers.
    final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode
    Whether debug mode should be enabled for the plugin.
    final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode
    Whether arrows should drop from wither skeletons who die holding a bow.
    final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode
    Whether wither skeletons fire flaming arrows regardless of the enchantments present on their bows.
    final @NotNull dev.satyrn.papermc.api.configuration.v1.StringNode
    The locale to use for internationalizing plugin chat messages.
    final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode
    Whether metrics should be collected for the plugin.
    The chance that a skeleton will be replaced with a wither skeleton archer.
    final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode
    Whether armor should be transferred from a spawned skeleton to the replacement wither skeleton.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Configuration(@NotNull org.bukkit.plugin.Plugin plugin)
    Creates a new configuration instance for the plugin.
  • Method Summary

    Methods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationContainer

    defaultValue, value

    Methods inherited from class dev.satyrn.papermc.api.configuration.v1.ConfigurationNode

    getConfig, getName, getPath, getPath, getPlugin, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • locale

      @NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.StringNode locale
      The locale to use for internationalizing plugin chat messages.
      Since:
      0.0.0-SNAPSHOT
    • spawnChances

      @NotNull public final @NotNull SpawnChancesConfiguration spawnChances
      The chance that a skeleton will be replaced with a wither skeleton archer.
      Since:
      0.0.0-SNAPSHOT
    • transferArmor

      @NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode transferArmor
      Whether armor should be transferred from a spawned skeleton to the replacement wither skeleton.
      Since:
      0.0.0-SNAPSHOT
    • flamingArrows

      @NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode flamingArrows
      Whether wither skeletons fire flaming arrows regardless of the enchantments present on their bows. This matches vanilla functionality but if decay arrows are enabled it might be a bit much.
      Since:
      0.0.0-SNAPSHOT
    • arrowsOfDecay

      @NotNull public final @NotNull ArrowsOfDecayConfiguration arrowsOfDecay
      Configuration for arrows of decay fired by wither skeleton archers.
      Since:
      0.0.0-SNAPSHOT
    • dropArrows

      @NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode dropArrows
      Whether arrows should drop from wither skeletons who die holding a bow.
      Since:
      0.0.0-SNAPSHOT
    • debug

      @NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode debug
      Whether debug mode should be enabled for the plugin.
      Since:
      0.0.0-SNAPSHOT
    • metrics

      @NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.BooleanNode metrics
      Whether metrics should be collected for the plugin.
      Since:
      0.0.0-SNAPSHOT
  • Constructor Details

    • Configuration

      public Configuration(@NotNull @NotNull org.bukkit.plugin.Plugin plugin)
      Creates a new configuration instance for the plugin.
      Parameters:
      plugin - The parent plugin.
      Since:
      0.0.0-SNAPSHOT