Logger config reference
logger.{ext} stores logger settings. On Bukkit it lives in the plugin config
folder. On Fabric it is namespaced under config/<modid>/ by default.
Formats:
- JSON/JSONC by default
- YAML/TOML when the format helpers are available
Minimal example
yaml
Key sections
plugin-name / short-name
Auto-filled on first run and used in prefix rendering. short-name is used by
PrefixMode.SHORT.
prefix
chat-mode/console-mode:NONE,SHORT,FULL,CUSTOMcustom: custom prefix string forCUSTOMuse-gradient-chat/use-gradient-console: apply gradient to prefix
defaults
target:CHAT,CONSOLE,BOTHtext-max-length: max JSON length (Fabric only)placeholder-engine-order: preferred external placeholder orderminiplaceholders-mode:COMPONENTorTAGpb4-mode:COMPONENTorRAW
chat / console
Color palettes and gradients. Set auto-generate-colors to false to force
custom palettes.
help
Controls the built-in help renderer formatting and pagination.
sub-loggers
Per-prefix enable flags for logger.withPrefix(...) instances.