Problem/Bug Help with PEX

Discussion in 'Plugin Help/Development/Requests' started by EnderGamer555, May 15, 2017.

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

    EnderGamer555

    So I just got pex to replace my crappy perms plugin and it shows up in red on /pl and /pex does nothing here is my permissions.yml
    Code:
    groups:
      Default
        default: true
        build: true
        prefix: '&7[Member]&f'
        permissions
        - essentials.help
        - modifyworld.chat
        - modifyworld.*
        - essentials.home
        - essentials.sethome
        - essentials.back
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.spawn
      Donator:
        build: true
        inheritance:
        - Default
        prefix: '&6[Donator]&f'
        permissions:
        - essentials.enchant
        - essentials.repair
      Moderator:
        build: true
        inheritance:
        - Default
        prefix: '&b[Moderator]&7'
        suffix: '&7'
        permissions:
        - essentials.repair
        - essentials.heal
        - essentials.item
        - essentials.give
        - essentials.fly
        - essentials.kick
        - essentials.mute
        - essentials.tjail
        - essentials.jail
        - essentials.tempban
        - essentials.vanish
      Admin:
        build: true
        inheritance:
        - Moderator
        prefix: '&4[&cAdmin&4]&e'
        suffix: '&7'
        permissions:
        - essentials.gamemode
        - essentials.ban
        - essentials.unban
        - essentials.ipban
        - essentials.unipban
        - essentials.pardon
        - essentials.enchant
      Owner:
        build:true
        inheritance:
        - Admin
        prefix: '&4[Owner]'
        suffix: '&b'
        permissions:
        - '*'
    EDIT: Okay, I got to work, but now all my prefixes don't show up...
    ANOTHER EDIT: I got Chat Manager Reloaded but now it just shows [Guest] even with Owner rank!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited: May 15, 2017
  2. Offline

    timtower Administrator Administrator Moderator

    @EnderGamer555 Please post your updated permissions file, because you don't have any Guest nodes in the current one.
     
  3. Offline

    EnderGamer555

    Here is the updated perms file:
    Code:
    groups:
      Member:
        build: true
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - essentials.afk
        - essentials.depth
        - essentials.delhome
        - essentials.help
        - essentials.home
        - essentials.kit
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.motd
        - essentials.msg
        - essentials.ping
        - essentials.r
        - essentials.rules
        - essentials.seen
        - essentials.sethome
        - essentials.signs.use.disposal
        - essentials.warp.spawn
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        options:
          prefix: '&2[&aMember&2]&7 '
          default: true
      wood:
        inheritance:
        - Member
        build: true
        permissions:
        - essentials.kit.wood
        - essentials.feed
        options:
          prefix: '&6[&6Wood]&7 '
          default: false
      Mod:
        inheritance:
        - VIP
        - Member
        - Guest
        build: true
        permissions:
        - essentials.sethome.multiple.staff
        - essentials.helpop
        - essentials.home.others
        - essentials.nick
        - essentials.warp
        - essentials.warp.list
        options:
          prefix: '&1[&9Mod&1]&f '
          default: false
      Admin:
        inheritance:
        - Mod
        - VIP
        - Member
        - Guest
        build: true
        permissions:
        - essentials.gamemode
        - essentials.give
        - essentials.god
        options:
          prefix: '&9[&bAdmin&9]&f '
          default: false
      Owner:
        build: true
        permissions:
        - '*'
        options:
          prefix: '&6[&4Owner&6]&f '
          default: false
      Dev:
        inheritance:
        - Owner
    schema-version: 1
    users:
      13abfe7a-5071-4711-bf6c-1f2cc062fcf7:
        options:
          suffix: \[\&l\&0EnderSux\&r\]
          name: EnderGamer555
          group: Owner
          prefix: '&r[&l&5EnderSux&r]'
        group:
        - Dev
    
     
    Last edited: May 16, 2017
  4. Offline

    Dessie_YT

    @EnderGamer555
    You have no weights defined. Therefore inheritance includes prefixes as well. The lower the weight the higher "rank" you are. Making Owner probably 1, Admin 2, etc... You also have a user prefix, which over writes all group prefixes. You have some groups inheriting the group; "Guest" and thats not a group. I suggest making one, and then defining its prefix. Also, use EssentialsChat instead of ChatManagerReloaded. ChatManager isn't made for dealing with prefixes, its more for, well, managing chat. (Clearing it and such).
     
  5. Offline

    EnderGamer555

    Yeah buy even my user prefix isn't working :/

    Also, what are weights?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 18, 2017
  6. Offline

    Dessie_YT

    @EnderGamer555
    Weights define the "priority" of a rank. Think of it like a Business. CEO would probably be 1, Developers, maybe 10, and then just normal Employees 50. The higher number, the higher priority.
     
  7. Offline

    EnderGamer555

    Okay, I changed it to this:
    Code:
    groups:
      Member:
        build: true
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - essentials.afk
        - essentials.depth
        - essentials.delhome
        - essentials.help
        - essentials.home
        - essentials.kit
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.me
        - essentials.motd
        - essentials.msg
        - essentials.ping
        - essentials.r
        - essentials.rules
        - essentials.seen
        - essentials.sethome
        - essentials.signs.use.disposal
        - essentials.warp.spawn
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpdeny
        options:
          prefix: '&2[&aMember&2]&7 '
          default: true
          weight: '1'
      wood:
        inheritance:
        - Member
        build: true
        permissions:
        - essentials.kit.wood
        - essentials.feed
        options:
          prefix: '&6[&6Wood]&7 '
          default: false
          weight: '5'
      Mod:
        inheritance:
        - wood
        - Member
        build: true
        permissions:
        - essentials.sethome.multiple.staff
        - essentials.helpop
        - essentials.home.others
        - essentials.nick
        - essentials.warp
        - essentials.warp.list
        options:
          prefix: '&1[&9Mod&1]&f '
          default: false
          weight: '20'
      Admin:
        inheritance:
        - Mod
        - wood
        - Member
        build: true
        permissions:
        - essentials.gamemode
        - essentials.give
        - essentials.god
        options:
          prefix: '&9[&bAdmin&9]&f '
          default: false
          weight: '25'
      Owner:
        build: true
        permissions:
        - '*'
        options:
          prefix: '&6[&4Owner&6]&f '
          default: false
      Dev:
        inheritance:
        - Owner
      leather:
        permissions:
        - essentials.kit.leather
        inheritance:
        - wood
        - Member
        options:
          prefix: '[&6Leather&r]'
          default: false
          weight: '6'
    schema-version: 1
    users:
      13abfe7a-5071-4711-bf6c-1f2cc062fcf7:
        options:
          suffix: \[\&l\&0EnderSux\&r\]
          name: EnderGamer555
          group:
        - Dev
        permissions:
        - \*
      47ff8e00-92bc-4902-b7af-36456679fe3c:
        group:
        - leather
        options:
          name: hOI_Im_Temmy
     
    Last edited: May 20, 2017
  8. Offline

    Dessie_YT

    @EnderGamer555
    You have it backwards. Mod should have a lower number than Member. You have Member 1 and Mod 20, making Member a higher priority
     
Thread Status:
Not open for further replies.

Share This Page