mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-06-27 18:06:40 +00:00
Added permissions and configuration support.
This commit is contained in:
@ -104,4 +104,13 @@ public class ConfigurationPermissionsResolver {
|
||||
|
||||
return groups.contains(group);
|
||||
}
|
||||
|
||||
public String[] getGroups(String player) {
|
||||
Set<String> groups = userGroups.get(player.toLowerCase());
|
||||
if (groups == null) {
|
||||
return new String[0];
|
||||
}
|
||||
|
||||
return (String[])groups.toArray();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user