PEX help.

Discussion in 'Spigot Plugin Help' started by DuoNetwork, Jul 12, 2018.

  1. Hi,
    I am making a server and Pex was working fine until I made my groups and gave them permissions, after that plugin does not let me do anything, the commands won´t display anything and the console didn´t say anything about it as well. Once I deleted my permissions.yml it started working again. What is wrong with my permissions.yml?
     

    Attached Files:

  2. Here you go....https://notepad-plus-plus.org/download/
    Code (Text):
    groups:
      default:
        options:
          default: true
          prefix: '&c[&7Member&c]'
        permissions:
        - modifyworld.*
        - essentials.help
        - silkspawners.place.*
        - silkspawners.silkdrop.*
        - silkspawners.explodedrop
        - essentials.rules
        - essentials.motd
        - essentials.afk
        - essentials.delhome
        - essentials.help
        - essentials.home
        - essentials.kit
        - essentials.kit.Member
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.ping
        - essentials.seen
        - essentials.sethome
        - essentials.signs.use.disposal
        - essentials.spawn
        - essentials.suicide
        - essentials.tpa
        - essentials.tpaccept
        - essentials.tpahere
        - essentials.tpdeny
        - essentials.balance
        - essentials.balancetop
        - essentials.ignore
        - essentials.pay
        - auction.start
        - auction.bid
      Owner:
        options:
          prefix: '[&4Owner&f]'
        permissions:
        - '*'
      God:
        options:
          prefix: '&f&n&l[&e&l&k&nLL&d&l&nGOD&e&l&k&nLL&f&l&n]'
        permissions:
        - essentials.set.multiple.GOD
        - essentials.kit.Potion
        - essentials.kit.GOD
        - essentials.heal
        - allplayervaults.amount.10
        inheritance:
        - SATAN
      Satan:
        options:
          prefix: '&f&l[&4&l&kLL&4&l&nSATAN&4&l&kLL&f&l]'
        permissions:
        - essentials.set.multiple.SATAN
        - essentials.kit.SATAN
        - essentials.feed
        - allplayervaults.amount.8
        inheritance:
        - ArcAngel
      Legion:
        options:
          prefix: '&0&l&n[&7&l&nLegion&0&l&n]'
        permissions:
        - essentials.set.multiple.Legion
        - essentials.kit.Legion
        - essentials.back
        - essentials.fly
        - essentials.joinfullserver
        - allplayervaults.amount.3
        inheritance:
        - Angel
      Demon:
        options:
          prefix: '&c[&4Demon&c]'
        permissions:
        - essentials.set.multiple.Demon
        - essentials.kit.Demon
        - essentials.hat
        - allplayervaults.amount.1
        inheritance:
        - Member
      Angel:
        options:
          prefix: '&e[&fAngel&e]'
        permissions:
        - essentials.set.multiple.Angel
        - essentials.kit.Angel
        - essentials.nick
        - essentials.echest
        - allplayervaults.amount.2
        inheritance:
        - Demon
      Admin:
        options:
          prefix: '[&cAdmin&f]'
        permissions:
        - worldedit.*
        - essentials.gamemode
        - essentials.tp
        - essentials.ipban
        - essentials.god
        - essentials.*
        inheritance:
        - GOD
        - SATAN
        - Mod
      Mod:
        options:
          prefix: '[&2Moderator&f]'
        permissions:
        - essentials.fly
        - essentials.chat.*
        - essentials.tp
        - essentials.kick
        - essentials.ban
        - essentials.invsee
        - essentials.spawn
        - essentials.warp
        - essentials.jail
        - essentials.back
        - essentials.back.ondeath
        - essentials.mute
        - essentials.kit.*
        - essentials.skull
        - essentials.skull.others
        inheritance:
        - GOD
        - SATAN
      FallenAngel:
        options:
          prefix: '&0&l&n[&7&l&nFallenAngel&0&l&n]'
        permissions:
        - essentials.set.multiple.FallenAngel
        - essentials.kit.FallenAngel
        - essentials.fix
        - allplayervaults.amount.5
        inheritance:
        - Legion
      ArcAngel:
        options:
          prefix: '&f&l&n[&e&l&nArcAngel&f&l&n]'
        permissions:
        - essentials.set.multiple.ArcAngel
        - essentials.kit.ArcAngel
        - essentials.repair
        - allplayervaults.amount.7
        inheritance:
        - FallenAngel
    schema-version: 1
     
  3. Anyone can tell me what means interhirance?
     
  4. This means from which rank, for example, the rank VIP inherits the rights when you write there zb player, then the VIP rank automatically has the rights of the player without having to re-enter the permissions.
     
  5. Inheritance, you basically have a default group, say, Member. This group has the permissions everyone should have.

    Then you have another group, say Donator, you want that group to have all the permissions Member has without having to reenter them all, so you make it inherit the group Member. Now it has all of the member permissions, and you simply use the Donator group to add/remove permissions to it.

    If you have another group, say Elite, you can make it inherit Donator, which will give it all of the Donator group perms, and also Member.

    That is basically how inheritance works.
     
    • Agree Agree x 1
  6. THANK YOU <3
    You are the best
     
  7. Strahan

    Benefactor

    Just remember, you do NOT need to inherit every group in the chain. So many times I see permissions files where they have like group noob then group member that inherits noob. Then group VIP that inherits member AND noob. Only the "highest" level is what you need.
     
  8. If your still having issues creating ranks and giving the ranks permissions, start fresh and use the pex in game commands to create the ranks and add perms.