Simple Permissions Sample (for admins)

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

?

DID this post help?

  1. YES

    61.5%
  2. NO

    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:
    1.  
    2.  
    3. plugin:
    4.     permissions:
    5.         system: default
    6.         copies:
    7. groups:
    8.     Default:
    9.         default: true
    10.         info:
    11.             prefix: ''
    12.             suffix: ''
    13.             build: false
    14.         inheritance:
    15.         permissions:
    16.     Member:
    17.         default: false
    18.         info:
    19.             prefix: ''
    20.             suffix: ''
    21.             build: true
    22.         inheritance:
    23.             - Default
    24.         permissions:
    25.             -'craftbukkit.command.tell'
    26.     Moderator:
    27.         default: false
    28.         info:
    29.             prefix: ''
    30.             suffix: ''
    31.             build: true
    32.         inheritance:
    33.             - Member
    34.         permissions:
    35.             -'craftbukkit.command.tp'
    36.     Admins:
    37.         default: false
    38.         info:
    39.             prefix: ''
    40.             suffix: ''
    41.             build: true
    42.         inheritance:
    43.         permissions:
    44.             -'craftbukkit.command.time'
    45.             -'craftbukkit.command.give'
    46.             -'craftbukkit.command.gamemode'
    47.             -'craftbukkit.command.say'
    48.             -'craftbukkit.command.deop'
    49.             -'craftbukkit.command.op'
    50.             -'craftbukkit.command.ban'
    51.             -'craftbukkit.command.pardon'
    52.             -'craftbukkit.command.stop'
    53.             -'craftbukkit.command.save-off'
    54.             - '*'
    55. users:
    56.     B0b349:
    57.         groups:
    58.             - Admins
    59.         permissions:
    60.     1paper:
    61.         groups:
    62.             - Moderator
    63.         permissions:
    64.     Tonyspot:
    65.         groups:
    66.             - Moderator
    67.         permissions:
    68.  
    69.  
    ---------------------------------------------
    There ya go
     
  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

    My BukkitDev Profile
    My Plugins (18)
    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.
     
  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]-
     
  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