Vault: Return Player List For a Group
cpybus opened this issue ยท 3 comments
Im writing (Well, actually already finished) a plugin that allowed admins to pay groups their weekly wages... But the thing is, seeing as there was no getAllPlayersInGroup() method, I made it so that admins would have to write a list of players that get paid wages in a config.yml.. As this is pretty tedious, (especially for large servers), I was thinking for my next major update, I could add a getAllPlayersInGroup() method or something similar and completely take out the need to list the players... If you could add it in, that would be amazing!
hotshot2162 - Like I said, none of the permission systems support this, and even if you didn't link Vault you wouldn't be able to do it. (And I can't add in methods that the permission systems don't support...). Your best bet is to check what each player's linked group is and give them that amount, rather than checking each group for each amount. None of the permissions systems (except PEX) allow for getting a list of players in the group.