Help with permissions

Discussion in 'Bukkit Help' started by Doublerainbow12, Aug 26, 2011.

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

    Doublerainbow12

    My server has always been working fine.I'm only running a private server for now.
    However I would like to implement a permissions system into it, my issue is I have
    no idea what permissions plugins I need to get or what I have to do to get it working properly.

    Right now I am only using essentials
     
  2. @Doublerainbow12
    I personally use PEX
    Although maybe the most complicated, it also offers a hell of a lot more than the other permissions plugins.

    1) All you do is download the stable version from the front page and drag and drop the '.jar' file types into the 'Plugins' directory on your server.
    Now, PEX being rather large, the developer has split his plugin into various parts.
    What you definately need are; 'PermissionsEx.jar' and 'Permissions.jar'. I suggest you take 'Modifyworld.jar'/
    Only install 'ChatManager.jar' if you want to change the format of the chat on your server, but if your happy with it then leave it how it is.

    2) Once you've installed them and reloaded / started your server you will see a 'PermissionsEx' folder in your 'Plugins' directory. Within that you'll have two '.yml' file types; 'config' and 'permissions'. Unless / until your familiar with Sql backends etc leave 'Config.yml' alone.

    3) Go ahead and open 'Permissions.yml'. I'll help you make two groups and hopefully you'll get the hang of it and you may be able to go off and do it yourself. Important thing to remember though, as it's '.yml' it's awfully funny about your spacing. Your faced with;
    Code:
    groups:
        default:
            default: true
            permissions:
            - modifyworld.*
    First thing to do is rename the 'default' to something else. I'll rename it 'New'.
    And as this is our first rank we want everyone who joins our server to be this rank when they do so, so we'll keep 'default: true'.
    Code:
    groups:
        New:
            default: true
            permissions:
            - modifyworld.*
    Now we want this group to do certain things, as you've mentioned you already have essentials lets go ahead and add some of their nodes. They can be found here. (this will give you the command, permission node and description)
    Let's be sensible and give them the '/spawn' command. The node is 'essentials.spawn'
    Code:
    groups:
        New:
            default: true
            permissions:
            - modifyworld.*
            - essentials.spawn
    Anyone in that group can now use the '/spawn' command.
    For Admin purposes you may want to have all of the nodes, that's no problem. Simply add another group;
    Code:
    groups:
        New:
            default: true
            permissions:
            - modifyworld.*
            - essentials.spawn
        Admin:
            default: true
            permissions:
            - '*'
    You might be thinking.. whats the *? Well, used on it's own the * gives that group / user all of the permission nodes for all plugins. And if used as part as a argument such as 'modifyworld.*' then that is suggesting that all of the nodes that make up this one are included. Most plugins provide 'wiki' or simply a 'spoiler' containing their nodes.

    When you are happy with the groups and permissions applied to them you can go ahead and add your users onto the top of that '.yml' I've added an example below. People who are joining your server will not be automatically added to your 'Permissions.yml' this will only happen if you add them to that group / promote.
    Code:
    users:
        DannieP:
            group:
            - New
        Doublerainbow12:
            group:
            - Admin
    groups:
        New:
            default: true
            permissions:
            - modifyworld.*
            - essentials.spawn
        Admin:
            default: true
            permissions:
            - '*'

    I'm out of breath, I can write more if you decide to go with permissions xD
     
  3. Offline

    Connor Mahaffey

    Since you're using essentials right now, @DannieP is probably right in suggesting PEX since it's the most similar, and he definitely gave you a lot to work with.

    If you decide to use PermissionsBukkit here's a tutorial: http://wiki.bukkit.org/Setting_Up_Bukkit_Permissions

    I've never used PEX but it does support Vanilla Permissions so the choice is yours.
     
  4. Offline

    Doublerainbow12

    Thank you, I actually found PEX right after I posted this thread.Thank You for helping me with the setup.
     
  5. @Doublerainbow12
    No problem, but the fun doesn't stop there with Pex unfortunately. If you need any help with ranking ladders etc just give us a shout. With the basics down you may be able to understand it via the Pex Wiki page located on their thread.
    - Dannie
     
Thread Status:
Not open for further replies.

Share This Page