Permission plugin Gawd!!!

Discussion in 'Bukkit Help' started by Painvp, Feb 1, 2011.

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

    Painvp

    Allright , so im new to this erm , Plugin thingy , though , i have learned alot the past couple of day's (by myself)
    But nomatter what i do i can't figure out permission , alot of the things my upcoming server need's
    need's permission plugin , so if anyone would tuttór me abit about it i would be very greatfull :)

    or if anyone would like to join me in making the server , and help modding abit , that would be cool to :) '

    Sincerly PainVP

    -NationCraft Admin-
     
  2. Offline

    Pezmantbh

    Please post which plugins you have/want, and post your current permissions config file.


    Thanks :)
     
  3. Offline

    Calmiche

    Oh good, I'm glad I'm not the only one.

    I ran Hey0 for a long time, but it was just for myself and a few friends. It seemed to sort most of the permissions automatically. I was the only op and had full access to everything. If I wanted to give other rights I'd add them to the admins list.

    I don't understand the new permissions, and the wiki doesn't give all clear instructions or any examples. For example, how would I integrate Essentials Plugin into Permissions?

    So, I'm using the default config.yml that comes with Permissions.
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
    Where do I put myself in? Where do I put my other users? Do I have to include every single permission from this list? Where do I put them?
     
  4. Offline

    Pezmantbh

    You should ideally create your own thread, but I think you will both benefit from the same help.

    First of all, which commands do you want regular/default users to have? And which commands for moderators?

    To add new permissions, find the node, and stick it in the appropriate section like this:
    Code:
    Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.tp'
    That will allow users in the Default group to use /tp
     
  5. Offline

    Calmiche

    Woops, sorry if I hijacked the thread. I thought the help required was close enough not to need a new one.

    Makes sense. I understand the - '*' inheritance from other, lower permission groups. However, is there an ultimate controller for Admins? Or do Admins automatically have access to all commands?

    So, I'd add myself under the "Users" section, like so?

    Code:
    users:
        Calmiche:
            group: Admins
            permissions:
    
    As long as I add permissions to the Admins: Permissions section?
     
  6. Offline

    Painvp

    Code:
    groups:
        Player:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix: '&1[&3Admin&1]&2'
                suffix: '&4'
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    Well , its because , i can't make myself admin , i dont know how to give me the right to be admin , i have almost fully learned it all , i just need to know how to make me the frigging admin ):[/CODE]
     
  7. Offline

    Pezmantbh

    @Calmiche - The asterisk is to give all commands, and doesn't have anything to do with inheritance... The inheritance section is for inheritance :p


    @Painvp -
    Code:
    
    ##
    # DarkGrave has control over all general commands.
    # sk89q can use /spawn & /setspawn
    ##
    users:
        painvp:
            group: Admins
            permissions:
            - '*'
    
    Change painvp to your MC username

    Make sure there is a blank line between the bottom of the groups block and the start of the users block.

    Let me know if you have any more problems.
     
Thread Status:
Not open for further replies.

Share This Page