Closed Tahul closed 11 years ago
@t3hk0d3 @TheNoid I'd like to chime in here. I have been having the same problem with MobArena, as well as similar problems now with Slipcor's PVP Arena. It appears to stem from the way they handle temporary permissions while in the arenas. Here's an example (from PVP Arena, slightly edited):
private void setPermissions(Player p) {
HashMap<String, Boolean> perms = getTempPerms();
PermissionAttachment pa = p.addAttachment(PVPArena.instance);
ArenaPlayer player = Players.parsePlayer(this, p);
player.tempPermissions.add(pa);
for (String entry : perms.keySet()) {
pa.setPermission(entry, perms.get(entry));
}
}
private void removePermissions(Player p) {
ArenaPlayer player = Players.parsePlayer(this, p);
for (PermissionAttachment pa : player.tempPermissions) {
if (pa != null) pa.remove();
}
}
It seems this part of the SuperPerms API (adding/removing PermissionAttachments) is not properly supported by PEX. Can we get a fix for this?
Try lastest dev build.
Just did (although before adding to this issue I did double check the commits since the last version to make sure nothing relevant to the problem was changed...), and came up empty. Still doesn't work on MobArena or PVP-Arena.
What debug mode telling you? (/pex user
Getting lots of this:
21:55:42 [INFO] User bob checked for "worldguard.override.infinite-stack", "" found 21:55:45 [INFO] User bob checked for "worldguard.region.bypass.world", "" found
(I'm an admin and I have the * node set.)
Which is nice, but oddly enough nothing about mcMMO, which is what I'm attempting to disable, even when I use mcMMO abilities. And nothing about anything being enabled or disabled when I join or leave the arena, if that's what you're looking for :)
This issue is no longer relevant with the upcoming PermissionsEx 2.0. See this forum post for more information.
The MobArena plugin (http://bit.ly/tfTSOv) permissions classes won't work, i don't know why but it works with bPermissions and PermissionsBukkit, could you make something for that because i really need this permissions classes and i view the PermissionsEx plugin so much easier than the others.