Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Items as NBT tags dont work #39

Open
AkatGabrielGoncalves opened this issue Jul 10, 2022 · 0 comments
Open

Items as NBT tags dont work #39

AkatGabrielGoncalves opened this issue Jul 10, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@AkatGabrielGoncalves
Copy link

Describe the bug
Simple, I cant specify Items as whole NBT tags, I tried almost every possibility. Then I just cloned the project and started experimenting and when the plugin understood my configs it just gives me {ItemStack:AIR}, which by all means is not a netherite sword.

To Reproduce
Steps to reproduce the behavior:

  • Just set an nbt tag as item reward.
  • Examples:
    - display:
       item: bedrock
       lore:
         - "&fDisplay Chance: &a%chance%%"
         - "&fActual Chance: &a%actual_chance%%"
       name: <g:#00ffff>Rare Bedrock</g:#00ff00>
     weight:
       actual: 88
       display: 0
       permission-multipliers: false
     max-wins: -1
     messages:
       - You won the rare bedrock!
     id: bedrock
     items:
       - '{id:"stone",Count:3,tag:{Name:"your name"}}'
     commands: []
    

Expected behavior
Give me an Item with the specifications of the NBT tag.

Server Information (please complete the following information):

  • Paper-51 1.19 -> API Version 1.19-R0.1
  • eco: 6.37.2
  • ecocrates 1.12.1

Additional context
I was trying to make the creation of rewards and crates more bearable when I discovered that nbt tags dont work or I don't know how to use it even though I followed the docs. My modified version didnt work then I tried the clean version and it didnt work too.

@AkatGabrielGoncalves AkatGabrielGoncalves added the bug Something isn't working label Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant