PermissionsEx Working Basic Template

Discussion in 'Bukkit Help' started by toughenough6, Aug 3, 2012.

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

    Robert Elkins

    Whatever I do I'm always set as a Player (the default) and I swear I set myself as the Owner in permissions.yml. My Mincraft name is RagingRottaH2O and I put that in there. Here is my permissions.yml- (I'm just trying to get this to work before anything else)

    groups:
    Player:
    default: true
    prefix: '[Player] '
    build: true
    permissions:
    - modifyworld.* (I'm not to sure how to put this part in)
    - essentials.i.torch
    - essentials.heal
    - essentials.feed
    - essentials.spawn
    - essentials.warp.red
    - essentials.warp.blue
    - essentials.tpa
    - essentials.tpahere
    - essentials.tpaccept
    - essentials.tpdeny
    Owner:
    default: false
    prefix: '&a[&eOwner&a]&4 '
    build: true
    permissions:
    - '*'
    users:
    RagingRottaH2O:
    group:
    - Owner


    I also tried doing things de-oped in Player and I couldn't do anything besides walk, jump, hit, ect not open or use anything
     
  2. Offline

    JaguarJo Retired Staff

    Robert Elkins When you paste directly into the comments, it doesn't show your file's spacing; so without knowing for sure if you've got the right spacing or not, this is how your pex file should look:
    Code:
    groups:
      Player:
        default: true
        prefix: '[Player] '
        options:
          build: true
        permissions:
        - modifyworld.*
        - essentials.itemspawn.item-torch
        - essentials.heal
        - essentials.feed
        - essentials.spawn
        - essentials.warp
        - essentials.warp.list
        - essentials.warps.red
        - essentials.warps.blue
        - essentials.tpa
        - essentials.tpahere
        - essentials.tpaccept
        - essentials.tpdeny
      Owner:
        default: false
        prefix: '&a[&eOwner&a]&4 '
        options:
          build: true
        permissions:
        - '*'
    users:
      RagingRottaH2O:
        group:
        - Owner
    Check your file's spacing against this one here. Make sure you only used actual spaces, never the tab key. Your build: true lines needed to be put under an options section. And I fixed a couple of your essentials nodes. A full list of essentials permission nodes can be found here: http://wiki.ess3.net/wiki/Command_Reference/Perm
     
  3. Offline

    sjalili1

  4. Offline

    TreeDB

  5. Offline

    kevinklijnee

    So, I'm making an permissions.yml. But if I start up my server the prefix's don't show up. I've installed Groupmanager and EssentialsChat, but none of them worked. I want to make it work immediatly when i run my server. This is my permissions file as it is now. Could one of you take the time to check if its correct ?

    groups:
    Visitor:
    prefix: '&f[Visitor]'
    default: true
    permissions:
    -
    options:
    rank: '800'
    Member:
    prefix: '&f[&cMember&f]'
    default: false
    inheritance: Visitor
    permissions:
    -
    options:
    rank: '700'
    Yeoman:
    prefix: '&f[&eYeoman&f]'
    default: false
    inheritance: Member
    permissions:
    -
    options:
    rank: '600'
    Warrior:
    prefix: '&f[&9Warrior&f]'
    default: false
    inheritance: Yeoman
    permissions:
    -
    options:
    rank: '500'
    Duke:
    prefix: '&f[&1Duke&f]'
    default: false
    inheritance: Warrior
    permissions:
    -
    options:
    rank: '400'
    Baron:
    prefix: '&f[&8Baron&f]'
    default: false
    inheritance: Duke
    permissions:
    -
    options:
    rank: '300'
    Moderator:
    prefix: '&f[&l&bModerator&r&f]'
    default: false
    inheritance: Baron
    permissions:
    -
    options:
    rank: '200'
    Admin:
    prefix: '&f[&l&aAdmin&r&f]'
    default: false
    inheritance: Moderator
    permissions:
    -
    options:
    rank: '100'
    Owner:
    prefix: '&f[&l&6Owner&r&f]'
    default: false
    inheritance: Admin
    permissions:
    - '*'
    options:
    rank: '0'
    users:
    kevinklijnee:
    group:
    - Owner
     
  6. Offline

    ?Clueless?

  7. Offline

    LHammonds

    This 1st post example is for an older version of PEX.

    Here is an updated version of the 1st post for PEX 1.22.1 with some slight changes.
    • Groups now have ranks (e.g. priorities) assigned to each one.
    • Groups now belong to either a "Player" or "Staff" ladder system. Everyone has a player rank but only staff have an additional staff rank. Everyone gets a prefix but staff members also get a suffix denoting their position.
    • Duplicate nodes reduced and inheritance cleaned up.
    • The original example only listed nodes if you are using Essentials and ModifyWorld plugins but failed to include nodes for what you already have at this point. Bukkit and PEX. Which have been added.

    Pastebin Link

    Code:
    groups:
      Guest:
        options:
          default: true
          rank: '999'
          rank-ladder: 'Player'
          prefix: '[Guest] '
          build: false
        permissions:
        - -bukkit.command.clear
        - -bukkit.command.me
        - -bukkit.command.op
        - -bukkit.command.op.give
        - -bukkit.command.plugins
        - -bukkit.command.reload
        - -bukkit.command.stop
        - -bukkit.command.version
        - bukkit.broadcast.user
        - bukkit.command.help
        - bukkit.command.tell
        - bukkit.command.kill
        - essentials.help
        - essentials.rules
        - essentials.motd
        - modifyworld.chat
      Member:
        options:
          rank: '800'
          rank-ladder: 'Player'
          prefix: '&2[&aMember&2]&7 '
          build: true
        inheritance:
        - Guest
        permissions:
        - essentials.afk
        - essentials.back
        - essentials.depth
        - essentials.delhome
        - essentials.help
        - essentials.home
        - essentials.kit
        - essentials.kit.tools
        - 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
      VIP:
        options:
          rank: '700'
          rank-ladder: 'Player'
          prefix: '&6[&eVIP&6]&7 '
          build: true
        inheritance:
        - Member
        permissions:
        - essentials.back.ondeath
        - essentials.hat
      Mod:
        options:
          rank: '300'
          rank-ladder: 'Staff'
          suffix: ' &1[&9Mod&1]'
          build: true
        permissions:
        - bukkit.command.ban
        - bukkit.command.ban.ip
        - bukkit.command.ban.player
        - bukkit.command.kick
        - bukkit.command.ban.list
        - bukkit.command.unban.player
        - bukkit.command.unban.ip
        - bukkit.command.teleport
        - bukkit.command.say
        - essentials.sethome.multiple.staff
        - essentials.helpop
        - essentials.home.others
        - essentials.nick
        - essentials.warp
        - essentials.warp.list
      Admin:
        options:
          rank: '200'
          rank-ladder: 'Staff'
          suffix: ' &9[&bAdmin&9]'
          build: true
        inheritance:
        - Mod
        permissions:
        - bukkit.broadcast
        - bukkit.broadcast.admin
        - bukkit.command
        - bukkit.command.clear
        - bukkit.command.defaultgamemode
        - bukkit.command.difficulty
        - bukkit.command.gamemode
        - bukkit.command.gamerule
        - bukkit.command.give
        - bukkit.command.effect
        - bukkit.command.enchant
        - bukkit.command.help
        - bukkit.command.list
        - bukkit.command.me
        - bukkit.command.op.take
        - bukkit.command.plugins
        - bukkit.command.save
        - bukkit.command.save.disable
        - bukkit.command.save.enable
        - bukkit.command.save.perform
        - bukkit.command.say
        - bukkit.command.seed
        - bukkit.command.spawnpoint
        - bukkit.command.teleport
        - bukkit.command.timings
        - bukkit.command.time
        - bukkit.command.toggledownfall
        - bukkit.command.unban
        - bukkit.command.unban.ip
        - bukkit.command.unban.player
        - bukkit.command.version
        - bukkit.command.weather
        - bukkit.command.whitelist
        - bukkit.command.whitelist.add
        - bukkit.command.whitelist.disable
        - bukkit.command.whitelist.enable
        - bukkit.command.whitelist.list
        - bukkit.command.whitelist.reload
        - bukkit.command.whitelist.remove
        - bukkit.command.xp
        - essentials.gamemode
        - essentials.give
        - essentials.god
        - permissions.manage
        - permissions.manage.*
        - permissions.debug
        - permissions.reload
        - permissions.config
        - permissions.backend
        - permissions.manage.membership.*
        - permissions.manage.users
        - permissions.manage.users.*
        - permissions.manage.users.cleanup
        - permissions.manage.users.permissions.*
        - permissions.manage.users.permissions.timed.*
        - permissions.manage.users.prefix.*
        - permissions.manage.users.suffix.*
        - permissions.manage.dump
        - permissions.manage.worlds
        - permissions.manage.worlds.inheritance
        - permissions.manage.groups.inheritance
        - permissions.manage.groups.inheritance.*
        - permissions.manage.groups.permissions.*
        - permissions.manage.groups.permissions.timed.*
        - permissions.manage.groups.list
        - permissions.manage.groups.prefix.*
        - permissions.manage.groups.suffix.*
        - permissions.manage.groups.create.*
        - permissions.manage.groups.remove.*
        - permissions.user.promote.*
        - permissions.user.demote.*
      Owner:
        options:
          rank: '100'
          rank-ladder: 'Staff'
          suffix: ' &6[&4Owner&6]'
          build: true
        inheritance:
        - Admin
        permissions:
        - essentials.*
        - bukkit.*
        - permissions.*
        - modifyworld.*
    users:
      exampleminecraftnameforplayer1:
        group:
        - Guest
      exampleminecraftnameforplayer2:
        group:
        - Member
      exampleminecraftnameforstaff1:
        group:
        - Member
        - Mod
      exampleminecraftnameforstaff2:
        group:
        - VIP
        - Admin
      exampleminecraftnameforstaff3:
        group:
        - VIP
        - Owner
    
    It is also helpful if you run any changes to your .yml file through an Online YAML Parser to make sure you don't have any formatting errors or PEX will not be able to load the file.

    It would be a wise idea to consult the official PEX wiki before looking for answers elsewhere.

    I have a permissions tutorial that I'm working on which might be helpful to some as well as examples.

    LHammonds
     
Thread Status:
Not open for further replies.

Share This Page