Quests icon indicating copy to clipboard operation
Quests copied to clipboard

Custom Named Items

Open NGamerW opened this issue 1 year ago • 3 comments

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

5.0.4

Describe the problem and how to replicate it.

When i save items with a custom names that should be crafted for a quest in quest, they wont get noticed when they are crafted. Like when i make a quest to craft Dared Pickaxe and the name is bold and gray it wont register it when its crafted.

Sometimes it works but mostly not, i dont know where the issue is so i cant replicate it by command. But i know that it doesnt work 99%.

Any console errors to share?

no errors

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

custom1:
    name: 'Rylon: The Beginning'
    ask-message: Rylon
    finish-message: Well done!
    block-start: empty world 165358.0 66.0 165360.0
    stages:
      ordered:
        '1':
          break-block-names:
          - OAK_LOG
          break-block-amounts:
          - 6
          break-block-durability:
          - 0
          start-event: RunCommand
          start-message: Break 6 Oak Logs
        '2':
          items-to-craft:
          - ==: org.bukkit.inventory.ItemStack
            v: 3465
            type: WOODEN_PICKAXE
            meta:
              ==: ItemMeta
              meta-type: UNSPECIFIC
              display-name: '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"gray","text":"Dared
                Pickaxe"}],"text":""}'
              lore:
              - '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"yellow","text":"Can
                Break:"}],"text":""}'
              - '{"extra":[{"bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false,"color":"white","text":"-
                Stone"}],"text":""}'
          start-message: Buy the Recipe book from the allay! &c&lDont shift-click
            items from the crafting table in your inventory!

NGamerW avatar Jun 25 '24 19:06 NGamerW

Sorry for the late reply. How are your players able to craft items with custom names? As far as I know, the vanilla Crafting table does not allow this?

PikaMug avatar Jul 24 '24 02:07 PikaMug

Sorry for the late reply. How are your players able to craft items with custom names? As far as I know, the vanilla Crafting table does not allow this?

Custom plugins can register new recipes. The easiest way to tell is to listen to PrepareItemCraftEvent on MONITOR.

IllusionTheDev avatar Jul 29 '24 03:07 IllusionTheDev

Thanks for chiming in. If OP can provide the name of the plugin they're using to register recipes, I'll consider looking into this further.

PikaMug avatar Jul 31 '24 07:07 PikaMug

Closing due to lack of response from OP.

PikaMug avatar Nov 01 '24 19:11 PikaMug