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

Prevent removing himself from region owners if there are no other owners left #1834

Open
molor opened this issue Sep 19, 2021 · 0 comments
Open
Labels
status:pending Pending acceptance or closure. type:feature-request Request for something new

Comments

@molor
Copy link

molor commented Sep 19, 2021

Is your feature request related to a problem? Please describe.

Yes, I have max-region-count-per-player: 4 but player claims a region, adds himself to member list of it, then removes himself from owner list and then creates 5, 6, 7... and more regions in total.

Describe the solution you'd like

Add a permission like worldguard.region.removeowner.self that allows removing himself from regions IF no other owners are left in it, otherwise show error message e.g. You can't remove yourself from this region because there are no other owners!.

Describe alternatives you've considered

Remove access to remove owner command from players?..

Additional context

@molor molor added status:pending Pending acceptance or closure. type:feature-request Request for something new labels Sep 19, 2021
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

1 participant