PermissionsEx

PermissionsEx

14M Downloads

Remove permission/group world

Johandrex opened this issue ยท 3 comments

commented

Hello, yesterday I accidently added these world permissions/groups which I'm unable to remove from some of my servers since they're using MySql. I'd be greatful if you could advise me on how to remove the permissions/groups with commands. (I know they won't make a difference but I want to keep everything clean and fresh)

    options:
      default: false
      weight: '550'
    permissions:
    - chatcontrol.notify.ad
    - chatcontrol.notify.swear
    inheritance:
    - global
#Want this down below removed
    worlds:
      spectator.use.spectate:
        permissions: []
      spectator.use.inventory:
        permissions: []
      spectator.use.teleport:
        permissions: []
commented

For MySQL, I don't think there is any registry of worlds -- the worlds are just stored with the permission/option or inheritance rows, so these are probably just in your permissions file.

PEX2 is better about cleaning up empty context segments, so even on a file backend this wouldn't happen.

commented

@zml2008 : I couldn't find any commands about this in the existing PEX documentation or in the older commands lists I'd collected in-game. We took a shot at /pex world delete but that didn't work out.

commented

Strange, is it fixable?