ExplosiveMine / Anvil-Revamp

Open an anvil anywhere!
MIT License
0 stars 3 forks source link

[BUG] Disable Virtual Anvil? #8

Closed xMikux closed 1 month ago

xMikux commented 1 month ago

Describe the bug I am not sure if this is the expected behavior, but when I don't give virtual GUI (or config disable it), anvil color rename and maximum repair cost will not functional (show up default name, and too expensive)

Also, if I give virtual anvil permission, still need open it once (by right click at hand), then color rename and maximum repair cost will be functional. (Relogin need open again too)

To Reproduce

  1. Make sure your item already too expensive
  2. Install Anvil (disable virtual anvils) and Luckperms plugin
  3. Add anvil.colour permission
  4. Test add enchant & rename color
  5. See Too Expensive and Color code without color!

Expected behavior Should work without use Virtual Anvil.

Server (please complete the following information):

ExplosiveMine commented 1 month ago

So the setting virtual anvils: true specifically allows players to right click on an anvil item in their hand to open the anvil menu. This is just to avoid having to place the anvil block, then mine it again to pick it up.

ExplosiveMine commented 1 month ago

ah I see what you're saying, if the player right clicks a regular anvil with only the anvil.open permission, it's just a regular anvil

xMikux commented 1 month ago

I tested with anvil.open not work image image

also I am not sure, luckperms only show two permission node image

ExplosiveMine commented 1 month ago

yes, that's just a regular anvil. to access the plugin's anvil for now do /anvil

xMikux commented 1 month ago

hmm, so no way to use at regular anvil? Current I want to use at regular anvil, not any gui.

ExplosiveMine commented 1 month ago

set unbreakable anvils to false. this makes you access the vanilla anvil. right now you can't use colours or the other features of this plugin in that anvil, but I'll fix that soon

xMikux commented 1 month ago

I already set unbreakable anvils to false actually, this is why it show up vanilla anvil.

ExplosiveMine commented 1 month ago

just to clarify:

set unbreakable anvils to false. this makes you access the vanilla anvil. right now you can't use colours or the other features of this plugin in that anvil, but I'll fix that soon

this is what you want?

xMikux commented 1 month ago

I want using vanilla anvil with color and maximum repair cost.

ExplosiveMine commented 1 month ago

you can use this release while I test with all versions, before releasing it on the spigot page. Please tell me if this works as you wanted it to

xMikux commented 1 month ago

I tested, it work perfectly! Thank you!