Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag disable-item-use to select usable items #1914

Open
Chris6ix opened this issue May 17, 2022 · 4 comments
Open

Add flag disable-item-use to select usable items #1914

Chris6ix opened this issue May 17, 2022 · 4 comments
Labels
status:pending Pending acceptance or closure. type:feature-request Request for something new

Comments

@Chris6ix
Copy link

Chris6ix commented May 17, 2022

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 :)

@Chris6ix Chris6ix added status:pending Pending acceptance or closure. type:feature-request Request for something new labels May 17, 2022
@kokqi
Copy link

kokqi commented May 23, 2022

You can just use worldguard extra flags plugin for fly flags

@Chris6ix
Copy link
Author

Chris6ix commented May 26, 2022

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 :)

@Joo200 Joo200 changed the title [Suggestion] Some new Flags Add flag disable-item-use to select usable items Apr 7, 2023
@Joo200
Copy link
Collaborator

Joo200 commented Apr 7, 2023

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.

@Chris6ix
Copy link
Author

Chris6ix commented Apr 7, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:pending Pending acceptance or closure. type:feature-request Request for something new
Projects
None yet
Development

No branches or pull requests

3 participants