Solved Example Pex Permission.yml

Discussion in 'Bukkit Help' started by Go4Nightfire, Apr 4, 2013.

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

    Go4Nightfire

    Hello everyone,

    I made an example for a pex group. I Always got some trouble finding the possibilities for a pex group.
    So I made an overview of all the possibilities for a group. If someone knows something I missed or if something is wrong, please leave a message below. In the next code the white gaps are 2spaces/blanks long. So before ''Guest:'' there are 2 spaces, before ''default:'' there are 4 spaces', before ''rank:'' there are 6 and before ''inheritance:'' there 4.

    Code:
    groups:
      Guest:
        default: true
        prefix: '[&6Quest&f]'
        suffix: ''
        options:
          rank: '300'
          rank-ladder: laddera
          build: false
        worlds:
          World1:
            permissions:
            - permission.node 
          World2:
            permissions:
            - permission.node
        permissions:
        - '*'
        inheritance:
        - Quest
    Remember that pex reads from top to bottom. So first place the - -notes and then the - notes. Also never use tabs and watch your spaces/blanks.
    I hope this helps you,

    NightFire

    Does it help and got someone some suggestions?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 31, 2016
    SolarEpsilon likes this.
  2. Offline

    Go4Nightfire

    Thx man now I feel very useless. Next time I will not share it again. And btw on google I coudnt find a full example with all possibilities only parts of things you can do with pex I could find.
     
  3. Offline

    SolarEpsilon

    All Go4Nightfire was doing was trying to help people. I myself when I started using PermissionsEx didn't know how to use the Permissions.yml, and something like this could've been very useful. Try not to downtalk people, it's a bad habit.
     
    Go4Nightfire likes this.
  4. Offline

    Go4Nightfire

    Thanks to all people who sended me a pm or quoted this example to help others :)!
     
  5. Offline

    Go4Nightfire

    Show me?
    Remember they must be simple and clear I can maybe but them at the bottom of my post for some extra info :)
     
  6. Go4Nightfire, this was helpful, thank you.
     
  7. Offline

    Necrodoom

    removed some ancient flames. if you post on this stay on topic.
     
  8. Offline

    MisterMiner

    I have a problem, I started running multi worlds so I was trying to set up pex to handle the separate perms, but no matter how I try it it will not work
    This is my latest attempt, minus the member names to keep it shorter, any ideas?

    Code:
      noob:
        options:
          rank: '1000'
        prefix: '&9(Noob)'
        worlds:
          World_of_Yah:
        permissions:
        - vtriggers.use.*
        - permissions.user.demote
        - permissions.user.promote.
        - group.noob
        - essentials.warp
        - vtriggers.player
        - buttonwarp.use
        - warp.town
        - treasurechest.access
        - essentials.signs.use.warp
        - essentials.signs.use.buy
        - essentials.signs.use.heal
        - essentials.signs.use.sell
        - essentials.signs.use.kit
          BIO_WORLD:
        permissions:
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
      OutSider:
        options:
          rank: '950'
        prefix: '&3(OutSider)'
        default: true
        worlds:
          World_of_Yah:
        permissions:
        - pchest.open
        - craftbook.mech.cauldron.use
        - factions.officer
        - citizens.npc.talk
        - mcmmo.commands.party
        - mcmmo.commands.party.invite
        - factions.unclaim
        - factions.title
        - factions.show
        - factions.sethome
        - factions.relation
        - factions.power
        - factions.owner
        - factions.open
        - factions.money.withdraw
        - factions.money.deposit
        - factions.money.balance.any
        - factions.money.balance
        - factions.map
        - factions.list
        - factions.kick
        - factions.join
        - factions.home
        - factions.help
        - factions.deinvite
        - factions.create
        - factions.claim
        - ecocreature.gain.*
        - ecocreature.reward.*
        - battlenight.user
        - MobBounty.collect
        - essentials.help
        - home.home
        - mmcmmo.commands.whois
        - mcmmo.ability.woodcutting
        - mcmmo.ability.swords
        - mcmmo.ability.axes
        - mcmmo.ability.mining
        - mcmmo.ability.unarmed
        - mcmmo.ability.excavation
        - mcmmo.ability.herbalism
        - mcmmo.skills.
        - mcmmo.skills.herbalism
        - mcmmo.skills.archery
        - mcmmo.skills.unarmed
        - mcmmo.skills.repair
        - mcmmo.skills.woodcutting
        - mcmmo.skills.mining
        - mcmmo.skills.taming
        - mcmmo.commands.ptp
        - rc
        - recipe
        - craftipedia.use
        - mychunk.buy
        - mychunk.sell
        - jail.usercmd.jailcheck
        - jail.usercmd.jailpay
        - jail.usercmd.jailstatus
        - treasurechest.access
        - essentials.signs.use.*
        - essentials.signs.use.warp
        - essentials.signs.use.buy
        - essentials.signs.use.heal
        - essentials.signs.use.sell
        - essentials.balancetop
        - essentials.afk
        - essentials.balance
        - essentials.warp
        - essentials.msg
        - essentials.xmpp
        - essentials.pay
        - essentials.list
        - essentials.kit
        - essentials.kit.starter
        - essentials.balance.others
        - essentials.signs.use.kit
        - essentials.delhome
        - essentials.home
        - essentials.sethome
        - essentials.break.*
        - essentials.build.*
        - warp.town
        - buttonwarp.use
        - phatloots.loot.*
        - phatloots.moneyfrommobs
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
      Citizen:
        inheritance:
        - OutSider
        options:
          rank: '940'
        prefix: '&0(&8Citizen&0)&7'
        worlds:
          World_of_Yah:
        permissions:
        - factions.autoclaim
        - factions.invite
        - factions.description
        - factions.disband
        - recipe.grid
        - rc.grid
        - group.Citizen
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
      Seeker:
        options:
          rank: '930'
        prefix: '&0(Seeker)&7'
        worlds:
          World_of_Yah:
        inheritance:
        - Citizen
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
      Baqash_Warrior:
        options:
          rank: '920'
        prefix: '&0(Baqash_Warrior)&7'
        worlds:
          World_of_Yah:
        inheritance:
        - Seeker
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
      Sakal_Warrior:
        options:
          rank: '910'
        prefix: '&0(Sakal_Warrior)&7'
        worlds:
          World_of_Yah:
        inheritance:
        - Baqash_Warrior
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
      Ruawq_Warrior:
        options:
          rank: '900'
        prefix: '&0(Ruawq_Warrior)&7'
        worlds:
          World_of_Yah:
        inheritance:
          Sakal_Warrior
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
      Moderator:
        options:
          rank: '100'
        prefix: '&0(&1Moderator&0)&7 '
        worlds:
          World_of_Yah:
        permissions:
        - jail.command.unjail
        - jail.command.jaillistcells
        - jail.command.jaillist
        - jail.command.jail
        - tjail.*
        - essentials.warp
        - essentials.tjail
        - essentials.mute
        - essentials.unban
        - essentials.ban
        - essentials.tempban.offline
        - essentials.tempban
        - essentials.kick
        inheritance:
        - Ruawq_Warrior
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
      Admins:
        options:
        prefix: '&0(&4Owner&0)&7 '
        suffix: '&0(&4Admin&0)&7'
        worlds:
          World_of_Yah:
        permissions:
        - restockit.dispenser.destroy
        - restockit.dispenser.open
        - restockit.dispenser.create
        - restockit.chest.create
        - vtriggers.player
        - vtriggers.admin
        - hungergame.admin.*
        - hungergame.game.*
        - hungergame.set.*
        - hungergame.remove.*
        - hungergame.add.*
        - craftipedia.portablecrafting
        - rc.grid
        - recipe.grid
        - xraydetection.admin
        - essentials.xmpp
        - catacombs.list
        - catacombs.style
        - catacombs.enable
        - catacombs.suspend
        - catacombs.end
        - catacombs.reset
        - catacombs.delete
        - catacombs.build
        - catacombs.plan
        - essentials.eco
        - essentials.tempban.exempt
        - essentials.mute.exempt
        - essentials.kick.exempt
        - essentials.setwarp
        - essentials.ban.setwarp
        - essentials.ban.exempt
        - permissions.*
        inheritance:
        - Moderator
          BIO_WORLD:
        permissions:
        - craftbook.mech.command.use
        - craftbook.mech.chair.use
        - buttonwarp.use
        - warp.town
        - vtriggers.player
        - treasurechest.access
        - phatloots.loot.*
        - phatloots.moneyfrommobs
        - essentials.kit
        - essentials.break.*
        - essentials.build.*
        - essentials.balancetop
        - essentials.afk
    users:
     
     
  9. Offline

    Go4Nightfire

    I think it has someting to do with spaces/blanks.
    Code:
    worlds:
      World_of_Yah:
      permissions:
      - permissons.nodes
    After the ''World_of_Yah:'' on the next line you have to put the ''permissions:'' and the ''permissions nodes'' 2 more spaces/blanks to the right.
    Maybe you can also use pastebin to paste it here so we can find the problem if this woudn't fix it.

    Check your whole yml file for these spaces/blanks and also never use tabs.
     
Thread Status:
Not open for further replies.

Share This Page