PermissionsEx Working Basic Template

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

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

    toughenough6

    After much struggle, I have gotten my permissions.yml for PermissionsEx working well. I would now like to post it here, in hopes that it will help other people, and bypass the days that I spent looking for answers.

    Just note that I took out some more personalized things, like donator ranks, and permission nodes for more in-depth plugins. However, I left Essentials permission nodes intact.

    Code:
    groups:
      Guest:
        default: true
        prefix: '[Guest] '
        build: false
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - modifyworld.chat
      Member:
        default: false
        prefix: '&2[&aMember&2]&7 '
        build: true
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - essentials.afk
        - essentials.back
        - essentials.back.ondeath
        - 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:
        default: false
        prefix: '&6[&eVIP&6]&7 '
        inheritance:
        - Guest
        - Member
        build: true
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
      Mod:
        default: false
        prefix: '&1[&9Mod&1]&f '
        inheritance:
        - VIP
        - Member
        - Guest
        build: true
        permissions:
        - essentials.sethome.multiple.staff
        - essentials.helpop
        - essentials.home.others
        - essentials.nick
        - essentials.warp
        - essentials.warp.list
      Admin:
        default: false
        prefix: '&9[&bAdmin&9]&f '
        inheritance:
        - Mod
        - VIP
        - Member
        - Guest
        build: true
        permissions:
        - essentials.gamemode
        - essentials.give
        - essentials.god
      Owner:
        default: false
        prefix: '&6[&4Owner&6]&f '
        build: true
        permissions:
        - '*'
    users:
      exampleminecraftname:
        group:
        - Owner
      exampleminecraftname2:
        group:
        - Admin
    
    I am getting better at permissions, so if you need any help I might be able to help you.
     
    BiteableKnave09 likes this.
  2. Offline

    kursed-kid

    Hello, I am trying to setup plugins for my server and i'm still a little shaky as too how to setup permissions, i've used your template and it works great! got me farther than ever. only one little problem keeps occuring and it is this: everyone in the server no matter what group they're in can access all commands. Do you know what to do about this? i will be very thankful for any help regarding this subject. :)
     
  3. Offline

    midnightfang22

    By "all commands" do you mean stuff like /op, /give, /stop, /gamemode, etc.? Can you post your permissions.yml?
     
  4. Offline

    kursed-kid

    Yeah, it's like everyone is the owner lol.
    Here's my permissions.yml

    Code:
    groups:
      Guest:
        default: true
        prefix: '[Guest] '
        build: false
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - modifyworld.chat
      Member:
        default: false
        prefix: '&2[&aMember&2]&7 '
        build: true
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
        - essentials.afk
        - essentials.back
        - essentials.depth
        - essentials.delhome
        - essentials.help
        - essentials.home
        - 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:
        default: false
        prefix: '&6[&eVIP&6]&7 '
        inheritance:
        - Guest
        - Member
        build: true
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
      Mod:
        default: false
        prefix: '&1[&9Mod&1]&f '
        inheritance:
        - VIP
        - Member
        - Guest
        build: true
        permissions:
        - essentials.sethome.multiple.staff
        - essentials.helpop
        - essentials.home.others
        - essentials.nick
        - essentials.warp
        - essentials.warp.list
      Admin:
        default: false
        prefix: '&9[&bAdmin&9]&f '
        inheritance:
        - Mod
        - VIP
        - Member
        - Guest
        build: true
        permissions:
        - essentials.gamemode
        - essentials.give
        - essentials.god
      Owner:
        default: false
        prefix: '&6[&4Owner&6]&f '
        build: true
        permissions:
        - '*'
    users:
      Kursed_Kid:
        group:
        - Owner
      Jpeack:
        group:
        - Member
      Dacythe:
        group:
        - Member
      Michaelx420x
        group:
        - Member
     
  5. Offline

    Armydudeskater

    Hi kursed-kid I think that the solution is that every player in your server is an op. Op's have access to all commands wether permissions are allocated to that player or not. Hope this helped!

    ~Armydudeskater

    Hi kursed-kid, I think that the solution is that all players in your server are ops. Op's have all access to all commands wether permissions are allocated to that player or not. Hope this helped!

    ~Armydudeskater

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  6. Offline

    kursed-kid

    Yes i have noticed that, thanks :) Only problem that still remains is that once people are deop'd they just go to the default group even though they are set to a different group.
     
  7. Offline

    Armydudeskater

    An easy fix :) You're welcome!

    ~Armydudeskater
     
  8. Offline

    shondy12345

    i have another problem when i do the /promote command it says that there is an error in command syntax
     
  9. Offline

    XD_Gaming

    Trying this out on a server :p
     
  10. Offline

    livengoodb

    Use pastebin and post your errors etc there and post it here and I will take a look.
     
  11. Hi can anyone make an permissions.yml for me
    my plugins are
    • alwaysday 2.2.5
    • cleverbot
    • CreativeWorld
    • eliteblocker
    • essentials
    • essentials antibuild
    • essentials chat
    • essentials protect
    • essentials spawn
    • simplezones
    • lockette
    • spleef
    • mobileadmin
    • temple run
    I want the ranks

    • quest(gray)
    • member(white)
    • vip(gold)
    • admin(green)
    • co-owner(blue)
    • owners(red)
    Thanks allot
     
  12. Offline

    Vert77

    For the owner permissions, - '*' doesn't work for me. Help?
     
  13. Offline

    IMakeYouExtinct

    You seem to be good with permissions, may you help me? So far no one has been able to help me without creating another issue.
    http://pastebin.com/2VTa3ebZ Is my permissions
    Default rank works fine, however when I use command '/pex user <user> group set <group> To any rank BESIDES for default rank they have no commands or permissions. I can then just as easily reset them back to default then it works again.
    This issue is preventing me from having any donator or staff ranks. PLEASE HELP :/
     
  14. Offline

    Thebandit21

    When some one joins the server as a guest or member they dont have permissions to break any thing or much less talk can some one help me with this??
     
  15. Offline

    Revenant78

    Hey guys something happend with my permissions, I wrote it all like this in my yml file, with PermissionsEx, and basiclly what happend was this, I saved the file, I started up my server, and the console got spammed up with all these url messages and error messages and node messages, at the beginning it said that It couldn't load up PermissionsEx, and I used some YAML parsers to solve the problem, and they stated errors that I looked at and were all right so can someone please tell me what is wrong with the permissions file below. Thank you!

    Code:
    groups:
      Guest:
        default: true
        options:
          rank: '100'
        prefix: '&8[Newbie]&1'
        permissions:
        - modifyworld.*
        - -modifyworld.bucket.empty.lava
        - -mofifyworld.bucket.fill.lava
        - -modifyworld.items.craft.327
        - -modifyworld.blocks.place.46
        - -modifyworld.items.craft.46
        - essentials.afk
        - essentials.afk.auto
        - essentials.balance
        - essentials.compass
        - essentials.depth
        - essentials.getpos
        - essentials.help
        - essentials.helpop
        - essentials.ignore
        - essentials.kits.LandClaims
        - essentials.kits.tools
        - essentials.kit
        - essentials.list
        - essentials.mail
        - essentials.mail.send
        - essentials.motd
        - essentials.msg
        - essentials.msg.url
        - essentials.seen
        - essentials.suicide
        - essentials.tpa
        - essentials.worlds.Survival
        - essentials.worlds.world_nether
        - essentials.worlds.Spawn
        - essentials.tpaccept
        - essentials.warp
        - essentials.warp.list
        - essentials.world
        - essentials.spawn
        - playerheads.spawn.own
        - plotme.use.info
        - multiverse.access.Survival
        - multiverse.access.Spawn
        - multiverse.access.world_nether
        - greifprevention.accesstrust
        - multiverse.portal.access.Survival
        - multiverse.portal.access.world_nether
        worlds:
            Spawn:
                permissions:
                - essentials.fly
      Member:
        options:
          rank: '50'
        prefix: '&a[Member]&2'
        inheritance:
        - Guest
        permissions:
        - plotme.use.claim
        - plotme.use.home
        - plotme.use.clear
        - plotme.use.list
        - plotme.use.add
        - plotme.use.remove
        - playerheads.spawn
        - multiverse.access.Creative
        - multiverse.access.world_the_end
        - greifprevention.abandonclaim
        - greifprevention.trust
        - greifprevention.untrust
        - greifprevention.accesstrust
        - greifprevention.containertrust
        - greifprevention.trustlist
        - greifprevention.subdivideclaims
        - greifprevention.basicclaims
        - greifprevention.permissiontrust
        - greifprevention.untrust.all
        - greifprevention.buyclaimblocks
        - greifprevention.sellclaimblocks
        - essentials.workbench
        - essentials.balancetop
        - essentials.pay
        - essentials.me
        - essentials.nick
        - essentials.realname
        - essentials.recipe
        - essentials.whois
        - essentials.back
        - essentials.back.ondeath
        - essentials.keepxp
        - essentials.delhome
        - essentials.home
        - essentials.sethome
        - essentials.sethome.multiple
        - essentials.sethome.bed
        - essentials.tpdeny
        - essentials.warps.*
        - multiverse.portal.access.Creative
        - multiverse.portal.access.End
      Survivalist:
        options:
          rank: '25'
        prefix: '&e[Survivalist]&f'
        inheritance:
        - Guest
        - Member
        permissions:
        - worldedit.butcher
        - plotme.use.auto
        - essentials.tp
        - chatmanager.chat.color
        - essentials.kit.firework
        - essentials.invsee
        - essentials.jails
        - essentials.kick
        - essentials.kick.notify
        - essentials.ping
        - essentials.vanish.see
        - essentials.world
      Moderator:
        options:
          rank: '10'
        prefix: '&b[Mod]&3
        inheritance:
        - Guest
        - Member
        - Survivalist
        permissions:
        - essentials.fly
        - essentials.god
        - essentials.kits.*
        - essentials.nick.color
        - essentials.nick.format
        - essentials.realname
        - essentials.broadcast
        - essentials.mute
        - essentials.mute.exempt
        - essentials.mute.notify
        - essentials.socialspy
        - essentials.tempban
      Admin:
        options:
          rank: '3'
        prefix: '&6&l&o[Admin]&d'
        permissions:
        - '*'
        - -essentials.unban
        - -essentials.unbanip
        inheritance:
        - Guest
        - Member
        - Survivalist
        - Moderator
      Co-Owner:
        options:
          rank: '2'
        prefix: '&9&l&o[Co-Owner]&1'
        inheritance:
        - Admin
      Owner:
        options:
          rank: '1'   
        prefix: '&3&l&o[Owner]&c'
        permissions:
        - '*'
     
  16. Offline

    ama4994

    I really really need help! About 50 players have come on my server, and I have NO permission what so ever, so I had to use your, which I really didn't like, (I don't like Guest) so could you please edit this permissions file, because at the moment it isn't working. My players and I can't talk, even if they are OP they still can't. Please reply soon! Thank-you!
    ~ama4994

    Code:
    groups:
      Guest:
        default: true
        prefix: '&2[&aMember&2]&7 '
        build: true
        permissions:   
        - essentials.help
        - essentials.rules
        - essentials.motd
        - essentials.afk
        - essentials.back
        - essentials.back.ondeath
        - 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
        - usb.island.*
        - usb.party.*   
        - plotme.use.auto
        - plotme.limit.5
        - plotme.use.home
        - plotme.home   
      Advertiser:
        default: false
        prefix: '&6[&3Advertiser&2]&7 '
        inheritance:
        - Guest   
        build: true
        permissions:
        - essentials.hat
        - essentials.feed
        - disguisecraft.mob.*
        - disguisecraft.player.*
      VIP:
        default: false
        prefix: '&6[&eVIP&6]&7 '
        inheritance:
        - Guest
        - Advertiser
        build: true
        permissions:
        - essentials.help
        - essentials.rules
        - essentials.motd
      Mod:
        default: false
        prefix: '&1[&9Mod&1]&f '
        inheritance:
        - VIP
        - Advertiser
        - Guest
        build: true
        permissions:
        - essentials.sethome.multiple.staff
        - essentials.helpop
        - essentials.home.others
        - essentials.nick
        - essentials.warp
        - essentials.warp.list
      Admin:
        default: false
        prefix: '&9[&bAdmin&9]&f '
        inheritance:
        - Mod
        - VIP
        - Advertiser
        - Guest
        build: true
        permissions:
        - '*'
      Owner:
        default: false
        prefix: '&6[&4Owner&6]&f '
        build: true
        permissions:
        - '*'
    users:
      AlicyChs:
        group:
        - Owner
      PokeProZ:
        group:
        - Admin
     
  17. Offline

    Robloxjedi


    I have no idea what I am doing pls help me!
     
  18. Offline

    callum343

    Same shondy i don't know if my permissionex has actually worked for me i put at the bottom of the permissions.yml file this:

    Callum343:
    group:
    - Owner

    So this should just automatically rank me shouldn't it?
     
  19. Offline

    RedAlpha1234

    Ive Edited Your Permissions File Its Cleaner Better And You Wont Have Any Trouble With It You Can Even Use /promote and /demote (BY THE WAY THE GUY WHO POSTED THIS TEMPLATE IS A NOOB AT PEX)
    groups:
    Default:
    default: true
    permissions:
    - essentials.help
    - essentials.rules
    - essentials.motd
    - essentials.afk
    - essentials.back
    - essentials.back.ondeath
    - 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
    - usb.island.*
    - usb.party.*
    - plotme.use.auto
    - plotme.limit.5
    - plotme.use.home
    - plotme.home
    - essentials.build
    - essentials.use
    prefix: '&6[&7Default&6]&f'
    options:
    rank: '600'
    Advertiser:
    inheritance:
    - Default
    permissions:
    - essentials.hat
    - essentials.feed
    - disguisecraft.mob.*
    - disguisecraft.player.*
    prefix: '&6[&3Advertiser&6]&7'
    options:
    rank: '500'
    VIP:
    inheritance:
    - Guest
    permissions:
    - essentials.help
    - essentials.rules
    - essentials.motd
    prefix: '&6[&eVIP&6]&4'
    options:
    rank: '400'
    Mod:
    inheritance:
    - VIP
    permissions:
    - essentials.sethome.multiple.staff
    - essentials.helpop
    - essentials.home.others
    - essentials.nick
    - essentials.warp
    - essentials.warp.list
    prefix: '&6[&9Mod&6]&a'
    options:
    rank: '300'
    Admin:
    inheritance:
    - Mod
    permissions:
    - '*'
    prefix: '&6[&bAdmin&6]&c'
    options:
    rank: '200'
    Owner:
    permissions:
    - '*'
    prefix: '&6[&2&lOwner&6]&5&l'
    options:
    rank: '1'
    users:
    AlicyChs:
    group:
    - Owner
    PokeProZ:
    group:
    - Admin

    you have to do /pex group (group) user add (User)
     
  20. Offline

    martian3333

    RedAlpha1234
    Looks like the template you posted there had all of the spacing removed.
     
  21. Offline

    JaguarJo

    IMakeYouExtinct The only group you have correct spacing on is your default group. The others are indented too far and that is why their permissions won't work. Example: once you get to line 98, Brute should only be indented 2 spaces, not 4 like it is now, and all the lines under Brute are indented way too far also. This is a problem with ALL of your groups except for the default.

    Revenant78 First of all, you want your negated permissions BEFORE the node that has the '*' in it. So your modifyworld.* that's in the guest group needs to be after the other modifyworld nodes.
    Secondly, you've misspelled all the griefprevention nodes. I comes before E.
    Third, for your guest group in the worlds section, you've got spacing problems. Each line should only be indented 2 spaces from the line above it; you have them at 4.
    Fourth, your admin group has the same problem with negated nodes as your guest group. Put the negative nodes BEFORE the - '*'.
    And last thing, this is a small one, you forgot an s in your survivalist firework kit node. Should be essentials.kits.firework. Your other kits are done correctly, so I'm assuming this one was just a typo.

    RedAlpha1234 At least the guy who posted the template knew enough to use code tags. Also, if you're posting a fixed file for someone specific, which it appears you are since the user section has actual usernames in it, then you should either quote the person or tahg them, so they'll get an alert that you've replied and actually see your post. Don't be so quick to call someone a noob, Noob. ;)
     
    poker134 likes this.
  22. Offline

    poker134

    i got this but it doesnt work :/ can someone help me please! And prefix dont work (sorry for my bad english im french :p )

    http://pastebin.com/8JqZQwnL


    Thanks you for your help!
     
  23. Offline

    Iroh

    To all of the people in the this thread! Use www.pastebin.com for all files that have spacing. Reply with the pastebin of this file.
     
  24. Offline

    JaguarJo

    poker134 It looks like you started putting your group permissions in the pex config file, instead of permissions.yml. You'll want to remove the groups stuff you added to that file and put it back to the way it was with just that stuff at the top. I'll see if I can fix the spacing for your groups, send you a link, and then you can put those in the pex permissions.yml.

    Edit: http://pastebin.com/BAP73K7Y You still need to put your playername down at the bottom in the users section where it says YourPlayerName. I added an inheritance for your Admins group, so that they get all the perms the Builders get, in addition to the special perm only for them. Spacing has been corrected, so if you need to add more groups or new permission nodes, just use the same pattern of spacing as what's already there. Also, never use tabs! They break the file.
     
  25. Offline

    poker134

    ok thanks but i did put this in the permission.yml files that was in my permissionEX plugins folder.
     
  26. Offline

    figul1005

  27. Offline

    JaguarJo

    figul1005 Fixed: http://pastebin.com/u3TVbqLG
    Your spacing was off all over the place and you forgot some colons. You also had your inheritances messed up a little; for example, Moderator inherits from Member already, so Admin only needs to inherit from Moderator and that will include Member perms without you having to list it.
     
  28. Offline

    DarkSlayer272

    Here is mine - http://pastebin.com/E3iQD6J5 - I don't know why it is not working and maybe someone here can help me with the config. The un-oped player can't use any of the commands. Please help! Thanks
     
  29. Offline

    JaguarJo

  30. Offline

    cjayhawk

    This was Very Helpful, i made some tweaks fitting my server but thank you!!!![diamond]
     
Thread Status:
Not open for further replies.

Share This Page