Package de.Keyle.MyPet.api
Class MyPetGlobal
java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal
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).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classPet saturation: how it drains, how it is restored, and what starving costs.static final classWhich experience curve pets level along.static final classAssorted server-wide behaviour that does not belong to a larger system.static final classLimits and presentation for pet names.static final classHow strictly permission nodes are enforced.static final classWhere pets are persisted, and how that storage is reached.static final classHow long a dead pet takes to come back, and what reviving it costs.static final classSkilltree assignment rules and the fee for switching.static final classThe built-in update checker and downloader.static final classBrowser-based config editor (`/mypet editor`) — relay endpoints + on/off. -
Method Summary