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

    SeeD419

    Can permissions color code different groups?
     
  3. Offline

    FXStrato

    For some reason, they can see the /rules command, and nothing else. This was after I added - 'essentials.plugin' so the /help would work.
     
  4. Offline

    chill1977

    yes, with the use of the iChat plugin
    --- merged: Jan 30, 2011 2:23 AM ---
    what do you mean added - 'essentials.plugin' ? that's not a command node for permissions
     
  5. Offline

    SeeD419

    Well if it doesn't do it natively then I might as well just leave groupusers...
     
  6. Offline

    FXStrato

    Well, i got rid of it, and it still only shows /rules. Strange... if it has nothing to do with the plugin, then why won't it show the help list for the commands i want them to use?
     
  7. Offline

    chill1977

    OK i'm getting aggrivated so it's break time lol.
    --- merged: Jan 30, 2011 2:26 AM ---
    i'm sending you a convo.
     
  8. Offline

    FXStrato

    Please. What is that? :D
     
  9. Offline

    kyxoan

    when I /pr to reset it breaks various plugins with no errors. I also can no longer /plugin list with essentials, it crashes my client... started today...

    iChat breaks upon /pr
     
  10. Offline

    trollathon

    EDIT: nvm, it was worldedit causing the bug
     
  11. Offline

    SeeD419

    Does this support a /modify for approving non-building users in game to building users?

    That would be the last thing I can think of that GroupUsers has on this...
     
  12. Offline

    chill1977

    No , unfotunately it doesn't but I don't find that a real issue since it does have the /pr to reload the file it doesnt require restarting the server after you mod the config.yml
     
  13. Offline

    Euthyphro

    Is there any software that can format a yaml document? I'm getting sick of trying to format my user list. I have over 1k users and I keep getting <block end> errors. I've gone through several times and replaced all tabs with spaces in notepad ++ but still I cannot get this thing going and it's driving me insane. Clearly using yaml wasn't the smartest decision considering all the replies to this thread with formatting errors. Idk why you wouldn't have used xml rather than yaml, but preferably it should be done with mysql. :(
     
  14. Offline

    littledude7644

    im having problems with permissions it just wont load
    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:
    
        Slave:
            default: false
            info:
                prefix: lol-
                suffix: lol-
                build: false
            inheritance:
            permissions:
        Default:
            default: true
            info:
                prefix: Slave-
                suffix: Slave-
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.list'
        Farmer:
            default: false
            info:
                prefix: Farm-
                suffix: Farm-
                build: true
            inheritance:
                - Default
            permissions:
    
                - 'myhome.home.*'
                - 'lwc.protect'
                - 'essentials.who'
                - 'essentials.playerlist'
                - 'essentials.warp'
                - 'essentials.kit.*'
                - 'essentials.tpaaccept'
    
        Citizen:
            default: false
            info:
                prefix: Cit-
                suffix: Cit-
                build: true
            inheritance:
                - Farmer
            permissions:
    
                - 'essentials.tp'
                - 'essentials.tpahere'
    
        Architect:
            default: false
            info:
                prefix: Arch-
                suffix: Arch-
                build: true
            inheritance:
                - Citizen
            permissions:
    
                - 'essentials.helpop'
                - 'essentials.clearinventory'
    
        Guard:
            default: false
            info:
                prefix: Gaurd-
                suffix: Gaurd-
                build: true
            inheritance:
                - Architect
            permissions:
    
                - 'essentials.top'
    
        Squire:
            default: false
            info:
                prefix: Squire-
                suffix: Squire-
                build: true
            inheritance:
                - Guard
            permissions:
    
                - 'essentials.kick'
    
        King:
            default: false
            info:
                prefix: King-
                suffix: King-
                build: true
            inheritance:
                - Squire
            permissions:
                - 'essentials.heal'
     
        VIP:
            default: false
            info:
                prefix:VIP-
                suffix:VIP-
                build: true
            inheritance:
                - King
            permissions:
    
                - 'essentials.tree'
    
        Moderator:
            default: false
            info:
                prefix: MOD-
                suffix: MOD-
                build: true
            inheritance:
                - VIP
            permissions:
                - 'essentials.time.*'
                - 'essentials.teleport'
                - 'essentials.tpohere'
                - 'essentials.tphere'
                - 'essentials.tpo'
                - 'essentials.player-info'
                - 'essentials.ban'
                - 'essentials.nuble'
                - 'essentials.unban'
                - 'essentials.modgrp'
                - 'essentials.jump'
                - 'essentials.kill'
                - 'myhome.*'
                - 'lwc.admin'
        Admins:
            default: false
            info:
                prefix: ADMIN-
                suffix: ADMIN-
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        fcjr:
            group: Admins
            permissions:
        modernprestige:
            group: Admins
            permissions:
        littledude7644
            group: Admins
            permissions:
     
  15. Offline

    chill1977

    REally, why in the world does any server have over 1000 users, are these everyone that has ever logged onto the server, even those that havent been there in like 6 mths. If you are going to let everyone join the server and play then just set the default users to have access to the commands, then you don't enven have to add 1000 users to the config. You can always make a "jail" or ban the users you don't want there. I think you just let anyone log on and play to have that many users so limiting the default group means you have to put everyone that logs on your server in the file, that's poor server administration.
    --- merged: Jan 30, 2011 4:29 AM ---
    Line breaks are not allowed here

    permissions:

    - 'essentials.tree'

    and why do you have so many groups and 3 users that are all admins but anyway , yeah your code needs to be looked over
     
  16. Offline

    qlpwii

    i miss the old easy way to do this :(
     
  17. Offline

    chill1977

    @littledude7644 wasnt to bad just had a cpl of line skips and a cpl colons missing but this will work now

    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    groups:
        Slave:
            default: false
            info:
                prefix: lol-
                suffix: lol-
                build: false
            inheritance:
            permissions:
        Default:
            default: true
            info:
                prefix: Slave-
                suffix: Slave-
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.list'
        Farmer:
            default: false
            info:
                prefix: Farm-
                suffix: Farm-
                build: true
            inheritance:
                - Default
            permissions:
                - 'myhome.home.*'
                - 'lwc.protect'
                - 'essentials.who'
                - 'essentials.playerlist'
                - 'essentials.warp'
                - 'essentials.kit.*'
                - 'essentials.tpaaccept'
        Citizen:
            default: false
            info:
                prefix: Cit-
                suffix: Cit-
                build: true
            inheritance:
                - Farmer
            permissions:
                - 'essentials.tp'
                - 'essentials.tpahere'
        Architect:
            default: false
            info:
                prefix: Arch-
                suffix: Arch-
                build: true
            inheritance:
                - Citizen
            permissions:
                - 'essentials.helpop'
                - 'essentials.clearinventory'
        Guard:
            default: false
            info:
                prefix: Gaurd-
                suffix: Gaurd-
                build: true
            inheritance:
                - Architect
            permissions:
                - 'essentials.top'
        Squire:
            default: false
            info:
                prefix: Squire-
                suffix: Squire-
                build: true
            inheritance:
                - Guard
            permissions:
                - 'essentials.kick'
        King:
            default: false
            info:
                prefix: King-
                suffix: King-
                build: true
            inheritance:
                - Squire
            permissions:
                - 'essentials.heal'
        VIP:
            default: false
            info:
                prefix: VIP-
                suffix: VIP-
                build: true
            inheritance:
                - King
            permissions:
                - 'essentials.tree'
        Moderator:
            default: false
            info:
                prefix: MOD-
                suffix: MOD-
                build: true
            inheritance:
                - VIP
            permissions:
                - 'essentials.time.*'
                - 'essentials.teleport'
                - 'essentials.tpohere'
                - 'essentials.tphere'
                - 'essentials.tpo'
                - 'essentials.player-info'
                - 'essentials.ban'
                - 'essentials.nuble'
                - 'essentials.unban'
                - 'essentials.modgrp'
                - 'essentials.jump'
                - 'essentials.kill'
                - 'myhome.*'
                - 'lwc.admin'
        Admins:
            default: false
            info:
                prefix: ADMIN-
                suffix: ADMIN-
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    users:
        fcjr:
            group: Admins
            permissions:
        modernprestige:
            group: Admins
            permissions:
        littledude7644:
            group: Admins
            permissions:
    
     
  18. Offline

    littledude7644

    i did what you told me and still getting the same problem.
    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:
    
        Slave:
            default: false
            info:
                prefix:lol
                suffix:
                build: false
            inheritance:
            permissions:
        Default:
            default: true
            info:
                prefix:Slave
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.list'
        Farmer:
            default: false
            info:
                prefix:Farm
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
    
                - 'myhome.home.*'
            - 'lwc.protect'
                - 'essentials.who'
                - 'essentials.playerlist'
                - 'essentials.warp'
                - 'essentials.kit.*'
                - 'essentials.tpaaccept'
        Citizen:
            default: false
            info:
                prefix:Cit
                suffix:
                build: true
            inheritance:
                - Farmer
            permissions:
    
                - 'essentials.tp'
                - 'essentials.tpahere'
        Architect:
            default: false
            info:
                prefix:Arch
                suffix:
                build: true
            inheritance:
                - Citizen
            permissions:
    
                - 'essentials.helpop'
                - 'essentials.clearinventory'
        Squire:
            default: false
            info:
                prefix:Squire
                suffix:
                build: true
            inheritance:
                - Guard
            permissions:
    
                - 'essentials.kick'
        VIP:
            default: false
            info:
                prefix:VIP
                suffix:
                build: true
            inheritance:
                - King
            permissions:
    
                - 'essentials.tree'
        Moderator:
            default: false
            info:
                prefix:MOD
                suffix:
                build: true
            inheritance:
                - VIP
            permissions:
                - 'essentials.time.*'
                - 'essentials.teleport'
                - 'essentials.tpohere'
                - 'essentials.tphere'
                - 'essentials.tpo'
                - 'essentials.player-info'
                - 'essentials.ban'
                - 'essentials.nuble'
                - 'essentials.unban'
                - 'essentials.modgrp'
                - 'essentials.jump'
                - 'essentials.kill'
            - 'myhome.*'
            - 'lwc.admin'
        Admins:
            default: false
            info:
                prefix:ADMIN-
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        fcjr:
            group: Admins
            permissions:
        modernprestige:
            group: Admins
            permissions:
        littledude7644
            group: Admins
            permissions:
     
  19. Offline

    chill1977

    Honestly this isnt hard at all. You just have to pay attention to the format. 80% of the post here are simply HKI errors.

    @little i hope you saw the file i posted for you, tell me if that works.
     
  20. Offline

    littledude7644

    tried it and it doesn't work.
    would it be possible to give u the ftp info and for u to take a look at the setup?
     
  21. Offline

    chill1977

    i know jack about ftp lol if it's simple then i will look lol

    Send me a convo.
    --- merged: Jan 30, 2011 4:55 AM ---
    If you have Hamachi or Teamspeak and need help then let me know.
     
  22. Offline

    waffulz

    I just modified my config (http://pastebin.com/627Dr6r6) and added two new groups (bronze and silver). But when I tried reloading the plugin in-game it shows the following error:

    Error: While parsing a block collection; expected <block end>, but found FlowSequenceStart

    What did I do wrong? Help is very much appreciated!
     
  23. It is :/ But it still isn't loading at all..
     
  24. Offline

    chill1977

    The code is fine, What plugins do you have and was that all the error code said?

    Try removing worldedit and try it again, if that doesnt work then try removing worldguard and worldedit, there have been problems with them today.

    Also you can not run both General and Essentials, they have the same commands.
     
  25. Offline

    Legionarius

    Warning to all you using this mod. Inheritance is not working properly. We have default users having access to essentials.item etc, when there is no reason for them to have it. Something is at play here.
     
  26. Offline

    chill1977

    Could you please tell us what builds you are using and any other plugins you are running.

    Please, dont say plugins are not workking as they should without supporting evidence. I am running craftbukkit 168 and have not got any issue with this.

    If you would post more info I would be happy to get this issues fixed for you.
     
  27. Offline

    waffulz

    I found out the issue. Turns out it was in my Essentials plugin config in my motd and rules I had modified. Thanks anyways. :)

    Offtopic: Does anyone have that picture of the &(character) color codes? I'd really love it right about now.
     
  28. Offline

    chill1977



    http://wiki.hey0.net/index.php/Colors just use the & instead of that symbol lol
    --- merged: Jan 30, 2011 6:14 AM ---
    Did you just post to complain? Posting the same thing in multiple threads but not trying to get any help.
     
  29. Offline

    Legionarius

    Well then the Essentials config file is misleading. It literally says "restricting commands in this file does nothing if you have permissions installed" but it definitely does. Without restrict turned on, permissions cant control it. Thats not what the comment on the yaml file implies whatsoever.
     
  30. Offline

    chill1977

    My guess is you are talking about this

    # Restricted commands will only be available to ops.
    # These will have NO EFFECT if you have Permissions installed!
    # These are here only if you want something simpler than Permissions.
    restricted-commands:

    You dont turn that on, you simply list what commands you want restricted only to ops, but since ops.txt is made useless by permissions it no longer has control over the restrict -commands. This has nothing to do with why your default users can use /items. If you put .items in this space and it is restricting them then it is restricting everyone from that command except the person listed in the ops.txt and that means permissions didnt load.
     
  31. Offline

    Daworm

    A quick scan through thread I cannot see a reply.

    However: would be cool if you could implement the following.
     
Thread Status:
Not open for further replies.

Share This Page