snowgears / shopbugs

Shop bug tracker
8 stars 4 forks source link

[BUG] Shop not destroyable as player even if he is the region owner #287

Closed Plattio closed 2 years ago

Plattio commented 2 years ago

Is there an existing issue for this?

Type of bug

Other unexpected behaviour

Environment

- Server Version: 1.18 Paper (Git: b475c6a)
- Shop Version: 1.8.3.3

Server startup log

secret

Shop config files

https://gist.github.com/Plattio/ffb7cf71a8639e531e07e1bbf2c0955a

Error log (if applicable)

No response

Bug description

You can't destroy the shop of other players even if you are the WorldGuard region owner. (Also tried it with WorldGuardHook true) If i give the permission shop.destroy.other they can destroy every shop.

Steps to reproduce

  1. Create a buy/sell shop sign
  2. Try to destroy it with your alt-account (with shop.destroy permission)

Expected behaviour

WorldGuard Owner/Member can destroy the shop of other players. (Because we have a shopping mall and the owner is mostly changing after 7 days)

Actual behaviour

WorldGuard Owner can't destroy the shop sign

Other information

No response

snowgears commented 2 years ago

Fixed in 1.8.3.4 (in progress)

snowgears commented 2 years ago

"I'm on a world without regions, so i've created with my 1th account a shopchest. Then i created around this shopchest a region and added my 2th account as owner. My 2th account still can't destroy the shopchest from the 1th account, but the 2th account is the region owner.

Or is there any new config option for this fix? Around the shopchest region is just the global region without any flags."

snowgears commented 2 years ago

Confirmed to be fixed in 1.8.3.6 (in progress)