Solved PEX Allows all Groups to change their group

Discussion in 'Plugin Help/Development/Requests' started by ThePurpleGolem, Apr 2, 2015.

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

    ThePurpleGolem

    For some reason PEX is allowing all of the groups, to change the group they are in, and use every single PEX command. I have no idea why this is. Here is the permissions:
    Code:
    groups:
      Guest:
        default: true
        prefix: ''
        permissions:
        - essentials.afk
        - essentials.spawn
        - essentials.home
        - essentials.sethome
        - essentials.rules
        - essentials.motd
        - essentials.msg.*
        - essentials.help
        - essentials.suicide
        - essentials.signs.use.free
        - essentials.signs.use.buy
        - essentials.signs.use.warp
        - essentials.signs.use.disposal
        - essentials.warp
        - essentials.warp.list
        - essentials.warps.*
        - essentials.mail.*
        - essentials.tp
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpadeny
      Donator:
        default: false
        prefix: '&aVIP &f'
        permissions:
        - essentials.back
        - essentials.sell
        - essentials.worth
        - essentials.me
        - essentials.vanish
        - essentials.setspawn
        - essentials.fly
        - essentials.hat
        - essentials.signs.use.trade
        - essentials.signs.use.sell
        - essentials.signs.create.trade
        - essentials.signs.create.sell
        - essentials.signs.break.trade
        - essentials.signs.break.trade
        - essentials.nick
        - essentials.nick.color
        - essentials.nick.magic
        - essentials.nick.format
        - essentials.gamemode
        inheritance:
        - guest
      Moderator:
        default: false
        prefix: '&cMOD &f'
        permissions:
        - essentials.ban.*
        - essentials.broadcast
        - essentials.give
        - essentials.item
        - essentials.eco
        - essentials.clearinventory.others
        - essentials.clearinventory
        - essentials.vanish.see
        - essentials.essentials
        - essentials.kick
        - essentials.kick.notify
        - essentials.kill
        - essentials.mute
        - essentials.mute.notify
        - essentials.tempban
        - essentials.weather
        - essentials.unban
        - essentials.unban.notify
        inheritance:
        - donator
      Admin:
        default: false
        prefix: '&1ADMIN &f'
        permissions:
        - '*'
        - essentials.*
        - ls.admin
        - essentials.god.*
        - essentials.signs.break.buy
        - essentials.signs.break.free
        - essentials.signs.create.free
        - essentials.signs.create.warp
        - essentials.signs.break.warp
        - essentials.signs.break.disposal
        - essentials.signs.create.disposal
        - vault.admin
        - lagg.*
        inheritance:
        - donator
      Owner:
        default: false
        prefix: '&4&lOWNER &1'
        permissions:
        - '*'
        - essentials.*
        - ls.admin
        - essentials.god.*
        - essentials.signs.break.buy
        - essentials.signs.break.free
        - essentials.signs.create.free
        - essentials.signs.create.warp
        - essentials.signs.break.warp
        - essentials.signs.break.disposal
        - essentials.signs.create.disposal
        - vault.admin
        - lagg.*
        inheritance:
        - moderator
    users:
      ChaoticImpulse:
        group:
        - Owner
        permissions:
        - permissions.*
        options:
          group: owner
    
     
  2. Offline

    ThePurpleGolem

    I would really like some help on this...
     
  3. Offline

    Mrgts

    your permissions.yml is outdated
     
  4. Offline

    ThePurpleGolem

    It it? How do I fix this?
     
  5. Offline

    DemKazoo

    @Mrgts @ThePurpleGolem LOL, It's not. PermissionsEx is not properly functioning with 1.8 as far as I know.. Do you get any console errors if someone types in /pex <args> ?
     
  6. Invisible

    nverdier

  7. Offline

    ThePurpleGolem

    Last edited by a moderator: Apr 4, 2015
  8. Offline

    King_Jul

    Just try adding the permission -permissions.*

    This should override the bug and remove it from the player/groups.
     
  9. Offline

    Mrgts

    i have a 1.8.3 server and pex works great with no errors and it's stable!

    there is no "options:" above the preferences, i think that's what causing it
     
    Last edited by a moderator: Apr 5, 2015
  10. Offline

    ForsakenRealmz

    @ThePurpleGolem So, here is what I would do to test this.

    1.) It's not your inheritance, but it's kind of annoying me. Here is something you can do to cut down on unneeded text (which probably won't fix your problem). Make your Admins inheritance to 'moderator' and your Owners inheritance to 'Admins'. Then since you have the '*' permission node for the Admins you can pretty much delete all of the permission nodes for Owner. Might just want to keep the '*' for the Owner group just in case you have to add something later (formatting).

    2.) PermissionsEx is very sensitive. You can't use a single command, except for /pex, when you don't have the correct permission nodes for it. So, I have no clue why your players can promote themselves, but here is what I would do to troubleshoot it. Take your Bukkit.jar and StartServer script and create a new server on your desktop. Stop your other one for a couple minutes while you test this. Then start the new server up, add in the plugins, and test it in-game. If it is still giving you the issue then I would try to download the latest version of PermissionsEx. PermissionsEx does support 1.8+ servers, so I really don't think that's your issue.
     
  11. Offline

    ThePurpleGolem

    OH LOL. I have found out why it was not working!

    Code:
    users:
      ChaoticImpulse:
        group:
        - Owner
        permissions:
        - permissions.*
        options:
          group: owner
    
    As you can see, I had the permission all along to change ALL permissions. I was testing if all groups could change their group, but I was the only one testing it. I could always change my group because I always had the permission to. Anyway, I appreciate the help, and thank you all for your time. :)
     
Thread Status:
Not open for further replies.

Share This Page