Pex Any rank can use any command

Discussion in 'Bukkit Help' started by Fergym, Sep 12, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Fergym

    So the title explains it
    Here is my pex permissions.yml file it would be great if you could help :) by the way I made some mistakes with in-game commands so if you see random stuff about the place that was probably me:

    Code:
    groups:
      Pvper:
        options:
          default: true
          prefix: '&8[Pvper]'
        permissions:
        - essentials.kit
        - essentials.kits.pvper
        - -bukkit.command.plugins
      Owner:
        options:
          prefix: '&4 &l[Owner]'
        worlds:
          '&4[Owner':
            options:
              prefix: '&l'
          '&4[Owner]':
            options:
              prefix: '&l'
      Moderator:
        options:
          prefix: '&8[&a!&8]&aModerator&8[&a!&8]'
    schema-version: 1
    users:
      aee90232-c850-4657-a585-685cbe7e6905:
        permissions:
        - '*'
        options:
          name: fergym
          group: Owner
        group:
        - Owner
    
    Thanks :D[cake]
     
  2. Offline

    DHLF

    Fergym
    You should edit your post and try to use the "code-view-thing" so your permissions file is not reformatted.

    Assuming I got it right(stopped using Pex a while ago):
    You are defining groups with prefixes but no futher "rights-nodes".
    Any command which do not need "op-rights" can be used by them.
    For every command they do not be able to use you have to add the proper node, as you did
    with "- -bukkit.command.plugins".
    So the only command which group PvPper is prohibited to use is.. "/plugins".

    If you have tested the commands using your own account(those aee90..) then you will have even "op-rights" due to the permission - '*'.
    You may try to change that to "- bukkit.command.version" for testing purposes.
    If you are still able to use "/version" then the formatting in your permissionfile is faulty.

    I got often confused about having those - '*' as my user's permission.
    A better way would be moving those all-you-can-have-permission in a special group(admin) and keep group-permissions in your "user-part".
    So you can switch your own group anytime you like and check out if the rights for other groups are properly set.

    A short overview of bukkit nodes http://wiki.bukkit.org/CraftBukkit_Commands

    EDIT: removed typos, included more grammar mistakes ^^
     
Thread Status:
Not open for further replies.

Share This Page