PermissionsEx Help :)

Discussion in 'Bukkit Help' started by Kozs, Nov 1, 2012.

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

    Kozs

    http://dev.bukkit.org/server-mods/permissionsex/

    Is it possible, I wanted to add a class system so it would add a permission for just one person. For example


    Essentials.fly someone bought it with in-gamemoney using server signs, could I use Permissionsex to add essentials.fly FOR only that player?


    If so, how?
     
  2. Offline

    TheFlannelBeard

    I did this for my races, using Upgrades to their classes. I use Master Promote to do this, wonderful plugin.

    So here...ill use mine for example. And no, theres not an "easy" way to do this. Sorry :(

    Code:
      Skymember:
        prefix: '&a[Sky] &f'
        default: false
        permissions:
        - MasterPromote.rank.buy.skyfly
        options:
          rank: '800'
      skyfly:
        prefix: '&a[Sky] &f'
        default: false
        permissions:
        - -MasterPromote.rank.buy.skyfly
        - flyexample.use
        inheritance:
        - Skymember
        options:
          rank: '790'
    
    Notice... rank Skymember has the same prefix as rank SkyFly. This lets the player know they didnt really change ranks, just acquired an upgrade.

    Also notice the use of Master Promote. in Skymember i gave them permission to use the sign, and in SkyFly i negated that permission. This also ensures they cant use any other sign, so you have compleeeeete control of rank up signs ^_^ use the config file in MP to name each rank so it knows and syncs with your PEX.

    Also take notice of inheritance. SKYFLY inherits SKYMEMBER (cause its still the same rank, just an upgrade) but just adds your fly plugin.

    Does that make sense?
     
  3. Offline

    Kozs

    Interesting, thanks:)
     
  4. Offline

    TheFlannelBeard

    If you can make sense of that, use it! Its a pain, yes, but it gives you complete control over your players user experience.
     
Thread Status:
Not open for further replies.

Share This Page