PermissionsEx

PermissionsEx

14M Downloads

Get All Perms

Techno3600 opened this issue ยท 3 comments

commented

Hello,

Is it possible that I can get every permission in-game and do /effects and /give without being opped?
Don't you have to do something like '-Permissions.*'?

commented

Hello,

Is it possible that I can get every permission in-game and do /effects and /give without being opped?
Don't you have to do something like '-Permissions.*'?

Yes. In PEX 1.23.4, this is done with a negation above a "global wildcard":

groups:
  Guest:
    options:
      build: true
      prefix: '[Guest] '
      suffix: ''
    inheritance: []
    permissions:
    - -permissions.*
    - '*'
schema-version: 1
users:

For a full list of PEX-related options:, see this example.

(Note: The option build: true is actually an EssentialsAntiBuild option and doesn't need to be included on servers that don't use EssentialsAntibuild or EssentialsXAntiBuild. It's added to the options: section of a group with the command /pex group <group> set <option> <value>, /pex group Guest set build true.)

commented

What version of PEX are you using? 2.0 or 1.23.4?

Edit:
I don't know if you can set yourself default=true with 1.23.4
If you are going the route of - permissions.* you would have to do that for every mod you're using that has permission nodes. - <modid>.* for everything
You might want to read through the wiki

commented

You're welcome. ;-)