marcelo-mason / PreciousStones

Self-service protection for Minecraft servers
http://dev.bukkit.org/server-mods/preciousstones/
56 stars 67 forks source link

Suggestion: Required-Groups Flag #1123

Open Omanoctoa opened 6 years ago

Omanoctoa commented 6 years ago

Hello! First, love PreciousStones. Using it for years, still the best protection plugin.

I've started really fleshing out our fields recently and have come across a consistent roadblock each time. Basically, I want to make a field everyone can place and everyone is allowed to break (this part is easy). The tricky part: I want a certain group of players to automatically take damage/potion from the field, while everyone else is immune. The allowed-players flags work in part, but only on a per-player basis and not via permissions.

If there is a way to do this I'd love to know. Otherwise, would it be possible to add a Required-Group flag that works similarly to the Required-Permission-Allow flag. Basically, if a player with a certain permission or group enters the field, they are vulnerable to the field's effects, but are able to place the field regardless.

Thanks for your help, and great job on PS!