Config Text vs Direct MiniMessage
Config Text vs Direct MiniMessage
Section titled “Config Text vs Direct MiniMessage”Use direct MiniMessage strings when:
- the text is local to one feature
- you want the shortest path
- the wording is not shared across the plugin
- you are still building the first version of the feature
reply("<green>Profile ready.</green>")Use config-backed text when:
- admins should edit the wording
- the same text appears in multiple systems
- you want localization
- you want text reloads without a rebuild
replyLang("profile.ready")The important rule
Section titled “The important rule”Both are valid.
The intended order is:
- direct MiniMessage strings first
- config-backed text when you want shared or reloadable wording
What DaisyConfig changes
Section titled “What DaisyConfig changes”DaisyConfig makes the config-backed path cleaner.
That now includes:
- simple text handles
- managed lang files with
config_version - module-bundle text sources through
DaisyModuleHandle.textSource
It does not make direct MiniMessage strings obsolete.
What DaisyCore still owns
Section titled “What DaisyCore still owns”Even when the text came from config, DaisyCore still owns rendering.