setPlayerValue(worldName, playerName, node, value);
}
@Override
public String getGroupInfoString(String worldName, String groupName, String node, String defaultValue) {
AnjoPermissionsHandler handler;
if (worldName == null) {
handler = groupManager.getWorldsHolder().getDefaultWorld().getPermissionsHandler();
} else {
handler = groupManager.getWorldsHolder().getWorldPermissions(worldName);
}
if (handler == null) {
return defaultValue;
}
String val = handler.getGroupPermissionString(groupName, node);
return val != null ? val : defaultValue;
}