My Permissions are not Working! Please Help!

Discussion in 'Bukkit Help' started by TechPerson32, Jan 8, 2013.

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

    TechPerson32

    Today, I set a bunch of permissions for my personal SMP server, and none of the people are able to use the commands I gave permission for them to use. Click here to see my permissions.yml
     
  2. Offline

    c0mp

    Which Permissions plugin are you using?
     
  3. Offline

    TechPerson32

    Just the Bukkit permissions.yml
     
  4. Offline

    TheLazeboy

    Well, call me crazy. But I think your not supposed to touch that file.
     
  5. Offline

    TechPerson32

    Really? Should I just get PermissionsEX then?
     
  6. Offline

    nhadobas

    Look up tutorials on how to use the bukkit permissions.yml. They dont work by themselves, they also need a permissions plugin.
    I will call you crazy...
     
  7. Offline

    TechPerson32

    I deleted everything in th Bukkit-generated permissions.yml and placed all the permissions in each of the groups.yml files generated with Essentials GroupManager. Resulting, I can't use ANY commands. Even when I'm an OP.
     
  8. Offline

    TheLazeboy

    PEX is what I currently use on my server, but it does a terrible job. My defualt player rank doesn't get to use all of it's permissions. I'm switching to bPermissions.
    And as for what nhadobas said, unless there is something that has changed in Bukkit, I've always heard don't touch it.
     
  9. Offline

    nhadobas

    It has always been there to touch, ever since the first permissions plugin.
     
  10. Offline

    TechPerson32

    I will update this post to show you what I have in these files.
    I'm using PermissionsBukkit now.
    PermissionsBukkit's config.yml:
    Show Spoiler
    Code:
    users:
        TechPerson32:
            groups:
              - Owner
            permissions:
        Dinoguyjb56:
            groups:
              - Friend
            permissions:
        Dillan47:
            groups:
              - default
            permissions:
        chancewyrick12:
            groups:
              - default
            permissions:
        youngmastermine:
            groups:
              - Friend
            permissions:
        dragonhea1:
            groups:
              - defualt
            permissions:
        iwoojin:
            groups:
              - Special
            permissions:
        Reconman26:
            groups:
              - Special
            permissions:
     
    groups:
      Owner:
        default: false
        meta:
            prefix: '&c'
            suffix: Owner
        permissions:
          essentials.*: true
          signlift.*: true
          silkspawners.*: true
          permissions.*: true
          coloredsigns.*: true
          customcommands.command.*: true
          lockette.*: true
     
      Default:
        default: true
        meta:
            prefix: &7
            suffix: Default
         
        permissions:
          permissions.build: true
          signlift.create.*: true
          signlift.use.normal: true
          signlift.use.private.own: true
          essentials.chat.*: true
          essentials.tpa: true
          essentials.tpahere: true
          essentials.tpaccept: true
          essentials.tpdeny: true
          essentials.sethome.*: true
          essentials.home: true
          essentials.spawn: true
          essentials.rules: true
          essentials.motd: true
          essentials.list: true
          essentials.helpop: true
          essentials.help: true
          essentials.afk: true
          essentials.balance: true
          essentials.ignore: true
          essentials.mail: true
          essentials.mail.send: true
          essentials.warp: true
          essentials.nick: true
          essentials.msg: true
          essentials.pay: true
          essentials.ping: true
          essentials.signs.use.*: true
          essentials.suicide: true
          customcommands.command.*: true
          silkspawners.info: true
          silkspawners.silkdrop: true
          silkspawners.viewtype: true
          ColoredSigns.Usecolor: true 
          lockette.user.*: true
     
      Friend:
        default: false
        meta:
            prefix: '&2'
            suffix: Friend
        permissions: []
        groups:
        - default
     
      Special:
        default: false
        meta:
            prefix: '&5'
            suffix: Special
        permissions: []
        groups:
        - default
     
  11. Offline

    nhadobas

    Because you don't use info: you're supposed to use meta:
     
  12. Offline

    TechPerson32

    Changed all 'info:' to 'meta:' and still doesn't work. :confused:
     
  13. Offline

    nhadobas

    All take a look when I get home since I can't use a parser on my phone.
     
  14. Offline

    remypas

    I think you need to remove all ' around the permissions
     
  15. Offline

    TechPerson32

    See my post above that shows the contents of groups.yml and users.yml. I will update it to show you what they contain.
    I copy and pasted all what I have in groups.yml into an online YAML parser, and responded with this:
    Code:
    ERROR:
     
    mapping values are not allowed here
      in "<unicode string>", line 12, column 9:
            meta:
                ^
     
  16. Offline

    nhadobas

    First of all * perms doesn't work with bperms. Second, you dont use inheritance, you use groups: watch a video tutorial, you really need one.

    Edit: remove the ' ' from the permissions. In the user permissions, it's suppose to be group: not groups:
    Also your default: rank and friend: rank are not lined up correctly.
     
  17. Offline

    TechPerson32

    Ok, I will do that. I tell you the results later.

    I updated the post that contains the groups and users. I am now using PermissionsBukkit
    I fixed alignment.
    I removed all the ' from the permissions nodes.
    If you don't mind, check that post. Additionally, I put the yaml in to the online YAML parser and it returned:
    Code:
    ERROR:
     
    while scanning an alias
      in "<unicode string>", line 8, column 7:
            - *
              ^
    expected alphabetic or numeric character, but found '\n'
      in "<unicode string>", line 8, column 8:
            - *
              ^
    Btw, I checked a tutorial.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 8, 2016
  18. Offline

    breezeyboy

    You used tab...
     
  19. Offline

    Vern8k

    For PermissionsBukkit, remove the "-" before the nodes. The only times you start a line with "-" are when you're naming the group(s) a user belongs to, or when you're setting the group inheritance. Don't increase the indent when you start a line with "-" You have to set each node "true" or "false." Be careful with your spelling: you misspelled "default" at least once in your example.

    My working PermissionsBukkit config.yml looks like this:

    Show Spoiler
    Code:
    users:
      vern8000:
        groups:
        - admin
      example1:
        groups:
        - user
      example2:
        groups:
        - user
    groups:
      default:
        permissions:
          permissions.build: false
      admin:
        permissions:
          permissions.*: true
          Vouchers.admin: true
          jobs.*: true
          ChestShop.admin: true
          BOSEconomy.*: true
          SimpleFly.*: true
        inheritance:
        - user
      user:
        permissions:
          permissions.build: true
          Vouchers.buy: true
          Vouchers.use.*: true
          SimpleFly.*: false
          BOSEconomy.common.*: true
          jobs.join.*: true
          jobs.browse.*: true
          jobs.command.browse: true
          jobs.command.stats: true
          jobs.command.admin.stats: true
          jobs.command.join: true
          jobs.command.leave: true
          jobs.command.info: true
        inheritance:
        - default
    
     
  20. Offline

    TechPerson32

    I fixed what you told me to, and I still get some errors. :mad: I updated the example, take a look. If you still see the misspell of 'default', please tell me where. Thanks

    Response from the Online YAML Parser:
    Code:
    ERROR:
     
    while scanning for the next token
    found character '\t' that cannot start any token
      in "<unicode string>", line 92, column 1:
           
        ^
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 8, 2016
  21. Offline

    Vern8k

    I think it's telling you that you have a TAB character there - those aren't allowed in .yml files, only spaces.

    Anyway, I did some editing on your PermissionsBukkit config.yml - switched from 4-space to 2-space indents, lower-cased the group names, took out blank lines and the meta lines that have to do with chat. I also added the essentials.build.* node that is supposedly necessary now.

    First, see if this config.yml at least gives your users the commands you want them to have: http://pastebin.com/RFFgxkmJ

    IF that config.yml works, see http://dev.bukkit.org/server-mods/essentials/pages/faq/essentials/ on how to enable group chat colors and stuff (in the Essentials config). You might need to use lower-case group names in the Essentials config.
     
  22. Offline

    TechPerson32

    Thanks for the revised config! Unfortunately, there is a couple commands I cannon use. 1: /commands (node: customcommands.command.*: true" also, being the owner, there are commands I still can't use: /op /reload. What are the permission nodes for them?
     
  23. Offline

    Vern8k

    Try giving your username ops from the server console, then try /reload from your client. If that doesn't work, the node for all bukkit commands is bukkit.command.* (though I've never had to assign that node when I'm properly listed in ops.txt).

    The node that it seems you need for the Custom Commands plugin is in the config.yml already, so I don't know what else to do - I've never used that plugin. You might want to restart the server once you're properly opped and see if your custom commands work.
     
Thread Status:
Not open for further replies.

Share This Page