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

Can’t craft item #19

Closed
JQE opened this issue Mar 2, 2024 · 6 comments · Fixed by #20
Closed

Can’t craft item #19

JQE opened this issue Mar 2, 2024 · 6 comments · Fixed by #20
Assignees
Labels
bug Something isn't working

Comments

@JQE
Copy link

JQE commented Mar 2, 2024

Description

I add the materials in the crafting table. It shows on the right but I can’t remove it.

Reproduction Steps

I add the materials in the crafting table. It shows on the right but I can’t remove it.

Expected Behaviour

I should be able to remove the item.

Server Details

Paper 1.20.4

Zero Inventory Problems Version

1.0.7

Logs and Configs

No response

Extra Details

No response

@JQE JQE added the bug Something isn't working label Mar 2, 2024
@NgLoader NgLoader self-assigned this Mar 3, 2024
@NgLoader
Copy link
Member

NgLoader commented Mar 3, 2024

For me is everything working fine on paper 1.20.4

Your using any other plugins with custom recipes?
Are there any console errors?
Are there any changes inside of the config file?

@JQE
Copy link
Author

JQE commented Mar 3, 2024 via email

@NgLoader
Copy link
Member

NgLoader commented Mar 3, 2024

Yeah, that's right, when you press shift while crafting, you just need to click on the item without shift.
I will lookout for a fix for that.

@kn1gh7h4wk
Copy link

I too have this problem, without pressing shift. As OP, I can craft, but cannot put in my inventory. If I press shift, it briefly appears in the inventory and disappears back to the crafting.
2024-03-21_10-45-11

I also noticed that if I deop myself, I cannot craft it at all. Which permission do players need to have to craft it?
2024-03-21_10-37-59

Thanks for your help!

NgLoader added a commit that referenced this issue Mar 22, 2024
fix: missing translation keys in translation config
fix: can't craft items #19
@NgLoader NgLoader mentioned this issue Mar 22, 2024
3 tasks
@NgLoader
Copy link
Member

This issue shout be fixed with the latest release 1.0.8.

Also you can now add permissions for who can craft which item by adding the following setting craftingPermission.
Example:

  big:
    uniqueName: 'big'
    displayName: '&7Big &eBackpack'
    inventoryRows: 6
    customModelData: 3
    texture: 'ewogICJ0aW1lc3RhbXAiIDogMTYzMzg2MjQwNTg4NSwKICAicHJvZmlsZUlkIiA6ICI1NjY3NWIyMjMyZjA0ZWUwODkxNzllOWM5MjA2Y2ZlOCIsCiAgInByb2ZpbGVOYW1lIiA6ICJUaGVJbmRyYSIsCiAgInNpZ25hdHVyZVJlcXVpcmVkIiA6IHRydWUsCiAgInRleHR1cmVzIiA6IHsKICAgICJTS0lOIiA6IHsKICAgICAgInVybCIgOiAiaHR0cDovL3RleHR1cmVzLm1pbmVjcmFmdC5uZXQvdGV4dHVyZS9kYTMzMTY5YjcyY2Y4OTE4YjgyYzViZDI3Y2JhOWVlNmMwZWI4OTE2NDA0MDQ4MGJiMjdmODUzNGUwZmE1ODA3IiwKICAgICAgIm1ldGFkYXRhIiA6IHsKICAgICAgICAibW9kZWwiIDogInNsaW0iCiAgICAgIH0KICAgIH0KICB9Cn0='
    lore:
      - '&aA Big Backpack'
    recipe:
      discover: true
      group: 'null'
      patternOne: 'LCL'
      patternTwo: 'ECE'
      patternThree: 'DCD'
      patternMapping:
        L: LEATHER
        E: LEAD
        C: CHEST
        D: DIAMOND
    craftingPermission: 'zeroinventoryproblems.crafting.big'

When no permission is provided or the permission is empty everyone can craft the item.

NgLoader added a commit that referenced this issue Mar 23, 2024
fix: missing translation keys in translation config
fix: can't craft items #19
@NgLoader NgLoader linked a pull request Mar 23, 2024 that will close this issue
3 tasks
@NgLoader
Copy link
Member

This issue shout be fixed with the latest release 1.0.8.

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

Successfully merging a pull request may close this issue.

3 participants