Class MyPetGlobal

java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal

public final class MyPetGlobal extends Object
Plugin-wide settings from config.yml, each a ConfigKey declared as a public static final field — the single source of truth for global config, mirroring the per-pet ConfigKey fields on each PetXxx class. Read with MyPetGlobal.Section.KEY.get(); values are hot-reloaded by ConfigKeyRegistry.loadGlobalsFromYaml.

Sections are nested classes matching the legacy Configuration layout. The static initializer force-loads every nested section so their field initializers fire and register with ConfigKeyRegistry (the registry triggers this via ensureGlobalsLoaded).