PEX problem

Discussion in 'Bukkit Help' started by dragonrykr, Aug 13, 2012.

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

    dragonrykr

    I want my admins to have every single command but not the /killall, /setspawn, and /op. but when i do something like this:
    Code:
    admin:
        build: true
        prefix: '&1[Admin]&f'
        permissions:
        - '*'
        - -essentials.killall
        - -essentials.kill.force
        - -essentials.setspawn
        - -essentials.op
    they have all commands so please help me how to remove this 3 commands from admins.
     
  2. Offline

    MadBluey

    '*' = every command , sometimes it's buggy.

    Put every permission seperetaly is my opinipon.
     
  3. Offline

    Necrodoom

    op is not an essentials command. its bukkit.
     
  4. Offline

    dragonrykr

    so what to type for /op?
     
  5. Offline

    Necrodoom

    bukkit.command.op
     
  6. Offline

    dragonrykr

    and for /setspawn {i have SpawnControl and Essetnials
    }
     
  7. Offline

    Necrodoom

    spawncontrol overrides /setspawn
     
  8. Offline

    dragonrykr

    oh i dont have spawncontrol
    so what to type for it
    ???
     
  9. Offline

    Necrodoom

    you have spawncontrol or dont have?
     
  10. Offline

    Xmillsa

    Pex doesn't work with negative permissions at the bottom, they must be at the top!!

    Pex is reading it from top to bottom, so you type /killall
    Pex then starts at the top and sees: - '*'
    Which means you have permission for everything! So... that means you're allowed to use /killall and it simply stops there.

    If you put - -essentials.killall at the top, it checks that first, then sees you're not allowed to use it, so stops there and cancels your command.

    So long story short, simply put - '*' at the end of the permissions list and try again: (and of course take into account what others have said about the /op command :p)
    Code:
    admin:
        build: true
        prefix: '&1[Admin]&f'
        permissions:
        - -essentials.killall
        - -essentials.kill.force
        - -essentials.setspawn
        - -essentials.op
        - '*'
     
Thread Status:
Not open for further replies.

Share This Page