Help with PEX

Discussion in 'Spigot Plugin Help' started by darkenmoonz, Aug 6, 2018.

  1. Hello! I'm using the version of PermissionsEx that was with md_5's 1.13 post. I think the error is in the file rather than the plugin but I know barely anything about PermissionsEx and I grabbed most of this file off of a prebuilt sample one.

    default: true
    build: true
    prefix: '&7[Member]&f'
    - modifyworld.*
    - essentials.tpa
    - essentials.tpaccept
    - essentials.tpdeny
    - nautomessage.receive.json
    - rtp.teleport
    - griefprevention.lava
    - griefprevention.spam
    - griefprevention.siegeimmune
    - griefprevention.seeinactivity
    build: true
    - Default
    prefix: '&6[Donator]&f'
    - essentials.home
    - essentials.sethome
    - essentials.back
    build: true
    - Default
    prefix: '&b[Moderator]&7'
    suffix: '&7'
    - essentials.heal
    - essentials.item
    - essentials.give
    - essentials.kick
    - essentials.mute
    - essentials.tjail
    - essentials.jail
    - essentials.tempban
    - essentials.vanish
    build: true
    - Moderator
    prefix: '&4[&cAdmin&4]&e'
    suffix: '&7'
    - essentials.gamemode
    - essentials.ban
    - essentials.unban
    - essentials.ipban
    - essentials.unipban
    - essentials.pardon
    - essentials.enchant
    - Admin
    prefix: '&4[Owner]'
    suffix: '&b'
    - '*'

    I'd really appreciate if someone could fix this up or tell me how to :)

    EDIT: here is a pastebin
    #1 darkenmoonz, Aug 6, 2018
    Last edited: Aug 6, 2018
  2. Use LuckPerms, PEX didn't work well with my server.
    • Agree Agree x 1
  3. Heya,

    Your permissions.yml file had a few little mistakes in it, try this. You can see the errors yourself if you put your file into a YAML-Parser, the errors will be displayed to the right in red.

    Good luck!
  4. Your default and prefix need to be listed under options: also, I have never seen build: in a pex file before, thats an odd one for me for sure
  5. the syntax : build: is a verry old syntax.
  6. ah gotcha, I kinda figured it was something like that.
  7. Again as I said I pulled this off of a prebuilt configuration that was 2 years old haha. Thanks for everyone's help!
  8. Listen to @Kevin0565, he's right. PEX is old and lacks many features. LuckPerms is new, has a very active/supportive developer (@Luck) and has probably the most features I've ever seen in a free permissions plugin anywhere. It has a website editor, easy to use commands, a super extensive Wiki/API, and much more.