EngineHub / WorldGuard

🛡️ Protect your Minecraft server and lets players claim areas
https://enginehub.org/worldguard/
Other
812 stars 528 forks source link

WorldEdit Commands able to bypass WorldGuard Protections #2091

Closed IngeniousCoder closed 2 weeks ago

IngeniousCoder commented 2 weeks ago

WorldEdit Version

7.3.3

WorldGuard Version

7.0.10

Platform Version

git-Paper-147

Confirmations

Bug Description

When modifying blocks using WorldEdit, WorldGuard protections are completely ignored.

Expected Behavior

WorldEdit commands should be prevented from successfully executing.

Reproduction Steps

  1. Ascertain you are unable to modify a block. image
  2. Use WorldEdit to select a region and set block image

Optional WorldGuard-Report

No response

Anything Else?

It should be possible to determine who is the one who ran the worldedit command, given CoreProtect is able to do it.

wizjany commented 2 weeks ago

works as intended

IngeniousCoder commented 2 weeks ago

Possible to prevent this behavior?

wizjany commented 2 weeks ago

possible with the API. we won't be adding it as worldedit is not intended to be given to untrusted users in the first place.