@Override public boolean playerInGroup(String world, String player, String group) { String userGroup = perms.getXusers().getUserGroup(player); if (userGroup == group) { return true; } else { return false; } }
@Override public String getPrimaryGroup(String world, String player) { return perms.getXusers().getUserGroup(player); }
@Override public String[] getPlayerGroups(String world, String player) { ArrayList<String> playerGroup = new ArrayList<String>(); playerGroup.add(perms.getXusers().getUserGroup(player)); String[] playerGroupArray = playerGroup.toArray(new String[0]); return playerGroupArray; }