Simple Permissions Sample (for admins)

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

?

DID this post help?

  1. YES

    61.5%
  2. NO

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

    SupernovaDX

    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
     
  2. Offline

    3rikholmgr3n

    Do you still need the PermissionsBukkit plugin if you use the permisions.yml in the servers root directory?
     
  3. Offline

    codename_B

    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.
     
  4. Offline

    SupernovaDX

    no i did not use this its just the plain permissions file.

    i know it changed because it works fine for me.

    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.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 21, 2016
  5. Offline

    rackomint

    What happens when the text is red???????

    - [creeper]Rackomint[creeper]-
     
  6. Offline

    SupernovaDX

     
  7. 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.
     
  8. Offline

    deathslimbs

    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