How to set Permission

Scenario

You don't want to add every permissions to one of your moderator, but you don't want also to add them one by one. Then you'll use the node admincmd.* that give all permissions. And then delete every permissions you don't want him to have (by example the server permissions) admincmd.server.*.

How to Achieve it

PermissionEx

pex.yml
groups:
    default:
        default: true
        permissions:
        - modifyworld.*
    Moderator:
        prefix: '&0(&Mod&0)&7 '
        permissions:
        - -admincmd.server.*
        - admincmd.*
users:
    TestMod:
        group:
        - Moderator

As you can see I added the minus (-) node (-admincmd.server.*) BEFORE the “total” node (admincmd.*) it's really IMPORTANT else it will not work.

In case of you want to use the ImmunitySystem it's the same idea for the node : -admincmd.immunityLvl.samelvl this node disable the need to have the same immunityLvl to do a command on an other player. Like for the server node, you have to put it BEFORE the “total” node.

Limits

To learn how to set limits with permission plugins it's here : limits

features/permission_plugins.txt · Last modified: 2016/12/10 15:05 by jeterlp
Back to top
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0