Add report ban and bypass remove confirmation perms, for rc and fn respectively (and admin+)

This commit is contained in:
Spencer 2018-01-03 11:34:33 -05:00 committed by Alexander Meech
parent 21af431e9e
commit e13eee5a5f

View File

@ -54,6 +54,8 @@ public class Punish extends MiniPlugin
PUNISHMENT_COMMAND,
FULL_PUNISHMENT_ACCESS,
RULES_COMMAND,
REPORT_BAN_ACCESS,
BYPASS_REMOVE_CONFIRMATION
}
private Map<String, PunishClient> _punishClients;
@ -86,6 +88,12 @@ public class Punish extends MiniPlugin
PermissionGroup.TRAINEE.setPermission(Perm.PUNISHMENT_COMMAND, true, true);
PermissionGroup.MOD.setPermission(Perm.FULL_PUNISHMENT_ACCESS, true, true);
PermissionGroup.PLAYER.setPermission(Perm.RULES_COMMAND, true, true);
PermissionGroup.RC.setPermission(Perm.REPORT_BAN_ACCESS, false, true);
PermissionGroup.ADMIN.setPermission(Perm.REPORT_BAN_ACCESS, true, true);
PermissionGroup.FN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
PermissionGroup.ADMIN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
}
public ClansBanManager getClansPunish()