PikaMug / Quests

Easy-to-use, open-source plugin for the creation and execution of quests on Minecraft servers.
https://modrinth.com/plugin/quests.classic
MIT License
148 stars 108 forks source link

Display-name error #2049

Closed sciqni closed 1 year ago

sciqni commented 1 year ago

What is your Quests version / build number (do not say "latest")?

Quests 4.6.1 QuestsGUI 0.51

Describe the problem and how to replicate it.

Whit the plugin questsGUI when u do /quests list the display name it's wrong. for example quests: custom1: name: Consumatore1 ask-message: Challenge objectives! finish-message: Well done! gui-display: ==: org.bukkit.inventory.ItemStack type: GOLDEN_APPLE meta: ==: ItemMeta meta-type: UNSPECIFIC display-name: §eConsumatore §l#1

The name of the item in /quests list that will come out is Consumatore1 and not §eConsumatore §l#1 (the display-name:)

Any console errors to share?

No

If applicable, can you provide an example quest from quests.yml?

quests:
  custom1:
    name: Consumatore1
    ask-message: Challenge objectives!
    finish-message: Well done!
    gui-display:
      ==: org.bukkit.inventory.ItemStack
      type: GOLDEN_APPLE
      meta:
        ==: ItemMeta
        meta-type: UNSPECIFIC
        display-name: §eConsumatore §l#1
PikaMug commented 1 year ago

Thanks for the report. The example quest is invalid; must have at least one stage.

QuestsGUI overwrites the display name with the name of the quest. Use color in your quest name to get the desired effect. For further help with QuestsGUI, use the appropriate support channels.