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

    SeeJay

    Hi, I am just wondering, does GroupUsers conflict with the Permissions plugin?
     
  3. Offline

    chill1977

    ok the code is fine, what are you having problems with? trying to add users through the game console? This is not supported.
    --- merged: Jan 30, 2011 12:46 AM ---
    no at the top you change the

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    #change to this
    
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: groupusers
     
  4. Offline

    mickael9

    It would be nice to be able to define permissions for ops (BigBrother for instance will not check if you're op when using Permissions)
     
  5. Offline

    Rufus

    My mistake it was admin.txt but it still only has my ign in it like another ops.txt. I'll try removing it.

    Nah you see my code is fine right? Yet when I go into game i'm just not an admin. Even though I can use default commands that I have assigned I can not use the admin ones, its like i'm not in the group. [Even tho, as you can see I am.] Its... odd. :/

    EDIT: Just deleted that file I still don't seem to be in the admin group. I'm really running out of ideas now. o.o'
     
  6. Offline

    chill1977

    That's because Permissions overrides the ops.txt
    --- merged: Jan 30, 2011 12:55 AM ---
    OK, are you spelling the name correct in the permissions config.yml? What commands are you looking for? Give me an example of a command that isnt working for you.
     
  7. Offline

    MinehubGaming

    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:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Miner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.items'
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.whois'
                - 'essentials.motd'
                - 'essentials.list'
        Vip:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Miner
            permissions:
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Vip
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.*'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        IronicLamp:
            group: Admins
            permissions:
            - '*'
        Gnjsgaming:
            group: Admins
            permissions:
            - '*'
        Ironicpotatoe:
            group: Moderator
            permissions:
        Isaaclee23:
            group: Moderator
            permissions:
        Nicderms24:
            group: Moderator
            permissions:
        Griffin78:
            group: Moderator
            permissions:
        Ltjothescro:
            group: Admins
            permissions:

    For some reason my permissions aren't working. I can spawn items and have all the abilities but people who are moderators cannot go to the spawn and sethome and give items, or teleport. Also, how do I add a title to the name so that when someone talks in chat it appears as, [Admin] GNJSgaming.

    Thanks
     
  8. Offline

    SeeJay

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: groupusers
    
    ##
    # 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'
            - 'general.home.set'
        VIP:
        default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'magiccarpet.mc'
                - 'general.player-info'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
            - 'magiccarpet.mc'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
         Owner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
    I just did that, and They still cannot build.. :(
     
  9. Offline

    Rufus

    Yeah my name in the permissions config.yml exactly like I use to log in and as it apperes in game. It doesn't see others that I put into groups either like people I have put into the moderator group. These people aren't in the ops.txt so its not that overriding in any bizzar way, its like it isn't just not seeing me its like it is skipping out the groups area of the config.yml file.

    The commands I am trying to use are like /kick and other essentials commands. Just to test if im in the group and I can't be beacuse nothing happens, I dont even get a unknown command message and the essentials commands that I have assigned to default are working because I can use them so essentials has to be working. Its just not seeing me in the admin group even though i'm perfectly fine in the code.
     
  10. Offline

    chill1977

    Get rid of Gneral and the Essential commands will work fine. You CAN NOT HAVE 2 PLUGINS WITH THE EXACT SAME COMMANDS.
    --- merged: Jan 30, 2011 1:05 AM ---
    You are running General and Essentials as well. Get rid of General if you are going to run Essentials.
    --- merged: Jan 30, 2011 1:07 AM ---
    I am sorry if I tell you the same thing 2 times because I cant keep up with everyone I answer. If my initial answer to a post is not suffice then please start a convo with me so I can see what I have told you personally.
     
  11. Offline

    Rufus

    Alright, I'll try that. I think the other co-owner put General on there.
     
  12. Offline

    chill1977

    @Rufus if you want the Admin /Mod to appear before the name then you need the iChat plugin as well, then you set the prefix and suffix in the Permissions config.yml to show the desired color and prefix. If you are running Essentials and iChat then you need to set the Essentials config.yml at the top to ops-color-name: 'none'
     
  13. Offline

    FXStrato

    Quick question: with essentials, i made it so that default can use some essentials functions. However, when they open the /help, they can't see the ones that I assigned for them. Can anyone help? This is the code I use for default:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&9'
                suffix: '&7'
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.getpos'
                - 'essentials.list'
                - 'essentials.msg'
                - 'essentials.depth'
                - 'essentials.compass'
     
  14. Offline

    SeeJay

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: groupusers
    
    ##
    # 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'
            - 'general.home.set'
        VIP:
        default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'magiccarpet.mc'
                - 'general.player-info'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
            - 'magiccarpet.mc'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
         Owner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        darkgrave:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
    Hey, I just changed the default to groupusers and they still cannot build... please help.
    SeeJay
     
  15. Offline

    chill1977

    No, seeing the commands does not mean they can use them. It doesnt hurt for them to see them.
     
  16. Offline

    Rufus

    I removed general but I'm still not admin it seems I really don't get why not now, what else could it be? :/

    Oh yeah, I know that, that'd be the easy part the problem is I'm still not able to set anyone to the Administrator/Moderator group. They just enter the game and are default.
     
  17. Offline

    chill1977

    Code:
    plugin:
        permissions:
            system: groupusers
    
    groups:
        Default:
            default: true
            info:
                prefix: 'NOOB'
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
                - 'general.home.set'
        VIP:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'magiccarpet.mc'
                - 'general.player-info'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'magiccarpet.mc'
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
        Owner:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    users:
        darkgrave:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
    --- merged: Jan 30, 2011 1:31 AM ---
    They will be default until you manually add them to the config file. Then restart the server or reload the permissions file with the /pr command.
     
  18. Offline

    FXStrato

    I want them to be able to see them, so they know what they can do.
     
  19. Offline

    chill1977

    Do you mean they cant see any or they see them all?
     
  20. Offline

    Rufus

    I've added them, restarted and reloaded the permissions file but i'm still not admin. Any other ideas man? :/
     
  21. Offline

    chill1977

    Look, you are talking about 3 or 4 things in 1 sentence. You added what or who? And what exactly do you mean you arent the admin. Do you mean it isnt showing up as Admin Rufus: hello there, or you arent able to use the commands like /kick, and have you removed the General.jar yet?
     
  22. Offline

    Rufus

    I added me and a moderator. To the Permissions config.yml file. When I go into the server I have no commands that I set for the admin group. The same goes for the moderator. He can use none of the commands that I have assigned to the modderator group. The commands that I have assigned for the Default group are working. I assume the commands I assigned to the other groups are also working. I just can't assign people to the groups. When I do they can't use the commands assigned to their group when in game. You following me now?

    I did remove the General.jar file. Still no change.
     
  23. WOOOW! Do so many people have trouble with YAML.....

    It's two in the morning here so I'll come back on in morning and try and help some people.
    It's quite inactive but if you go to here mibbit (url at end) you'll enter the permissions chat room where you may get a help answer (and others should use it to chat for help instead of using the forums... way too many pages are being used for just troubleshooting). Plus the mibbit client includes nice links at the bottom which let you use pastebin easily + minify urls.

    Long Url: http://wbe02.mibbit.com/?server=irc.esper.net&channel=#permissions

    Edit: Failed at short url link...
     
  24. Offline

    chill1977

    OK, i'm sry if this sounds weird or strange, but if the default group and the permissions you have set for them are working, and you have the config file the same as was posted and you are combatmedic02 then you should have access to every command that essentials offers.If you dont have access to those commands, say the /kick command then you have changed something in that file or you have something else that has the same commands conflicting with essentials.
     
  25. Offline

    dreadu

    Hi, i have little problem.

    For first 10-15 mins everything worked fine, but then something happend (i think) becouse i can't use anything that uses permissions. The only edit I've done was like adding user with '*'. I've tried everything, adding * for default, changing nick, i've checked 4 versions of permissions. And i have no idea, what can i do. Also tried to leave original config and logging in with usernames that was in it - nothing. Any ideas? Thats my starting log, there are no errors, and permmisions config is now like '*' for default.

    Code:
    2011-01-30 02:54:38 [INFO] Preparing level "world"
    2011-01-30 02:54:38 [INFO] Preparing start region
    Preparing spawn area: 8%
    Preparing spawn area: 32%
    Preparing spawn area: 81%
    2011-01-30 02:54:43 [INFO] [Permissions] version [1.8] (Handler) loaded
    2011-01-30 02:54:43 [INFO] WorldEdit 2.15.2 loaded.
    2011-01-30 02:54:43 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-01-30 02:54:43 [INFO] WorldGuard 3.1.2 loaded.
    2011-01-30 02:54:43 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-01-30 02:54:43 [INFO] WorldGuard: Single session is enforced.
    2011-01-30 02:54:43 [INFO] WorldGuard: TNT ignition is PERMITTED.
    2011-01-30 02:54:43 [INFO] WorldGuard: Lighters are PERMITTED.
    2011-01-30 02:54:43 [INFO] WorldGuard: Lava fire is blocked.
    2011-01-30 02:54:43 [INFO] WorldGuard: Fire spread is UNRESTRICTED.
    2011-01-30 02:55:03 [INFO] [MYHOME]: 1 homes loaded
    2011-01-30 02:55:03 [INFO] [MYHOME] Permissions enabled.
    2011-01-30 02:55:03 [INFO] MyHome 1.7.2 enabled
    2011-01-30 02:55:03 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-01-30 02:55:03 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-01-30 02:55:03 [INFO] Done! For help, type "help" or "?"
    
    Plugins im using: Permissions (now tried 1.8, but i've started with 1.9), WorldGuard, WorldEdit, MyHome.
    Mac OS X: 10.6
     
  26. Offline

    chill1977

    Thats's what these forums are for but thanks for the help.
     
  27. Offline

    SeeD419

    This is actually super easy to set up, and like everything supports it. I can't believe I didn't use this sooner.

    What is the difference between using GroupUsers and Default?

    I do use groupusers, but the permissions would still work regardless...

    What does that setting do? If I was using groupusers, then what would be the purpose of having permissions?
     
  28. Offline

    chill1977

    We need the config.yml file for permissions.
     
  29. Offline

    Rufus

    That is the problem, I haven't changed anything its a fresh build. If something is conflicting with it I don't know what I could be, I am combatmedic02, the code is pretty much the same as you see there with the exception of everything gerneral is now essentials. I don't get why its not working I just need ideas on what sort of thing I should check next. -.-'
     
  30. I know, but it's the constant back and forth over multiple pages that makes it very hard for others to join in and help. Whereas chat is much more instantaneous so you don't run into the problem of multiple people responding. Plus that irc room is the official chat room for help with permissions. Even Niji sits in it (though mostly inactive)

    Edit: For example, 2 posts in the time I sent this because I wrote it slowly.
     
  31. Offline

    chill1977

    I really don't know because I never use groupusers. I like to keep things simple for me, Permissions and Essentials are a great start to simplify any server.
    --- merged: Jan 30, 2011 2:14 AM ---
    Yeah I agree with that, why I try to get people on other forms of chat with me or in a private convo.
    --- merged: Jan 30, 2011 2:15 AM ---
    @Rufus, check your inbox
     
Thread Status:
Not open for further replies.

Share This Page