Question Pex Not Working!

Discussion in 'Bukkit Help' started by Kitty (:, Nov 25, 2017.

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

    Kitty (:

    Hi, I'm Trying to get together a server Which is gonna be an OPPVP/PotPvp server and is currently developing my plugins and it comes to my senses that PermissionsEX is Disabled due to some issue that I don't know how to solve please help My pex:
    Code:
    groups:
      Guest:
        default: false
        prefix: '&7[&e&lGuest&7] '
        build: false
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - modifyworld.chat
      Member:
        default: true
        prefix: '&7[&3&oUnranked&7] '
        build: false
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - essentials.afk
        - essentials.back
        - essentials.depth
        - essentials.delhome
        - essentials.help
        - essentials.home
        - 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.spawn
        - essentials.suicide
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - crazyenchantments.info  
        - crazyenchantments.tinker  
        - crazyenchantments.blacksmith  
        - crazyenchantments.access  
      VIP:
        default: false
        prefix: '&h[&e&oRanked&h]'
        inheritance:
        - Guest
        - Member
        build: false
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
      Mod:
        default: false
        prefix: '&h[&bModerator&h] '
        inheritance:
        - VIP
        - Member
        - Guest
        build: false
        permissions:
        - essentials.sethome.multiple.staff
        - essentials.helpop
        - essentials.home.others
        - essentials.nick
        - essentials.warp
        - essentials.warp.list
      Admin:
        default: false
        prefix: '&4[ADMIN FROM HELL] '
        inheritance:
        - Mod
        - VIP
        - Member
        - Guest
        -build: true
        - '*'
        permissions:
        - essentials.gamemode
        - essentials.give
        - essentials.god
      Owner:
        default: false
        prefix: '&8[&c-&8][&4Owner&8][&c-&8] '
        build: true
        permissions:
        - '*'
     
    Last edited by a moderator: Nov 25, 2017
  2. Offline

    timtower Administrator Administrator Moderator

    @Kitty (: Admin group, you have there "-build: true"
    Then another permission, remove the build true line there and move it to the correct place.
     
  3. Offline

    jaytelford

    Also I would like to add to @timtower reply that if you were attempting to remove the ability to build from Admins, you just need to do this

    Code:
    Admin:
        default: false
        prefix: '&4[ADMIN FROM HELL] '
        build: false
        inheritance:
        - Mod
        - VIP
        - Member
        - Guest
        - '*'
        permissions:
        - essentials.gamemode
        - essentials.give
        - essentials.god
    Also as well, why are you inheriting from
    Code:
    - '*'
    and in addition, you don't need to have all of those listed under your inheritances, you just need the last group. For example, you say your Admin group inherits from

    - Mod
    - VIP
    - Member
    - Guest

    But: You just need to do it like this. Member inherits from Guest ... VIP inherits from Member ... Mod inherits from VIP ... Admin inherits from Mod. Doing it this way you would only need one inheritance per group - that being the last previous group. So your Admin group would then look like this.

    Code:
    Admin:
        default: false
        prefix: '&4[ADMIN FROM HELL] '
        build: true
        inheritance:
        - Mod
        permissions:
        - essentials.gamemode
        - essentials.give
        - essentials.god

    Your admins will then inherit all permissions from all groups above theirs. So they will have all permissions from Guest to Admin.

    Hope that helped XD.

    PS sorry for all the edits but I had problems inserting the code into the post.
     
    Last edited: Dec 5, 2017
Thread Status:
Not open for further replies.

Share This Page