Package com.bencodez.advancedcore
Class AdvancedCoreConfigOptions
java.lang.Object
com.bencodez.advancedcore.AdvancedCoreConfigOptions
Configuration options for AdvancedCore plugin. This class manages all
configuration settings loaded from the config file.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new AdvancedCoreConfigOptions with default values. -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.SoundGets the click sound based on the configured sound string.voidload(AdvancedCorePlugin plugin) Loads configuration options from the YML configuration file.
-
Constructor Details
-
AdvancedCoreConfigOptions
public AdvancedCoreConfigOptions()Constructs a new AdvancedCoreConfigOptions with default values.
-
-
Method Details
-
getClickSoundSound
public org.bukkit.Sound getClickSoundSound()Gets the click sound based on the configured sound string.- Returns:
- The Sound object for click sound, or null if set to "none"
-
load
Loads configuration options from the YML configuration file.- Parameters:
plugin- The AdvancedCore plugin instance
-