Tripwire is not covered by the USE flag
LadyCailinBot opened this issue ยท 3 comments
WORLDGUARD-3351 - Reported by phospholipid
I have a poly region, and the first flag I set was "use allow". As it stands, the only behavior this seems to allow is opening doors. But, it's only opening some doors. Others won't open. Also, one door only opens for users entering, but not exiting.
Tripwires don't work. Some buttons work, others don't. Same with chests. Some chests work, others don't.
Testing one button a non-owner is using results in, "No plugins cancelled the event."
Comment by phospholipid
I figured out 90% of the problem. The doors and such were too close to spawn. So, I set the spawn region to 0, and that cleared it up. HOWEVER... tripwire still does not work. Any thoughts?
Comment by sk89q
Tripwire may not yet be covered in the USE flag. The INTERACT flag is a lot more encompassing (see http://docs.enginehub.org/manual/worldguard/latest/regions/flags/#protection-related) but it may be too encompassing.
Tripwire could be added to the USE list, however. The types of items that are covered under USE is listed here: https://github.com/sk89q/WorldGuard/blob/master/src/main/java/com/sk89q/worldguard/bukkit/util/Materials.java#L667