Fix STM not having MA's permissions
This commit is contained in:
parent
1e1fa6ce19
commit
e675567ed7
@ -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);
|
||||||
|
|
||||||
|
@ -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);
|
||||||
|
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user