Permissions Information [PEX,bPerms,PermsBukkit]

Discussion in 'Bukkit Help' started by Omnitv, Jul 2, 2012.

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

    Omnitv

    IN THE PROCESS OF EDITING THIS THREAD!
    SO DONT BE A BUNGHOLE AND DO NOT BE INSULTING!

    Many many issues regarding Permissions, So i have decided to do this.
    Note: If you have no interest in looking at this well good luck solving your problem.

    What is this thread? This thread solves common problems asked by permissions.yml holders and how to edit it.

    What are good permissions plugins?
    I recommend (open)

    What are permissions?
    Spoiler (open)
    Permissions allow your user to use any commands such as /kill or deny them building on your server


    Where can I find my permissions.yml file?
    Spoiler (open)
    They are in your permissions folder and named permissions.yml


    How do I properly format/edit my permissions.yml?
    Spoiler (open)
    First use Notepad++ (TextWranglerfor mac users), to edit your permission.yml and any other config


    Here is how a properly formatted Permissions.yml file looks like. This is mine as an example.
    Permissions.yml (open)

    This is the default Groups
    PEX (open)
    Code:
    groups:
      default:
        prefix:
        suffix:
        default: true
        permissions:
    

    bPerms (open)
    Code:
    groups:
      default:
        permissions: []
        groups: []
        meta:
          prefix: '[Default]'
          suffix: '[Default]'

    PermsBukkit (open)
    Code:
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default

    How do I know if there is an error?
    Check your permissions.yml file here
    Yaml Parser (open)

    Usually you get an error by seeing this
    Spoiler (open)

    Or your command just does not work.
    and you get a big stack trace on your console.
    Here is an example of an error in your permissions file. in GUI
    Error (open)

    aa.png

    how to read it?
    Error (open)

    aa.png

    Here is an example of an error.
    Pex
    PEX EXAMPLE (open)
    Code:
    Visitor:
        options:
          rank: '900'
        prefix: '[Visitor]'
        permissions:
        - bukkit.command.kill
        - - bukkit.command.plugins
        - - bukkit.command.version
        - multiverse.portal.access.*
        - Multiverse.core.spawn.self
    
    Output:
    Code:
    ERROR:
    while parsing a block mapping
      in "<unicode string>", line 3, column 7:
              rank: '900'
              ^
    expected <block end>, but found '<block mapping start>'
      in "<unicode string>", line 4, column 9:
                prefix: '&7[Visitor]&9[U]&e'
                ^
    How to fix?
    There is an error in Line 3 named rank.
    This is the fix.

    Code:
    Visitor:
        options:
        rank: '900'
        prefix: '[Visitor]
        permissions:
    Here is another error in permissions.yml

    Code:
      Host:
        options:
          rank: '100'
        prefix: '&6[Staff]&c'
        suffix: '&b[Host]'
        permissions:
          - '*'
          - .give.item.*
          - adminchat.send
          - adminchat.read
          - adminchat.broadcast
        - mwStop.stop
        - mwStop.use
        - CommandBin.hat
    Here is the fix.

    Code:
      Host:
        options:
          rank: '100'
        prefix: '&6[Staff]&c'
        suffix: '&b[Host]'
        permissions:
        - '*'
        - .give.item.*
        - adminchat.send
        - adminchat.read
        - adminchat.broadcast
        - mwStop.stop
        - mwStop.use
        - CommandBin.hat


    How do I get a player into a group?
    PEX (open)
    Code:
    users:
      username:
        permissions:
        - Host
        group:
        - Your Group
    #group goes in here

    bPerms (open)
    Code:
      admin:
        permissions: []
        groups: #group goes in here []
        meta:
          priority: '100'
          prefix: ''
          suffix: ''


    PermsBukkit (open)
    Code:
    users:
     
      omnitv:
     
        groups:
     
        - admin  //notice its groups for permissions bukkit
     
      jacklin213:
     
        groups:
     
        - member

    How do I give oner person a single command not just an entire group?
    PEX (open)
    Code:
    users:
      username:
        permissions:
        - Host
    #extra permissions goes here
        group:
        - Host

    bPerms (open)
    Code:
      username:
        permissions:
        - bukkit.command.kill
    #extra nodes goes here
        groups:
    

    I formatted it correctly see? Why I get stupid error?
    Chill this is why. You need to use Spaces not tabs. Pex, bPerms and PemsBukkit dont read tabs.

    How do I not give a player this command?
    By negating this is negate this is how you negate

    PEX (open)
    Code:
    - -bukkit.command.kill
    PEX (open)



    bPerms (open)
    bPerms (open)
    Code:
        - ^bukkit.command.kill


    How do I give players words before name and after?
    This is called prefix and suffix
    Here is an example
    PEX (open)
    PEX (open)
    Code:
    Host:
        options:
        rank: '100'
        prefix: '[Staff]' #EDIT Staff, Leave the '[]'
        suffix: '[Host]'
        permissions:
    


    bPerms (open)
    bPerms (open)
    Code:
      admin:
        permissions: []
        groups: []
        meta:
          priority: '100'
          prefix: '[Admin]'
          suffix: '[Staff]'#EDIT Staff, Leave the '[]'
          suffix: ImLeet


    permsBukkit (open)
    permsBukkit (open)
    Code:
    da-name-format: '+prefix+name&e'
    date-format: HH:mm:ss
    message-format: '+prefix+name&f: +message'
    mchat:
        prefix:
            admin: 'DtK [SO]  '
            sadmin: 'DtK [SA]  '
            jadmin: '&aDtK [JA]  '
            member: 'DtK [M]  '

    How do I give colour to the prefixes and suffixes?
    This is the yaml to coloured prefixes and suffixes.
    Colours (open)

    [​IMG]

    This is how you give colours to the prefixes and suffixes
    Edit the &6 and such.
    PEX (open)
    Code:
        prefix: '&6[Staff]&c'
        suffix: '&b[Host]'

    First you need this:bChatManager
    bPerms (open)
    Code:
          prefix: '&e[Admin]'
          suffix: '&e[Staff]'

    PermsBukkit (open)
    Code:
    da-name-format: '+prefix+name&e'
    date-format: HH:mm:ss
    message-format: '+prefix+name&f: +message'
    mchat:
        prefix:
            admin: '&4DtK [SO] &7 '
            sadmin: '&9DtK [SA] &7 '
            jadmin: '&aDtK [JA] &7  '
            member: '&cDtK [M] &7 '

    How do I give player all commands?
    Keep in mind '*' also gives them access to /op
    PEX (open)
    Code:
        permissions:
        - '*'
    

    bPerms (open)
    Code:
        - plugin.node.*

    PermissionsBukkit
    in the OP list

    How do I give a player permissions? /give player does not work.
    These are commands you need the nodes here is an example
    Spoiler (open)

    Code:
        permissions:
     
        - bukkit.command.kill
     
    

    You need to go to their plugin and fine there nodes ok. Find them in your plugins wiki or thread

    How do I set up permission nodes for PermissionsEX, bPermissions
    All are pretty much like this
    PEX (open)
    Code:
    groups:
      default:
        prefix:
        suffix:
        default: true
        permissions:
    #  - your.permission.node.goes.here
    

    bPerms (open)
    Code:
    groups:
      default:
        permissions: []
    #permissions goes here
        groups: []
        meta:
          prefix: '[Default]'
          suffix: ImNoob 

    What about permissionsBukkit?
    permsBukkit (open)
    Code:
    users:
    groups:
        default:
            permissions:
                permissions.build: false
    #permissions goes here
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
    #permissions goes here
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'

    Is there a way for me to input these things, and it will go to the permissions.yml
    Yes if you are a pex user use this
    Spoiler (open)

    If you are a bPermissions user
    Spoiler (open)


    What are inheritance on Pex?

    Spoiler (open)
    Inheritance allows a group to have all the permissions that you have selected.
    Like a Host can have all the permissions a Member can have, this saves you time in copying and pasting the nodes


    Priority's on bPermissions?
    Spoiler (open)
    Same thing, as inhetitance.


    On PermissionsEX what are ranks?
    Spoiler (open)
    Ranks is like a monarchy.


    Why do Hosts on your permissions.yml is in 100?
    Kings are number 1
    Spoiler (open)
    Peasants are 1,000


    What about bPermsisisons do they have Inheritance?
    Spoiler (open)
    Yes, there are called priority's.


    How does it work?*as above*
    Goes like this
    bPerms (open)
    Code:
    groups:
      groupA:
        permissions:
        - permission.a
        - permission.b
        groups:#Add groups here
      groupB:
        permissions:
        - permission.c
        - permission.d
        groups:
        #Add groups here


    and for pex?
    PEX (open)
    Code:
      Sniper:
        options:
        rank: '700'
        inheritance: #inheritance group goes here
    


    I have my permissions on there but they do not work.
    Spoiler (open)
    First guess: Are they in folder plugins.

    Spoiler (open)
    Second guess: There may be two plugins conflicting with that command.


    I have Essentials can I…..
    Spoiler (open)
    No, I don’t like essentials nor do I know any understanding of it.


    I have Permissionsbukkit…
    Spoiler (open)
    Don’t ask me PermissionsBukkit is a pain, even when making this thread I don't understand it.


    How about bPermissions and PermissionsBukkit?
    Spoiler (open)
    No they dont work together.


    How about PEX and PermissionsBukkit?
    Spoiler (open)
    I havent tried but im sure its like bPerms and permsBukkit.
    so, no.



    Can I Use PermissionsEX and bPermissions?
    Spoiler (open)
    For me yes they work fine but codename_B differs.


    Who is codename_B?
    Spoiler (open)
    Creator of the most simplest plugin, called bPermissions.


    Can I contact him?
    Spoiler (open)
    You need to give him pizza first.
    Yes.


    Can I contact you?
    Spoiler (open)
    God help me.


    Im too lazy to do all this, can you do it for me?
    Spoiler (open)
    No, reason is that many permissions.yml are strictly personalized and "Giving" out youre permissions.yml is a security risk to there server.


    Can I pay you to just give me your permissions.yml file

    HEY!! (open)
    HEY!! (open)
    NO NO MONETARY OFFERS ALLOWED
    HEY!! (open)


    Can you just give me your permissions.yml file
    Spoiler (open)
    I already did. :3


    Can I inbox you if I still have an issue.
    SPOILER (open)

    Dont you dare. Most likely I will ignore it.


    Why do you use PEX and bPerms?

    Spoiler (open)
    I use PEX for the main permissions and usually when i get lazy i just add the command/permissions onto bPerms


    Why did you provide your servers permissions.yml?

    Spoiler (open)
    Because I can. do you not want examples?


    Why is there no info about Essentials.

    Spoiler (open)
    Me no like essentials.


    If I still have an issue can i post them here on this thread?

    Spoiler (open)
    Yes, Ill be glad to help. But first If there is any error's coming form your console/GUI and also post youre permissions.yml at pastie or pastebin.
    Or at the code box Symbol {}#
    and then link them here.
    I dont want to see this
    Useless (open)


    Host:
    options:
    rank: '100'
    prefix: '&6[Staff]&c'
    suffix: '&b[Host]'
    permissions:
    - '*'
    - .give.item.*
    - adminchat.send



    Here are some usefull links to other threads about permissions.
    Links (open)


    bPermissions Noob level 99, since i know codename_B will do this.
    Noobs (open)


    Look no further
    These step by step instructions have been designed to help you get a basic bPermissions setup running on your server!
    [​IMG]
    On the main page, click the "Download" button.
    [​IMG]
    On the next page right click the "Download" button and choose "Save Link as..."
    [​IMG]
    Save link as bpermissions.jar in your "plugins" folder
    [​IMG]
    Run your server once to generate the default files.
    [​IMG]
    Start your server again then type "permissions helpme" into the console and stop the server.
    [​IMG]
    A default users.yml and groups.yml have been generated for you.
    [​IMG]
    Edit the files until you are happy with them.
    [​IMG]
    Copy the edited default files.
    [​IMG]
    Paste them into your "worldname" folders to replace the empty files there.
    [​IMG]
    Start your server. You now have a basic permissions setup.
    [​IMG]
    In-game commands are equally easy to use.



    Disclaimer:
    DO NOT PM me for any more stuff regarding permissions! Post them here so others can benifit to the help.
    DO NOT Offer me money or donations! I do this because it is free.
    DO NOT Offer any money on this thread!
    I DO NOT own any of these plugins or programs.
    I will update accordingly.
    Respect all help given to you.
    Respect other's
    Dont get mad, have a cookie.
    Cookie (open)
    [​IMG]


    If you think this has help you with your permissions issue awesome, makes sure that me making this thread was worth it. Glad to help. :3

    Thanks for reading! Or scrolling down to the bottom. :3

    If there is some bits I missed out please help yourself and post them below.

    Kind regards to the makers of bPermissions, PermissionsEX, and PermissionsBukkit
    bPerms: codename_B
    PEX: @t3hk0d3
    PermissionsBukkit: SpaceManiac
    EDITS (open)

    Edits: Took 5 times to tag t3hk0d3
    Added in stack traces

    ADDED DISCLAMER:
    I am going to bed this took me all night I will add more permissionsbukkit when I wake up.
     
  2. Offline

    MeesterWaffles

    You are one sexy father panda.
     
    Omnitv likes this.
  3. Offline

    Omnitv

    haha thanks.
     
    MeesterWaffles likes this.
  4. Offline

    Omnitv

  5. Offline

    ChancEmerica

    it looks good but what about group manager?
     
  6. Offline

    Omnitv

    Why is there no info about Essentials.


     
  7. Offline

    jacklin213

    ^ PERMISSIONS FTW groupmanager can smd =.= for the moment cause i cfb experminting wid GM
     
  8. Offline

    cray_Z

    <3 GM and essentials o.o
     
  9. Offline

    Necrodoom

    name one issue.
     
  10. Offline

    Omnitv

    1. Extreme repetitive nodes.
    2. All the .yml's are in folders making it irritating to go though your permissions.yml like
    3. server\plugins\essentials\blah\blah\blah\groups.yml
    4. Having both the groups and the users in two different configs.
    5. Too many features that I dont find useful or necessary.
    6. Tends to break permissionsEX and bPerms.
    7. Tends to override other plugin commands.
    8. And it irritates me that it supplies too many commands and nodes that confuzzle me when I try to configure it.
     
  11. Offline

    Necrodoom

    1. so, its not an issue. if they werent repetitive, youd had to check the wiki all the time.
    2. you cant click 2 more times?
    3. wrong path. shows you never used groupmanager. its plugins/groupmanager/worlds/world/groups.yml
    4. and? makes it easier to edit
    5. others find them useful, you maybe not.
    6. essentials works fine with them. if you managed to use both groupmanager AND PEX or Bperms, then, yes, it will break, because both are permissions plugin. theres no surprise in here and its not an issue
    7. not true since late beta.
    8. theres a very helpful wiki that explains everything.
     
    obscurehero likes this.
  12. Offline

    Omnitv

    Well this is my opinion, I personally dont like it.
    If you/others like it fine by me.
    This is only my personal opinion.
     
  13. Offline

    Necrodoom

    then please say that instead of "essentials plugin has issues" because thats misleading.
     
  14. Offline

    Omnitv

    done changed
     
  15. Offline

    Varsic

    How do you handle your ranking? Looks like your using PEX, if so it seems your ranks are weird. pex promote and demote wouldn't work, please tell me your using some other plugin lol?
     
  16. Offline

    Omnitv

    I am using PEX as a main permisisons handler but I use bPerms aswell but I use that ONLY when I get lazy to add a permission node.
    can you please explain?
    " How do you handle your ranking? "
     
  17. Offline

    Varsic

    Most people who type in rank: '900'
    tend to incorporate groups/ranks on their server. All I know is PEX handles the ranking system with the Higher the number the lower the rank. You can get weird numbers IE)
    Default rank: 100 <---normal based number
    VIP rank: 50 <---in PEX eyes, greater of a rank then default
    group1 rank: 250 <---- in PEX eyes, lowest of all the ranks
    Owner: 1 <--- This is the highest possible rank you can set in PEX
    group2: 0 <---PEX does not use 0, and i forgot what it defaults back to
    Doner: 25 <---2nd highest possible rank this setup
     
  18. Offline

    Omnitv

    I honestly dont know man, I almost never NEVER touch the ranks.
    Thats on my perms.
     
  19. Offline

    Varsic

    OH ok, its a good thing to look into, You can use the command /pex promote omnitv and it will promote you.
    IE:

    You would type this in and save it, etc, etc
    When you type that command in game, assuming you have the power, it will automatically change it to this

    Based on my previous post*
     
  20. Offline

    Omnitv

    your telling me how to fix my permisisons.yml.
    You got guts.
    I know how to fix it, and i prefer to do it manually not though the console.
    im just too lazy to do it now.
     
  21. Offline

    jacklin213

  22. Offline

    mbaxter ʇıʞʞnq ɐ sɐɥ ı

    If you want to support good plugins, drop PEX (unpatched bugs, months) and add Privileges.
     
    obscurehero likes this.
  23. Offline

    Omnitv

    Really man? unpatched bugs for months? Well that bursts me bubble. They need to do a recall.
    Any way I need to edit this thread any way, just adding one line of information is a pain.
     
  24. Offline

    Necrodoom

    "what are good permissions plugins?"
    "commandbook"

    wat
     
  25. Offline

    Omnitv

    ?
     
  26. Offline

    Necrodoom

    commandbook is not a permission plugin..?
     
  27. Offline

    Omnitv

    Really, in my clueless mind I thought it was :p
     
  28. Offline

    codename_B

    Omnitv bPermissions auto-parses tabs and converts them into spaces
     
  29. Offline

    Necrodoom

    also essentials is not a permission plugin.. groupmanager is.
     
  30. Offline

    Omnitv

    You trolling me or something? coz im getting this weird itch.
    Kool never knew dat.
     
Thread Status:
Not open for further replies.

Share This Page