Package de.Keyle.MyPet.api


package de.Keyle.MyPet.api
Plugin-wide configuration, world grouping, and shared helpers.

MyPetGlobal holds every setting read from config.yml as a typed ConfigKey constant, grouped into nested sections that mirror the YAML layout. Values are hot-reloaded, so read them through MyPetGlobal.Section.KEY.get() at use time rather than caching them.

WorldGroup maps Bukkit worlds onto named groups, which is how pets are kept separate (or shared) between worlds and how MyPet is disabled per world. Util collects small shared helpers, including the sanitized MiniMessage instance that must be used for any player-controlled text.