Simple Permissions Sample (for admins)

Discussion in 'Bukkit Help' started by SupernovaDX, Nov 29, 2011.

?

DID this post help?

YES 8 vote(s) 61.5%
NO 5 vote(s) 38.5%
Thread Status:
Not open for further replies.
  1. Offline

    SupernovaDX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I know as a server admin it is very hard to start out with bukkit especially with a survival server. Here is an example of a permissions for the "permissions.yml" in the main bukkit folder. What you have to do is put your name where the admin name "b0b349" is, then copy, paste change, whate ever you need to do . adding nodes is just adding the node to whichever class you want. Inheritance is just inheriting the nodes of the class in the inheritance. (to those of you that see this thread I am knew to this too and I have one question. how do you get the prefixes to work?)
    Here is the permissions to copy:

    ---------------------------------------------
    HTML:
    
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                -'craftbukkit.command.tell'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                -'craftbukkit.command.tp'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                -'craftbukkit.command.time'
                -'craftbukkit.command.give'
                -'craftbukkit.command.gamemode'
                -'craftbukkit.command.say'
                -'craftbukkit.command.deop'
                -'craftbukkit.command.op'
                -'craftbukkit.command.ban'
                -'craftbukkit.command.pardon'
                -'craftbukkit.command.stop'
                -'craftbukkit.command.save-off'
                - '*'
    users:
        B0b349:
            groups:
                - Admins
            permissions:
        1paper:
            groups:
                - Moderator
            permissions:
        Tonyspot:
            groups:
                - Moderator
            permissions:
    
    
    ---------------------------------------------
    There ya go

    This post has been edited 5 times. It was last edited by SupernovaDX Nov 29, 2011.
  2. Offline

    3rikholmgr3n

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Do you still need the PermissionsBukkit plugin if you use the permisions.yml in the servers root directory?
  3. Offline

    codename_B

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    That's not how permissions.yml works :/
    AFAIK it's for setting up custom permission nodes ONLY - if this has changed, I'll stand corrected.

    This post has been edited 1 time. It was last edited by codename_B Nov 29, 2011.
  4. Offline

    SupernovaDX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    no i did not use this its just the plain permissions file.
  5. Offline

    SupernovaDX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i know it changed because it works fine for me.
  6. Offline

    SupernovaDX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i just want to put this out there. If you think you have a better vanilla permissions please post it. I would love to see some other variations or fixes. because i am very new to this too.
  7. Offline

    rackomint

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What happens when the text is red???????

    - [creeper]Rackomint[creeper]-

    This post has been edited 1 time. It was last edited by rackomint Dec 9, 2011.
  8. Offline

    SupernovaDX

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  9. Offline

    ThoseGrapefruits

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm guessing that you mean when editing in Notepad++. You have to use 4 spaces for each indent, NOT the "tab" button. The red shows an error in YAML formatting, and if there does not seem to be any other error, this is likely the cause. So put in 4 spaces where you would be putting a tab, and it should work fine.
  10. Offline

    deathslimbs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    What command do u use to promote people if you are just using the server permissions.yml?
Thread Status:
Not open for further replies.

Share This Page