Inactive [ADMN/INFO] Permissions v2.1 - Continuing the legacy.

Discussion in 'Inactive/Unsupported Plugins' started by Nijikokun, Jan 21, 2011.

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

    Nijikokun

    Permissions 2.1 (Handler)
    Download 2.1 (Jar Only)
    Older: 2.0, 1.9, 1.8, 1.7, 1.6, 1.5, 1.4, 1.3, 1.2, 1.1, 1.0

    Permissions... Done right.
    Permissions allows plugin-authors to utalize a permission system that handles group inheritance, globalized permission settings, and more. All the features of a fine-grained permission system in one plugin.​

    Features
    1. Groups
    2. Group Inheritance, Allows for groups to gain permissions from other groups.
    3. User Permission System
    4. Fine Grained Permission system.
      1. Allowing for Globalized permissions
    5. Easy to use, setup, and implement.
    6. Two cache layers, first from file to memory, then from memory to cache.
      1. Plugins can control cache since version 2.1
    7. And much more.
    For the users


    Permissions gives server admins great control, mostly in-game reloading. Simply use /pr and the file will be re-cached and never touched again until you need to reload it. This allows you to quickly give your users the commands that they need without having to restart the server.

    Installation for 2.0 down:
    1. Download the archive.
    2. Extract contents to the /plugins folder.
    3. Open up /plugins/Permissions/config.yml
      1. Read / modify.
      2. Save.
    4. Reload Server.
    Changelog

    • 2.1
      • Multiple-World support
      • New cache layer, and cache control support for plugins
      • Editing features for plugins to hook into
      • Exempt nodes
      • World copying
    • 2.0
      • Forgot.
    • 1.9
      • Fully fixes inheritance.
        • Groups now inherit groups of groups that inherit groups of...
      • Cache system implemented.
      • Plugin authors can now delegate a variable system if needed.
      • API Updated with two new functions to get the point of what they do across.
        • Along with the new variable checks.
    • 1.8
      • Fixes the broken globalized node issue.
        • node.* is called a `globalized node`
    Supporting Plugins




    I have hit the character limit for this post.​

    Thanks to:
    • sk89q for hiearchical and node system idea.
    • Creator of GroupUsers for api implementation.
    This author has stopped development of this plugin. It is no longer supported and I wouldn't ask for help here, as you won't get any. New Permissions
    -RightLegRed
     
  2. Offline

    SteelWing

    There is one problem right there. Mods doesn't exist. Either rename the group Moderators to Mods or visa versa. Might work then.
     
  3. Offline

    Mike24

    I dont get how to limit commands that others use please help i've been confused for 3 days :C
     
  4. Offline

    chill1977

    That does effect the fact that horse has no commands but doesnt effect lwc because it isnt even assigned to a group or the fact that it isnt showing up, whatever that means.
    --- merged: Jan 28, 2011 3:00 AM ---
    Mike you have to be more exact, look at the code posted above , the commands under permissions for each group are the only ones they have access to plus the groups commands that are inherited. Doesnt get much easier.
    --- merged: Jan 28, 2011 3:01 AM ---
    And to everyone that is altering this line of code

    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##

    This means nothing!!! # means comments, which means it does nothing!
     
  5. Offline

    Greedish

    Is there a way to give someone every command in a category except one? Like, I want to give a dude essentials.* or whatever but keep him from using /give, can I do that?
     
  6. Offline

    chill1977

    No, in order to do that you have to actually list every node
     
  7. Offline

    SteelWing

    I'm trying to get individual users to have their own prefix and suffix colors instead of going through groups. Is this even possible with permissions or would I have to make a group for each player that wanted their own colors? I have made sure that iChat is installed with it. I got message format the way I want it and it does work if I change the group prefix flag, but I'm trying to be user specific here so each staff member can be a little more unique when they speak.

    A pastebin of my config - Pastebin expired
     
  8. Offline

    chill1977

    No atm groups is the only way to do it I believe.
    seems like you would be able to add the same info to the user section as the group section and get it that way but I havent tried it and not sure if the code would be read correctly that way.
     
  9. Offline

    SteelWing

    I thought of that as well, but it doesn't seem to read it that way.
    Perhaps the prefix/suffix flag of the group overrides the flag of the user.
     
  10. Offline

    chill1977

    Since you can add permissions o the user that would over-ride those given by the group, like putting '*' under a user permissions gives them all commands regardless of what group they are in , I would say that the user info would have precidence over the groups.
     
  11. Offline

    SteelWing

    Hmm, well I'll keep trying. If I find something I'll post it here.
     
  12. Offline

    Jed1314

    Here is pastebin of Config. Note: I did not write this. I'm filling in for the server OP who has very little free time. I know nothing about yml or any coding for that matter :)

    http://pastebin.com/35Qn6gVa
     
  13. Offline

    chill1977

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #  To make a group inherit the permissions from another
    #  group simply place the groups name in the "inheritance:"
    #  field seperated by commas.
    #
    #  Example: inheritance: Default,Admins,
    ##
    #  All permissions including the asterisks must be placed in single quotes.
    #  like so:
    #
    #      - 'general.spawn'
    #
    #  Otherwise errors will happen!
    ##
    #  Globalized Permission settings:
    #
    #      If a permission contains periods (.) you can denote a globalized parameter:
    #
    #          - 'general.*'
    #
    #      This will allow you to use all general commands.
    #
    ##
    #
    #  Single Asterisk denotes all commands:
    #
    #      - '*'
    ##
    groups:
        Traveler:
            default: true
            info:
                prefix: '&7'
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.help'
                - 'general.whois'
                - 'general.list'
                - 'general.motd'
                - 'general.msg'
                - 'general.tpc'
        Settler:
            default: false
            info:
                prefix: '&e'
                suffix:
                build: true
            inheritance:
                - Traveler
            permissions:
                - 'general.help'
                - 'general.mail'
                - 'general.mail.send'
                - 'general.mail.read'
                - 'general.mail.clear'
                - 'general.nick'
                - 'general.whois'
                - 'general.list'
                - 'general.motd'
                - 'general.msg'
                - 'general.sell'
                - 'general.tpc'
                - 'general.top'
        Mod:
            default: false
            info:
                prefix: '&4'
                suffix:
                build: true
            inheritance:
                - Settler
            permissions:
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.ban'
                - 'general.unban'
                - 'general.kik'
                - 'general.kill'
                - 'general.accept'
                - 'general.item'
                - 'general.give'
                - 'general.warp'
                - 'general.spawn'
                - 'general.sethome'
                - 'general.home'
                - 'general.clearinventory'
                - 'general.heal'
        Admin:
            default: false
            info:
                prefix: '&9'
                suffix: '&7'
                build: true
            inheritance:
                - Mod
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        TMBuM:
            group: Admin
            permissions:
        Jed1314:
            group: Admin
            permissions:
        Lewoforever:
            group: Admin
            permissions:
    This should get you back going.
     
  14. Offline

    Alestaj

    So am I correct in thinking if I wanted to add a new user to a group in my server the only way is to go and edit config.yml?

    If this is the case it seems really badly thought out, I'm looking to restart my server on bukkit and my previous one had 500+ users which resulted in adding about 10 new users every day.

    On hey0 it was fine because it was just a matter of /modify user group in game or adding them via web gui/mysql, but with this I'd have to ssh into my server and add their name to config.yml manually everytime?
     
  15. Offline

    Alexg_111

    So i downloaded the latest version on my mac and opened it with the Archive utility (10.6) and i got the folder permissions, so i put it in the plugins folder and opened plugins > permissions > and there is only a plugin.yml, there is no config.yml.

    i've re-downloaded like 4 times, anyone know whats wrong?
     
  16. Offline

    chill1977

    no, now modify works here, not sure if you can add players but i'm guessing it would work
    --- merged: Jan 28, 2011 3:56 AM ---
    Start the server, sign in minecraft then shut down and look again
     
  17. Offline

    Alexg_111

    I restarted it and now there is a config.yml file, but its in the main folder and not even in plugins. Should i move it to plugins > permissions? and its zero kb and idk what to open it with besides textedit, but its blank
     
  18. Offline

    chill1977

    maybe an issue with the newest version but yeah move it to the permissions folder in plugins and then copy and paste one of the many config from this post, preferably one that has been corrected so you dont get errors then edit to suit your needs, at least that's what i would do lol

    I"m not a mac user but I open it with notepad and modify it myself.
     
  19. Offline

    mrarkansas870

    ok i copied the exact text ( main code at the top) into the config.yml file and i put my username in the last users spot ( default group). Then i log in to minecraft and the server , try to /spawn and it tells me "You do not have access to that command". Im i doing somthing wrong, or is it a glitch?
     
  20. Offline

    chill1977

    Nice to see someone else from arkansas lol copy and paste the code here using the code switch and i will look at it for you.

    Do you have the General plugin installed?
     
  21. Offline

    PandaVidya

    everything works great over here. i mustve gotten incredibly lucky!
     
  22. Offline

    fugue2005

    i'm currently testing permissions
    how do i give /pr to every group?

    even though my default group is build: false they can still build
     
  23. Offline

    chill1977

    i dont know every command to every plugin out there but you need to assign whatever node that /pr is to the default group then every group from there up will have that command as well, if you have the inheritance set up correctly
     
  24. Offline

    fugue2005

    /pr is the command to reload this plugins config.yml
     
  25. Offline

    mrarkansas870

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #  To make a group inherit the permissions from another
    #  group simply place the groups name in the "inheritance:"
    #  field seperated by commas.
    #
    #  Example: inheritance: Default,Admins,
    ##
    #  All permissions including the asterisks must be placed in single quotes.
    #  like so:
    #
    #      - 'general.spawn'
    #
    #  Otherwise errors will happen!
    ##
    #  Globalized Permission settings:
    #
    #      If a permission contains periods (.) you can denote a globalized parameter:
    #
    #          - 'general.*'
    #
    #      This will allow you to use all general commands.
    #
    ##
    #
    #  Single Asterisk denotes all commands:
    #
    #      - '*'
    ##
    groups:
        Traveler:
            default: true
            info:
                prefix: '&7'
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.help'
                - 'general.whois'
                - 'general.list'
                - 'general.motd'
                - 'general.msg'
                - 'general.tpc'
        Settler:
            default: false
            info:
                prefix: '&e'
                suffix:
                build: true
            inheritance:
                - Traveler
            permissions:
                - 'general.help'
                - 'general.mail'
                - 'general.mail.send'
                - 'general.mail.read'
                - 'general.mail.clear'
                - 'general.nick'
                - 'general.whois'
                - 'general.list'
                - 'general.motd'
                - 'general.msg'
                - 'general.sell'
                - 'general.tpc'
                - 'general.top'
        Mod:
            default: false
            info:
                prefix: '&4'
                suffix:
                build: true
            inheritance:
                - Settler
            permissions:
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.ban'
                - 'general.unban'
                - 'general.kik'
                - 'general.kill'
                - 'general.accept'
                - 'general.item'
                - 'general.give'
                - 'general.warp'
                - 'general.spawn'
                - 'general.sethome'
                - 'general.home'
                - 'general.clearinventory'
                - 'general.heal'
        Admin:
            default: false
            info:
                prefix: '&9'
                suffix: '&7'
                build: true
            inheritance:
                - Mod
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        TMBuM:
            group: Admin
            permissions:
        Jed1314:
            group: Admin
            permissions:
        Lewoforever:
            group: Admin# Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all general commands.
    # sk89q can use /spawn & /setspawn
    ##
    users:
        darkgrave:
            group: Default
            permissions:
            - 'general.*'
        mrarkansas870:
            group: Default
            permissions:
            - 'general.spawn.set'
            permissions:
    no i dont have the general plugin
     
  26. Offline

    chill1977

    OK then lol, been working to much on the users and groups i guess. I dont see it listed in the top of the page, so I would try 'permissions.*' or 'permissions.pr' maybe to start with, I will be looking for the exact answer though
    --- merged: Jan 28, 2011 5:06 AM ---
    OK well you need it to set the general.spawn. I'm not trying to influence plugin usdage but I would go with Essentials myself instead of General. If you want to send me a convo here after you download and install it, I will be happy to help set it up.
    --- merged: Jan 28, 2011 5:14 AM ---
    @fugue2005 OK I have dug through the source files and I believe it will be 'permissions.reload' , if that is correct let me know lol
     
  27. Offline

    mrarkansas870

    thats what i have, sorry this is the first time im putting a server together
    but i get it just replace gerneral with essentials, right?
     
  28. Offline

    fugue2005

    permissions.reload worked
    i still can't stop my guests from building though
    even though guests is set build: false
     
  29. Offline

    chill1977

    You have to have the Anti-build plugin as well
    --- merged: Jan 28, 2011 5:24 AM ---
    On the essentials page you will see a link the their wiki, you will need to go there to get a list of the permission nodes then replace the - 'general' ones with the essentials ones for the groups you want to be able to use those.
    --- merged: Jan 28, 2011 5:25 AM ---
    The reason I recommended essentials is because you are new to this and it has home and warp settings as well. It will save you from having to interact with more plugins :)
     
  30. Offline

    fugue2005

    awesome, thanks for both
     
  31. Offline

    blinghung

    Why Does this always happen all the time then i gotta user notepadd++ and then it dont work..... BLODDY HELL PISSED
    http://pastebin.com/DkU8cYBL
     
Thread Status:
Not open for further replies.

Share This Page