✨ Placeholders

You can use these placeholders in your layouts and components files to display dynamic information.

Built-in Placeholders

  • %sunshine_mob_name% - Displays the custom name set in mob_assignments.yml.

  • %sunshine_health_current% - Shows the mob's current health, rounded.

  • %sunshine_health_max% - Shows the mob's maximum health, rounded.

  • %sunshine_mob_level% - Shows the mob's level (from MythicMobs, or 1 for vanilla mobs).

Component Placeholders

  • %component_health_bar% - Renders the health bar style defined in mob_assignments.yml.

  • %component_level_display% - Renders the level display style defined in mob_assignments.yml.

Custom Image Placeholders

  • %sunshine_image_<your_image_id>% - Displays the custom image you defined in an image_definitions file. Replace <your_image_id> with the ID you chose.

Custom Font Placeholders (Advanced)

  • %font_<font_name>_{papi_placeholder}% - Displays the content of a PlaceholderAPI placeholder using your custom font.

    • font_name: The name of your font file in the fonts/ folder.

    • papi_placeholder: The placeholder you want to resolve (e.g., sunshine_health_current).

Last updated