Help with permissionsbukkit congfig.yml?

Discussion in 'Bukkit Help' started by spicychilli, May 18, 2012.

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

    spicychilli

    Hey, so I've been running a small server with just some friends for a while now, but as its now grown to about 6 players I'm finding that having everyone as OP in order to use commands isn't really a good idea anymore, so I tried to set up permissionsbukkit and the config.yml

    I copied and pasted the permissions in from online, adding the spacing and the :true|false ending, and tried to copy the format in the examples.
    The console is telling me: [SEVERE] [PermissionsBukkit] Unable to load configuration! and now players which are not OP are now unable to make any commands, even things like /rules, getting the message: 'You do not have access to that command.'

    I realise this is a classic noob help thread but I can't work out where it's going wrong, and can't find any answers through google. Anyway, I was wondering if anyone who's good with this sort of stuff could take a look to see if there's anything obvious going wrong. The default and untrusted are supposed to be the same too.

    Pastebin of the config.yml: http://pastebin.com/iMfq5Hfw

    Thanks a lot
     
  2. Offline

    Harry8550

    Your permission nodes are 6 spaces away from the side, They must be 12. Check the example PermissionsBukkit dev gives you...

    Code:
    users:
        ConspiracyWizard:
            permissions:
                permissions.example: true
            groups:
            - admin
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    messages:
        build: '&cYou do not have permission to build here.'
    http://dev.bukkit.org/server-mods/permbukkit/pages/configuration/
     
    spicychilli likes this.
  3. Offline

    spicychilli

    Hey, thanks for replying. I tried to fix it according to the example you quoted, but it's still giving me:
    [SEVERE] [PermissionsBukkit] Unable to load configuration!

    Pastebin of the config.yml now: http://pastebin.com/71MadG7N
    Did some further refinement since but still not working: http://pastebin.com/sXAD54FD
     
  4. Offline

    Konkz

    My recommendation is to use PermissionsEx!
     
  5. Offline

    spicychilli

    Thanks, I'll give it a go if I can't work this out soon.

    I see the latest version is for game verion 1.2.3, is it fully functional with 1.2.5?

    I just tried pasting my current config.yml (http://pastebin.com/sXAD54FD) into an online yaml parser (http://yaml-online-parser.appspot.com) and get the following error message, if any of you can make sense of it..?

    Code:
    ERROR:
     
    while parsing a block mapping
      in "<unicode string>", line 25, column 5:
            ConspiracyWizard:
            ^
    expected <block end>, but found '<block sequence start>'
      in "<unicode string>", line 34, column 8:
              - admin
              ^
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 25, 2016
  6. Offline

    Harry8550


    Try this - http://pastebin.com/SfAicP12 :)
     
    spicychilli likes this.
  7. Offline

    spicychilli

    I've done it! For anyone who's interested, the final working file is: http://pastebin.com/H2zykkRE

    For anyone struggling with this in future I recommend using the parser, http://yaml-online-parser.appspot.com to check your file and give an indication to where its going wrong.

    Thanks for your help Harry8550

    Edit: ahh didn't see your reply then, but that works too! Thanks!
     
  8. Offline

    Harry8550

    Your very welcome, i'm glad you got it sorted :p
     
  9. Offline

    blufat2

    guys i need help i got the final "working" file but it still doesnt work for me... i am using permissions bukkit but ive tried different ones but no matter what i do i can't get the permissions to work.
     
  10. Offline

    jacklin213

    blufat2 PM me and i can help you fix it (cause your highjacking someone elses thread)
     
  11. Offline

    Dralar

    I was getting the same error message. The solution for me was that i was using notepad++ and when i pressed return it would automatically insert tabs, so i deleted the tabs and replaced them with spaces then it would compile properly, hope this helps other users using notepad++ and permissionsBukkit.
     
  12. Offline

    madmac

    it does not need to be. you can use two space per indent, but the rest of the config
    must be two spaces per indent
     
Thread Status:
Not open for further replies.

Share This Page