Fix STM not having MA's permissions

This commit is contained in:
Sam 2018-07-07 23:38:56 +01:00 committed by Alexander Meech
parent 1e1fa6ce19
commit e675567ed7
3 changed files with 4 additions and 4 deletions

View File

@ -99,7 +99,7 @@ public class Punish extends MiniPlugin
PermissionGroup.RC.setPermission(Perm.PUNISHMENT_REAPPLY, false, true); PermissionGroup.RC.setPermission(Perm.PUNISHMENT_REAPPLY, false, true);
PermissionGroup.ADMIN.setPermission(Perm.PUNISHMENT_REAPPLY, true, true); PermissionGroup.ADMIN.setPermission(Perm.PUNISHMENT_REAPPLY, true, true);
PermissionGroup.MA.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, false, true); PermissionGroup.MA.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);
PermissionGroup.FN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, false, true); PermissionGroup.FN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, false, true);
PermissionGroup.ADMIN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true); PermissionGroup.ADMIN.setPermission(Perm.BYPASS_REMOVE_CONFIRMATION, true, true);

View File

@ -163,9 +163,9 @@ public class Teleport extends MiniPlugin
private void generatePermissions() private void generatePermissions()
{ {
PermissionGroup.TRAINEE.setPermission(Perm.FIND_COMMAND, true, true); PermissionGroup.TRAINEE.setPermission(Perm.FIND_COMMAND, true, true);
PermissionGroup.MA.setPermission(Perm.FIND_MOD_COMMAND, false, true); PermissionGroup.MA.setPermission(Perm.FIND_MOD_COMMAND, true, true);
PermissionGroup.ADMIN.setPermission(Perm.FIND_MOD_COMMAND, true, true); PermissionGroup.ADMIN.setPermission(Perm.FIND_MOD_COMMAND, true, true);
PermissionGroup.MA.setPermission(Perm.FIND_TRAINEE_COMMAND, false, true); PermissionGroup.MA.setPermission(Perm.FIND_TRAINEE_COMMAND, true, true);
PermissionGroup.ADMIN.setPermission(Perm.FIND_TRAINEE_COMMAND, true, true); PermissionGroup.ADMIN.setPermission(Perm.FIND_TRAINEE_COMMAND, true, true);
PermissionGroup.TRAINEE.setPermission(Perm.TELEPORT_COMMAND, true, true); PermissionGroup.TRAINEE.setPermission(Perm.TELEPORT_COMMAND, true, true);
PermissionGroup.ADMIN.setPermission(Perm.TELEPORT_LOCATION_COMMAND, true, true); PermissionGroup.ADMIN.setPermission(Perm.TELEPORT_LOCATION_COMMAND, true, true);

View File

@ -91,7 +91,7 @@ public class ServerGroup
_pvp = Boolean.valueOf(data.get("pvp")); _pvp = Boolean.valueOf(data.get("pvp"));
_tournament = Boolean.valueOf(data.get("tournament")); _tournament = Boolean.valueOf(data.get("tournament"));
_tournamentPoints = Boolean.valueOf(data.get("tournamentPoints")); _tournamentPoints = Boolean.valueOf(data.get("tournamentPoints"));
_hardMaxPlayerCap = Boolean.valueOf(data.get("allowOverflow")); _hardMaxPlayerCap = Boolean.valueOf(data.get("hardMaxPlayerCap"));
_games = data.get("games"); _games = data.get("games");
_modes = data.get("modes"); _modes = data.get("modes");
_boosterGroup = data.get("boosterGroup"); _boosterGroup = data.get("boosterGroup");