Add flag disable-item-use to select usable items
Chris6ix opened this issue ยท 4 comments
The Problem
It would be great if WorldGuard had a disable-item-use
flag.
This flag could be set with strings like the deny-spawn
flag for example, but with items that can be used.
Some examples for these items would be the Elytra or some Food Items like Golden Apples or the Milk Bucket.
A Solution
/\
Alternatives
I don't really see an alternative...I didn't find any other flag that could somehow do this
Anything Else?
I guess not :)
Hey @kokqi
Thanks for your suggestion!
I see that WorldGuard Extra Flags also has a "Glide" Flag to allow/disallow the use of the Elytra...so I'm going to check it out when I got some time.
If it works like I want it to, then I'm going to close this issue and create a new one just for the item use flag :)
Adding multiple flag suggestions in one issue is not really helpful.
disable-item-use
We currently have some ideas for WorldGuard 7.1.0 or 8.0.0 to overhaul MapFlags with fallback values. Adding a flag to disable the usage of items in a region could be added there.
fly
WorldGuard doesn't touch movement types at all. It doesn't modify walk speed or the ability to glide in a region.
I don't think WorldGuard should modify those things at all, better use the WorldGuard API and a third party plugin.
Hey, thanks for replying :)
Adding multiple flag suggestions in one issue is not really helpful.
I didn't know that. I thought it was worse the other way around, making a new issue for every suggestion instead of combining suggestions that are similar into one issue.
I will keep that in mind for future issues then.
disable-item-use
We currently have some ideas for WorldGuard 7.1.0 or 8.0.0 to overhaul MapFlags with fallback values. Adding a flag to disable the usage of items in a region could be added there.
Yes, a flag to disable using certain items would be amazing :)
fly
WorldGuard doesn't touch movement types at all. It doesn't modify walk speed or the ability to glide in a region.
I don't think WorldGuard should modify those things at all, better use the WorldGuard API and a third party plugin.
I forgot to update this issue, but I managed to fix this using WorldGuardExtraFlags a while ago.
Edit: I updated the issue to only be about the disable-item-use
flag now.