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
FieldsModifier and TypeFieldDescriptionfinal @NotNull ArrowsOfDecayConfiguration
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.final @NotNull SpawnChancesConfiguration
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
ConstructorsConstructorDescriptionConfiguration
(@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
-
Field Details
-
locale
@NotNull public final @NotNull dev.satyrn.papermc.api.configuration.v1.StringNode localeThe locale to use for internationalizing plugin chat messages.- Since:
- 0.0.0-SNAPSHOT
-
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 transferArmorWhether 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 flamingArrowsWhether 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
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 dropArrowsWhether 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 debugWhether 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 metricsWhether 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
-