Solved Permissions. How do you set them up?

Discussion in 'Bukkit Help' started by Skimaster282, Apr 13, 2012.

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

    Skimaster282

    I've been scratching my head for awhile at this point. I'm trying to set up SkyChest and EasyEnchant on my server. But both require permissions to use. I thought it would be pretty straight forward, apparently I was wrong.

    I downloaded and installed PermissionsBukkit. Everything I've tried to add SkyChest and EasyEnchant has netted me nothing.

    Here's what I have for my permissions file.
    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: false
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
        player:
            permissions:
                permissions.build: true
                easyenchant.use: true
            inheritance:
            - user
    messages:
        build: '&cYou do not have permission to build here.'
     
    debug: false
    For easy enchant I have to add
    Code:
    easyenchant.use
    easyenchant.(combo-name) ie. easyenchant.example
    and for SkyChest
    Code:
    skychest.use  -  Allows the use of SkyChest
    I've been staying away from permissions for this reason, but I would really like these two plug-ins on my server. If anyone can help I would greatly appreciate it.
     
  2. Offline

    andrewpo

    If you used PermissionsEX, I could help you much more effectively.

    Your easyenchant permission node was given to the 'player' group, all users you want to have this permission must be either in the 'player' group or in a group that inherits from it.
     
  3. Offline

    Skimaster282

    Here's what I've got now, but doesn't seem to be working.

    Code:
    users:
        Skimaster282:
            permissions:
                permissions.example: true
            groups:
            - admin
        Shoulkion:
            permissions:
                permissions.example: true
            groups:
            - user
        chris:
            permissions:
                permissions.example: true
            groups:
            - user
        dirk
            permissions:
                permissions.example: true
            groups:
            - user
       
    groups:
        default:
            permissions:
                permissions.build: false
        admin:
            permissions:
                permissions.*: true
            inheritance:
            - user
        user:
            permissions:
                permissions.build: true
                easyenchant.*: true
                skychest.use: true
               
            worlds:
                creative:
                    coolplugin.item: true
            inheritance:
            - default
    I completely got rid of the 'player' group as it was pointless. but I'm still unable to do anything unless I'm OP, and even then, SkyChest doesn't work, but I can use EasyEnchant while OP.
     
  4. Offline

    andrewpo

    I recommend switching to PermissionsEX, sorry but I don't know how to offer support for permissionsbukkit.
     
  5. Offline

    Skimaster282

    I've switched to using PermissionsEX upon seeing several references to people using it, and your recommendation. Though still unclear to me how to set up the permissions.
     
  6. Offline

    andrewpo

    Post your current permissions.yml in [ code ] tags and tell me what you'd like doing to it and I'll try my best to help you.
     
  7. Offline

    Skimaster282

    All I'm looking to do is all my players and myself use EasyEnchant and SkyChest.
    Code:
    groups:
     
      default:
        default: true
        permissions:
        - modifyworld.*
      user:
        default: false
        permissions:
        - easyenchant.*
        - skychest.use
        inheritance:
        - default
      Admin:
        permissions:
        - '*'
        inheritance:
        - moderator
    Now would I just have to add something like
    Code:
    players:
      Skimaster282:
      group: Admin
    
    to give me all of the permissions or something else?
     
  8. Offline

    andrewpo

    Code:
    groups:
        default:
            default: true
            permissions:
            - modifyworld.*
        user:
            default: false
            permissions:
            - easyenchant.*
            - skychest.use
            inheritance:
            - default
        moderator:
            default: false
            permissions:
            - null.null
            inheritance:
            - user
        Admin:
            permissions:
            - '*'
            inheritance:
            - moderator
         
    users:
        Skimaster282:
            group:
            - Admin
    Try that.

    Also, PEX has commands to edit permissions so you don't have to mess with the file. To give a group permissions, do this...
    Code:
    /pex group member add essentials.tpa
    To let your member group use the essentials /tpa command (assuming you have the essentials plugin)

    Make sure that if you do edit the file that you run " /pex reload " after doing so.
     
  9. Offline

    Skimaster282

    Thank you very much for your help. It now works.

    Would you mind posting a link to the essentials plug-in? I wouldn't mind taking a look at that.
     
  10. Offline

    andrewpo

Thread Status:
Not open for further replies.

Share This Page