Skip to content

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")

Both are valid.

The intended order is:

  1. direct MiniMessage strings first
  2. config-backed text when you want shared or reloadable wording

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.

Even when the text came from config, DaisyCore still owns rendering.