[ADMN] CommandPermissions v1.0.1 - Multiworld command-based permissions [1597]

Discussion in 'Inactive/Unsupported Plugins' started by vildaberper, May 7, 2011.

  1. Offline

    vildaberper

    CommandPermissions - Multiworld command-based permissions
    Version: 1.0.1 - Download
    Source: Github

    CommandPermissions makes it a whole lot easier to manage your server. Its an easier alternative to Permissions, much like the build-in permissions for hmod.
    It does not require any support from any plugin, this will work with every one of them, even the "op-commands".

    Use with this if youre having troubles with CommandPermissions! (Itll op all players)

    Commands:
    Template:
    Code:
    Copy: null # Should it ignore thease permissions and copy another world's?
    Groups:
        Default: # The group's name, can be anything.
            Default: true # Should it be one of the default groups for undefined players?
            Permissions: # Add your commands here.
                - '/list' # Allows the members of the group to use /list.
        Admin:
            Default: false
            Permissions:
                - '/time'
                - '/say'
    Users:
        vildaberper: # The user's name.
            Groups: # What groups is the user a member of?
                - 'Default'
                - 'Admin'
            Permissions: # User-specific commands.
                - '/reload'
        Isakksson:
            Groups:
                - 'Default'
            Permissions:
                - '/help'
    
    Changelog:
     
    Legalbob, KillYoy, MalcolmLC and 3 others like this.
  2. Offline

    Trandescent

    A really simple Permissions addon. No prefix edits for groups yet, but thats in an upcoming update from what he told me. Recommended if you're new or just want something basic.
     
  3. Offline

    bcwebster123

    i don't really get it. where do you copy that message to?
     
  4. Offline

    cyberdude

    Lovely!!!! Been thinking, if this was possible. Now I don't have to use a plugin for /list anymore, and I can use permissions to allow selected people to use /give or /tp, without adding them as op. At the same time I can now also use command based plugins that is not permission enabled.
     
  5. Offline

    vildaberper

    What message?

    Thanks! :D
    I cant believe that this is the first plugin doing permissions based on commands. "/
     
  6. Offline

    bcwebster123

    i mean template. srry
     
  7. Offline

    vildaberper

    Itll generate automaticly in plugins/CommandPermissions/RENAME-ME.yml

    Remember to rename it to your world's name, (ex. world.yml).
     
  8. Offline

    TACTICALboom

    kool, permissions replacement, im to deep in permissions though to switch now, BUT i love the concept
     
  9. Offline

    MeinerHosen

    Thumbs up for this.

    Hopefully bukkit could use something as simple as this. Although I'm with Tacticalboom on being too deep in Phoenix Permissions to switch. SO much configuration x_x
     
  10. Offline

    Soruyao

    Would this work alongside phoenix as a way to lock people out of using certain op commands? (without breaking the phoenix permissions?)
     
  11. Offline

    vildaberper

    It will work with Permissions, but I recommend setting every user permission to - '*' in Permissions and let CommandPermissions handle it instead. This is to enable plugins that depends on Permissions. :)
    If the user isnt allowed to do the command in CommandPermissions, it doesnt matter if he is in Permissions.
     
  12. Offline

    ST-DDT

    Is it possible to enable a pseudo permissions thing with tells plugins which require permissions that permissions is installed and they can use these plugins without the real Permission plugin?
    Using st like an interface? i don't now how exactly permissionshooking works.

    Are there any features like:
    adding permission Ingame?
    See: http://forums.bukkit.org/threads/se...odify-permissions-in-game-now-w-mws-740.9277/
     
  13. Offline

    vildaberper

    Just install permissions and make a group, default, with all permissions ('*'). :)

    In-game editing is coming!
     
  14. Offline

    cyberdude

    I wouldn't really see this as the solution, since many plugins that are not command based also use Permissions (Phoenix), which decided if they can use the non-command based parts of a plugin.
    So basically, you need to setup Permissions AND CommandPermissions. Unless you only run plugins that are solely command based.
     
  15. Offline

    vildaberper

    Thats the thing with this plugin, its command based and not node based.
    Its designed for beginners or people who liked the hmod permissions. :)
     
  16. Offline

    cyberdude

    Yes, I understand. But because of that, and your advice on making a default Permission group and give it "*" would mean that all people get access to all plugins, also those that is not command based. So as I wrote before, your advice about using "*" is only valid if one is only using command based plugins. E.g the plugin FishPeople gives people the ability to use a gold helmet to have longer breath time under water. This plugin is solely non-command based, and if you give "*" permission everybody will have this usage, and that plugin also has a option to allow infinte breath time using a Permission, this means that everyone will have this abilty if you give everybody access to "*". Therefore your advice on using "*" as Permission is not really a valid suggestion, only if the people taking your advice is using pure command based plugin. This is what I was trying to point out.
     
  17. Offline

    Dewey Mitchem

    Alright so I started using this just today and am getting errors on trying to set it up >.< (joy)
    I first got a \t error which I resolved after doing some searching (which is why I'm editing this post) but now I have a new error.
    Code:
    17:21:09 [SEVERE] while parsing a block mapping; expected <block end>, but found
     BlockMappingStart loading CommandPermissions v1.0.0 (Is it up to date?)
    while parsing a block mapping
     in "<reader>", line 20, column 5:
            mitchem: # The user's name.
            ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 68, column 6:
             mbmitchem:
             ^
    
    Don't quite understand this one as easily..
     
  18. Offline

    vildaberper

    Post your file, looks like there is a tab or something. :)
     
  19. Offline

    Dewey Mitchem

    I re-saved it as a txt document to upload it so it is actually a yml file in my folder >.<
    Also I went through the entire thing checking for tabs and there weren't any. I am quite confused to say the least.
     

    Attached Files:

  20. Offline

    vildaberper

    http://pastebin.com/FcteyEjh
    There was an extra space. ;)
     
  21. Offline

    Dewey Mitchem

    Hmm, I just tried that but I'm still getting the same exact error, http://pastebin.com/dmLnJdfR there's a link to the entire thing I'm currently getting... Thanks for the help as well
     
  22. Offline

    vildaberper

    Make sure you copy it exactly as it is, it worked for me. :)
    Oh, and look for extra spaces.
     
  23. Offline

    Dewey Mitchem

    ! It worked!!! Thank you very much! I will definitely leave a reply once again after I get some time to test this and see how well it works on my server!

    THANKS AGAIN!

    EDIT: Awww crap.
    So it's working but it's not, it went neo-nazi on me and I can't do any commands at all and according to the file I should have access to all commands however I can't do the simplest "/list" command currently.. :/
     
  24. Offline

    vildaberper

    Make sure that the file is named axactly as the world.
    The plugin is extremely case-sensitive. :)
     
  25. Offline

    Dewey Mitchem

    It's named exactly. My world folder is "Doom" and the file is "Doom.yml"

    EDIT: ...DOH! Thanks much for pointing that out. I just realised that not only did I save the file as "Doom.yml" it named it that as well.
     
  26. Offline

    vildaberper

    And the usernames, groupnames etc. too?
     
  27. Offline

    Dewey Mitchem

    As I said in the edit adding a reply just so you don't think I abandoned the thread in case you don't check back, I realised that not only did I save the file as "Doom.yml" it named it that as well. Thanks for pointing out that it has to be exact =P So far it's working really well, now to just wait till some others get on. Thanks again for what looks to be a great plugin!
     
  28. Offline

    vildaberper

    Great that you solved it! :)
     
  29. Offline

    Dewey Mitchem

    I had a few days to try it out with my users and I do say it works very nice for permissions, now if I can figure out how to get other plugins to recognize it as an actual permissions plugin and default to it for permissions that would be fantastic, but otherwise for just limiting who can do what commands this works amazingly and it's not too hard to set up after alls said and done.
     
  30. Offline

    vildaberper

    I recommend installing Permissions and making the admin group default.
    CommandPermissions will override Permissons. :)
     

Share This Page