Please Add Explicit Groups Support
BigScary opened this issue ยท 1 comments
Thanks SO much for your economy support. With it, I was able to support many economy plugins very simply in my own plugin. I've donated some cash in thanks. :)
I'd also like to support groups in my plugin, which allows players to claim land, then give access to that land like this:
/trust DanTheMiner
I'd like them to be able to type something like:
/trust [members]
I know that I can make Vault work for this by using the permissions support and doing something like the following, where the permission is managed by defining groups and setting permission for those groups.
/trust [coolserver.groups.members]
But I think making players deal with fully-qualified permissions names is very awkward and rough. If you were to add groups support just to the extent that I could ask these two questions, I would be very grateful and I could add my new feature to my plugin. And I'd certainly donate some more!
- Which players are in group named X?
- What are the names of the groups player Y belongs to?
I know others would probably want support for creating groups, and adding/removing group members, but the above two scenarios are sufficient for my purposes. Please consider it. Thank you VERY much for building this very helpful plugin!
Group support is already in Vault. You can check if a specific player is in a group as long as the permission system being used supports it.
We don't support getting a player's list of groups because there is only 1 (that I can remember) permission system that supports this. In addition there is no way to list all players in a group in most permission systems.
Unfortunately you're not the only one to request this feature, but due to permission plugins not allowing us to do this, if you absolutely need it you're better off hooking the only permission plugins that support it yourself instead of Vault.
As I've told other users of Vault. If you have a super specific set of features you need with groups, and it's not in Vault. The reason is most likely that only 1 or 2 permission plugins support it, and if you need this, don't use Vault, force your users to use only 1 permission plugin that has the necessary features.
I also wont be adding the ability to create groups, it's another area that can be a bit messy to deal with, along with removing groups.