permissions.yml

Discussion in 'Bukkit Help' started by eagledude4, Oct 14, 2011.

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

    eagledude4

    When I start my server, a file named permissions.yml is automatically created where my batch file is located. I don't have any permission plugins, so what is this exactly? It's a completely empty file.

    Does bukkit use official permissions now? If so, how do I find out how to configure this file?
     
  2. Offline

    Rwembee

    Ignore it. Go by whichever permissions manager you want to use. PermissionsEX bPermissions or permissionsbukkit(or whatever it's called)
     
  3. Offline

    Connor Mahaffey

    Long story short, it's a file for custom permissions with Bukkit's built-in permissions system. You can ignore it ;)

    Long Story:

    Though Bukkit has a built-in permissions system, it still needs an external plugin. The way the plugin registers the permissions are the difference. And there are methods for creating custom permissions as well. All this control, while still giving the user freedom of choice (bPermissions, PermissionsEx, PermissionsBukkit). Allow me to explain:

    Before:
    SomePermissionsPlugin --yes has perm---> My Plugin
    SomePermissionsPlugin --yes has perm---> Derp Plugin
    SomePermissionsPlugin --no has perm---> Yep.
    - And if it breaks
    MyPlugin.obscureError
    DerpPlugin.wat
    Yep.crap
    Basically, server is wrecked.

    Now:
    SomePermissionsPlugin ---->Here's your permissions fine sir--> Bukkit
    Bukkit --yes has perm--> My Plugin
    Bukkit --yes has perm--> Derp Plugin
    Bukkit --no has perm--> Yep.
    - And if it breaks Bukkit switches to the defaults set by the plugins so no errors :)

    Bukkit added these permissions in build 1000. You can find some more information here (geared toward PermissionsBukkit) http://wiki.bukkit.org/Setting_Up_Bukkit_Permissions
     
  4. Offline

    Theseuskhan

    Many thanks buddy, I had got it from a frustrating time with google. The permissions file should of really been left with ## info inside there to let people know

    cut long story short im a oldschool admin on a game thats gona be hosted by crap loads of 12 year olds. I did not expect the back end to be designed so complex for such a task. Makes me miss hey0

    For anyone reading

    1. Grab Permissions.Bukkit
    2. Dont touch the Permissions.ymi
    3. My Config.ymi for the Permissionsbukkit plugin

    Code:
    users:
        name1:
            permissions:
                bukkit.command.whitelist.add: true
                bukkit.command.reload: true
                bukkit.command.whitelist.reload: true
                bukkit.command.save.perform: true
            groups:
            - admin
        name2:
            permissions:
                bukkit.command.whitelist.add: true
                bukkit.command.reload: true
                bukkit.command.whitelist.reload: true
                bukkit.command.save.perform: true
            groups:
            - admin
        name3:
            permissions:
                bukkit.command.whitelist.add: true
                bukkit.command.reload: true
                bukkit.command.whitelist.reload: true
                bukkit.command.save.perform: true
            groups:
            - admin
        name4:
            permissions:
                bukkit.command.whitelist.add: true
                bukkit.command.reload: true
                bukkit.command.whitelist.reload: true
                bukkit.command.save.perform: true
            groups:
            - admin
        name5:
            permissions:
                bukkit.command.whitelist.add: true
                bukkit.command.reload: true
                bukkit.command.whitelist.reload: true
                bukkit.command.save.perform: true
            groups:
            - admin
    groups:
        admin:
            permissions:
            bukkit.command.whitelist.add: true
            bukkit.command.reload: true
            bukkit.command.whitelist.reload: true
            bukkit.command.save.perform: true
    See what gets kinda on my nerves , btw the above will be easy to adapt on reading other guides and seeing this ^ with extra groups etc / plugin permissions. Yeh what gets on my nerves is just how utterly simplex stuff is. Like lets say for example Drupal , just a example a badly coded example but its still a good one. Now drupal likes to make itself so overly complex so that it seems complex, when you spend 2-3 days learning it , you realise it could be explained for the same main sources in about 5-10 minutes. HTML5 now thats a nice simple code. Java even has enough sources now to be learnt easily. I think bukkit needs to look at its targeted audience, as spending time helping every Tom, Dick and Harry Solomon on permissions writing , is time that could be spent writing i dunno a working simplex permissions system. =p

    just my 2 cents

    Many thanks to you 2 anyway, much more helpfull then irc. Stayin off that network now as i have a fettish for helping people and id get lost in the mass amount of none googler's on there.

    p.s Merry Xmas
     
  5. Offline

    Connor Mahaffey

    Glad I could help :)
     
Thread Status:
Not open for further replies.

Share This Page