Messages
plugins/AstralMobs/messages.yml holds player-facing strings sent by the plugin. It is loaded into the MobsMessages enum by AstralMobs#loadConfiguration via AstralPlugin#loadEnum. Each enum constant maps to a kebab-case YAML key derived from its name (RELOADING → reloading); a constant with no matching key logs a "Missing configuration key" warning at startup and falls back to its raw toString() when sent.
Values are MiniMessage and resolve AstralCore's global named tags (<success>, <warning>, <error>, <info>) at send time, defined once in AstralCore's config.yml.
AstralMobs sends exactly three messages, all tied to the /mobs reload command:
Key | Enum Constant | When |
|---|---|---|
|
| Sent at the start of |
|
| Sent on successful reload. Followed by a hard-coded |
|
| Sent if configuration parsing throws an exception. Details are logged to the server console; no exception details appear in the player message. |