[Question] List members of a group with API
Closed this issue ยท 1 comments
Hi,
I want to list the members of a specific group.
Just like in GroupListMembers...
How do I get to getStorage() or is there a way to list the groupmembers with a different way?
(Used in BungeeCord, so there are no OfflinePlayers I can use)
With great wishes
xXSchrandXx
UserManager#getWithPermission
is what you're after. :)
Call that with group.groupname
, e.g. group.admin
as the permission.