}
}
@Override
public boolean groupRemove(String world, String group, String permission) {
GroupManager gm = perms.getGroupManager();
GroupSet set = gm.getWorldSet(Bukkit.getWorld(world));
if (set.hasGroup(group)) {
Group g = set.getGroup(group);
boolean value = !permission.startsWith("^");
permission = value ? permission : permission.substring(1);
if (g.hasPermission(permission, false)) {
g.removePermission(permission, true);
for (User user : gm.getAffectedUsers(g)) {
user.applyPermissions(gm.getFactory());
}
return true;
} else {
return false;
}