Skip to content

Bug: Color codes in display_name and lore force text to display in italics #251

@NoltoxGit

Description

@NoltoxGit

Bug Description

When using color codes in both display_name and lore configurations, all text is forced to display in italics, regardless of formatting attempts.

Steps to Reproduce

  1. Configure a menu item with color codes in display_name
  2. Add color codes to the lore section
  3. View the item in-game

Expected Behavior

Text should display with the specified colors without being forced into italic formatting.

Actual Behavior

All text appears in italics despite color code usage.

Attempted Solutions

  • Used </i> at the beginning of text
  • Tried <reset> tag
    • Problem persists with both approaches

Additional Information

  • Complete menu configuration:
menu_title: "<shift:-46><glyph:gui_quetes-grades-21slots>"
size: 45
update_interval: 1
open_commands:
  - "[sound] ITEM_ARMOR_EQUIP_CHAIN 0.3 1"
items:
  START-Objectif-1:
    slot: 1
    material: DIAMOND
    item_flags:
      - HIDE_ENCHANTS
      - HIDE_ATTRIBUTES
      - HIDE_UNBREAKABLE
    update: true
    display_name: "<c:#CCCCCC>★</c> <c:#6D69E5>Grades</c> <dark_gray>-</dark_gray><c:#E6DBCF> Objectif <b>#1</b> </c>"
    lore:
      - ""
      - "&#FFD966Quête :"
      - "<reset><dark_gray> ₪</dark_gray><c:#BABABA> Tâche :</c><c:#C0F5FA> Collecter 16 diamants </c>"
      - "<reset><dark_gray> ₪</dark_gray><c:#BABABA> Progression :</c><c:#E6D545><b> %deluxemenus_meta_Grades-Objectifs-Moussaillon-n1_INTEGER_0%</b><gray>/</gray>64 </c>"
      - ""
      - "&#FFD966Récompense : "
      - "&8 🪙&#E9E9E9 50 Pièces d'or <glyph:eco_piecesor> "
      - ""
      - "%changeoutput_equals_input:{quests_quest:moussaillon1_started}_matcher:false_ifmatch:&f{nexo_gauche}&#E6D32E Commencer la quête _else:&f{nexo_bulle}&#E6912E Quête en cours...% "
  • Screenshot showing the item preview with the bug:
Image

Environment

  • Server: Leaf version 1.21.8-114-ver/1.21.8@f1e884e (2025-09-18T14:07:47Z)
  • Plugin: DeluxeMenus version 1.14.2-DEV-208

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions