Solved PEX Help

Discussion in 'Spigot Plugin Help' started by JonKirk, Apr 30, 2017.

  1. Hey All,

    I know I post a lot for help, and I appreciate everyone lending a hand.

    I'm trying to setup PEX by myself for the first time (complicated back story with everything getting deleted and developers bailing).

    I was hoping you'd be able to have a look at the permissions file and let me know if it looks okay so far (still to add more perms)

    I want each rank to inherit all previous ranks

    Iron gets Member
    Lapis gets Iron and Member
    Redstone gets Lapis, Iron and Member and so on.

    Please find config below.

    Code (Text):
    groups:
      Member:
        options:
          default: true
          prefix: '&7[Member]&r '
        permissions:
        - modifyworld.*
        - essentials.helpop
        - essentials.ignore
        - essentials.msg
        - essentials.workbench
        - essentials.balance
        - essentials.balance.others
        - essentials.balancetop
        - essentials.pay
        - essentials.afk
        - essentials.afk.auto
        - essentials.help
        - essentials.motd
        - essentials.realname
        - essentials.recipe
        - essentials.rules
        - essentials.seen
        - essentials.suicide
        - essentials.delhome
        - essentials.sethome
        - essentials.tpaccept
        - essentials.tpdeny
        - essentials.warp
        - essentials.sign.use.buy
        - essentials.sign.use.warp
        - essentials.spawn
        - essentials.kit
      Iron:
        options:
          default: false
          prefix: '&7[Iron]&r '
        permissions:
        - modifyworld.*
        - essentials.tpa
        - essentials.kit
        - essentials.kits.Iron
        - essentials.sethome.multiple
        - essentials.sign.color
        inheritance:
        - Member
      Lapis:
        options:
          default: false
          prefix: '&1[Lapis]&r '
        permissions:
        - modfyworld.*
        - essentials.kits.lapis
        - essentials.kit
        inheritance:
        - Lapis
      Redstone:
        options:
          default: false
          prefix: '&c[Redstone]&r '
        permissions:
        - modifyworld.*
        - essentials.enderchest
        - essentials.kits.redstone
        - essentials.kit
        inheritance:
        - Redstone
      Gold:
        options:
          default: false
          prefix: '&6[Gold]&r '
        permissions:
        - modifyworld.*
        - essentials.kits.gold
        - essentials.kit
        - essentials.tpahere
        inheritance:
        - Lapis
      Diamond:
        options:
          default: false
          prefix: '&b[Diamond]&r '
        permissions:
        - modifyworld.*
        - essentials.feed
        - essentials.feed.others
        - essentials.hat
        - essentials.kits.diamond
        - essentials.kit
        inheritance:
        - Gold
      Emerald:
        options:
          default: false
          prefix: '&a[Emerald]&r '
        permissions:
        - modifyworld.*
        - essentials.heal
        - essentials.heal.others
        - essentials.nick
        - essentials.kits.emerald
        - essentials.kit
        inheritance:
        - Diamond
      Obsidian:
        options:
          default: false
          prefix: '&5[Obsidian]&r '
        permissions:
        - modifyworld.*
        - essentials.fly
        - essentials.repair
        - essentials.nick.color
        - essentials.kits.obsidian
        - essentials.kit
        inheritance:
        - Emerald
      Owner:
        permissions:
        - '*'
        - essentials.enchantments.allowunsafe
        - essentials.silentjoin
        options:
          prefix: '&b&o&l[Owner]&r&4 '
        inheritance:
        - SrAdmin
      SrAdmin:
        permissions:
        - '*'
        - essentials.enchantments.allowunsafe
        - essentials.silentjoin
        options:
          prefix: '&4&o&l[Sr.Admin]&r&c '
        inheritance:
        - Admin
      Admin:
        permissions:
        - '*'
        options:
          prefix: '&d&o&l[Admin]&r&c '
        inheritance:
        - Mod
      Mod:
        permissions:
        - modifyworld.*
        options:
          prefix: '&a&o&l[Mod]&r&c '
        inheritance:
        - JrMod
      JrMod:
        permissions:
        - modifyworld.*
        options:
          prefix: 'e&e&o&l[Jr.Mod]&r&c '
        inheritance:
        - Helper
      Helper:
        permissions:
        - modiyworld.*
        options:
          prefix: '&f&o&l[Helper]&r&c '
        inheritance:
        - Obsidian
    schema-version: 1
    users:
      599952f0-a0e3-4531-94cb-eb3c1f93f096:
        group:
        - Owner
        options:
          name: AUS_craft
          prefix: ''
      cf608993-6a0b-4542-b1d0-2331f761b3b5:
        group:
        - SrAdmin
        options:
          name: ScarXL
      039d57fc-54be-4ac4-b4f8-4726affeba64:
        group:
        - SrAdmin
        options:
          name: PonyStride
     
    Thanks :)
     
    #1 JonKirk, Apr 30, 2017
    Last edited: Apr 30, 2017
  2. I did look at that, and I believe i followed it correctly.
    But I was just asking for a second opinion as it seems some of my permissions aren't inheriting.

    Also it seems I can't access a particular command, for example when I set myself as 'Diamond' rank which has the /hat command, it tells me I don't have access to the command?

    Sorry, just trying to clarify.
     
  3. Go on pastebin and type in permissions ex and learn from the hundreds of them docked there! And design your own.
     
  4. Turns out I'm just dumb, and /hat is assigned to another command from another plugin.
    Soz