H7KZ / Disenchantment

New mechanics for minecraft vanilla gameplay. This plugin allows players to disenchant items and get the item's enchantments back.
https://www.spigotmc.org/resources/110741
1 stars 2 forks source link

Commands all work but can't disenchant #3

Closed iiTej closed 8 months ago

iiTej commented 8 months ago

My server is on Paper 1.20.2 and it shows all the help commands and they all function like normal and I gave myself permissions to use but still can't get it to actually function in an anvil.

H7KZ commented 8 months ago

Could you elaborate more please? Although I found a small mistake in my code tho, that I do not check any permission in the actual anvil event, I will be pushing a new version for this in few minutes. There is going to be a new permission "disenchantment.anvil" to be able to use the anvil.

iiTej commented 8 months ago

I gave myself every permission including the anvil permission and typed in disench.toggle and it is switched to enabled. I put a golden pickaxe with Fortune 2 in an anvil and a book in the second spot and it just gives me an X

On Tue, Dec 26, 2023 at 5:13 AM Jan Komínek @.***> wrote:

Could you elaborate more please? Although I found a small mistake in my code tho, that I do not check any permission in the actual anvil event, I will be pushing a new version for this in few minutes. There is going to be a new permission "disenchantment.anvil" to be able to use the anvil.

— Reply to this email directly, view it on GitHub https://github.com/H7KZ/Disenchantment/issues/3#issuecomment-1869466919, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE5UR53V4SNOHP2KHFC5XA3YLKWPHAVCNFSM6AAAAABBDCWGT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGQ3DMOJRHE . You are receiving this because you authored the thread.Message ID: @.***>

H7KZ commented 8 months ago

Could you please list if you have any other plugins that do something with the anvil? This type of behaviour isn't happening on my version 1.20.2 Paper. Thanks

iiTej commented 8 months ago

The only plugins I have are: Disenchantment, Homes, AutoTreeChop, Simple Tpa, ViaVersion, Longer Days, and MyPermissions. Nothing that does with anvil I believe

On Wed, Dec 27, 2023 at 4:17 AM Jan Komínek @.***> wrote:

Could you please list if you have any other plugins that do something with the anvil? This type of behaviour isn't happening on my version 1.20.2 Paper. Thanks

— Reply to this email directly, view it on GitHub https://github.com/H7KZ/Disenchantment/issues/3#issuecomment-1870158519, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE5UR52WVXJZD6YV52BW3DDYLPYTDAVCNFSM6AAAAABBDCWGT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGE2TQNJRHE . You are receiving this because you authored the thread.Message ID: @.***>

H7KZ commented 8 months ago

Good, and would you also be so kind to record a video of how that happens? Like a short 30s showcasing the anvil not working? Thanks!

iiTej commented 8 months ago

2023-12-28 00-50-42.mkv https://drive.google.com/file/d/1l4LZCj1kp0xPHv-4yn5o3bprz2TtEZK3/view?usp=drive_web

On Wed, Dec 27, 2023 at 1:06 PM Jan Komínek @.***> wrote:

Good, and would you also be so kind to record a video of how that happens? Like a short 30s showcasing the anvil not working? Thanks!

— Reply to this email directly, view it on GitHub https://github.com/H7KZ/Disenchantment/issues/3#issuecomment-1870558109, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE5UR5Y3GVD3ERTW5MES7XDYLRWRRAVCNFSM6AAAAABBDCWGT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGU2TQMJQHE . You are receiving this because you authored the thread.Message ID: @.***>

H7KZ commented 8 months ago

Could you please make it public? Thank you :)

iiTej commented 8 months ago

Done.

On Thu, Dec 28, 2023 at 6:20 AM Jan Komínek @.***> wrote:

Could you please make it public? Thank you :)

— Reply to this email directly, view it on GitHub https://github.com/H7KZ/Disenchantment/issues/3#issuecomment-1871115264, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE5UR5YEXDRFV4X2JO3OSUTYLVPYPAVCNFSM6AAAAABBDCWGT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGEYTKMRWGQ . You are receiving this because you authored the thread.Message ID: @.***>

H7KZ commented 8 months ago

interesting behaviour, could you also assign permission "disenchantment.anvil" to yourself? Then I would really need to dig in why this is happening, nothing to console? No error logs? No output? I am sorry if I am costing your time like this but I really wanna go to the bottom of it so no one else has this similar problem :( Thanks a lot, you're a legend!

iiTej commented 8 months ago

2023-12-28 16-12-02.mkv https://drive.google.com/file/d/1_hJaP3solKO8j4PPklhKTs5m5yW_BCuK/view?usp=drive_web Absolutely nothing goes to console, no crash report, absolutely nothing.

On Thu, Dec 28, 2023 at 3:32 PM Jan Komínek @.***> wrote:

interesting behaviour, could you also assign permission "disenchantment.anvil" to yourself? Then I would really need to dig in why this is happening, nothing to console? No error logs? No output? I am sorry if I am costing your time like this but I really wanna go to the bottom of it so no one else has this similar problem :( Thanks a lot!

— Reply to this email directly, view it on GitHub https://github.com/H7KZ/Disenchantment/issues/3#issuecomment-1871502533, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE5UR533MAMRLTURB2HYC7TYLXQO5AVCNFSM6AAAAABBDCWGT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGUYDENJTGM . You are receiving this because you authored the thread.Message ID: @.***>

H7KZ commented 8 months ago

The hell... I don't know man :/ I tried on my PC, Paper 1.20.2, deop myself, luckperms group with only the disenchantment.anvil permission and I am able to use it. When I removed the permission I couldn't disenchant, so for me the behaviour is correct, but in your case I really don't have a clue :////

Well... I have no fckin idea.

iiTej commented 8 months ago

I just figured out the issue. Its something with Bedrock Edition. On both my xbox and my girlfriends it won't work. I connected on my Java Edition and it works just fine. So apparently thats the issue.

On Thu, Dec 28, 2023 at 5:51 PM Jan Komínek @.***> wrote:

The hell... I don't know man :/ I tried on my PC, Paper 1.20.2, deop myself, luckperms group with only the disenchantment.anvil permission and I am able to use it. When I removed the permission I couldn't disenchant, so for me the behaviour is correct, but in your case I really don't have a clue :////

Well... I have no fckin idea.

— Reply to this email directly, view it on GitHub https://github.com/H7KZ/Disenchantment/issues/3#issuecomment-1871629877, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE5UR52GV7L3JLTTEX5Q2XLYLYAZTAVCNFSM6AAAAABBDCWGT6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZRGYZDSOBXG4 . You are receiving this because you authored the thread.Message ID: @.***>

H7KZ commented 8 months ago

Oh wow :D That explains it a bit, good to know! Glad you found out why it is happening :)