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

    tekac

    build = false indeed does not work. I have the config set correctly. Everything else works, inheritance, permissions,etc.
    --- merged: Jan 27, 2011 6:32 PM ---
    default is set to =true and build = false

    builder , default = false, build = true
     
  3. Offline

    Laguna

    Help me plz U_u
     
  4. Hello.

    When I downloaded this plugin, it wasn't working at all.
    Then I shut the server down and deleted the plugin, launched the server and then shut it down again and installed Permissions again and it was working.
    Now when I restarted the server again, it was not working anymore. I'm not feeling like restarting the server twice if I want to get something changed.

    What may be causing this? Not like half of my plugins work right now, because they seek for Permissions but can't find it, even though it does exist.
     
  5. Offline

    tekac

    Figured out my problem. Wasn't aware you needed the Anti-Build plugin.
     
  6. Offline

    rendwe

    Hello, I am currently writing a php application that uses the pecl extension syck to convert between yaml and php data sturctures - basically a web panel to manage the users and groups.
    This is mostly finished, using it with an interface to my forums now, it just needs some polishing as a stand alone app.
    Before I release this to users of your plugin, I wanted to know if you were going to add mysql support in the near future? That would make this code obsolete.
    One other request, can I somehow set /pr to run on an interval? say every minute? I don't know java, otherwise I would branch Permission code and do so myself.
     
  7. Offline

    Jinux

    I'm using your example from OP Niji and Eclipse is telling me:
    How can I fix it? Here's a pastebin of my file: http://pastebin.com/zXQd6fEq (The problem is at line 47)
     
  8. =/
    Set up groups, added myself to the users list at bottom of .yml file and... nothing happens when I type the commands. No errors, no nothing.
    Permissions file:
    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: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.item'
        Admins:
            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'
        ChilliConCarnage:
            group: Admins
            permissions:
            
    would be VERY appreciated if someone could help...
     
  9. Offline

    ctshiner

    Hi Nijikokun,

    First, awesome work!
    Second, is there any chance you might implement a modify command similar to hey0? I use AntiBuild for my default group and it'd be great if any one of my mods could assign groups on the fly rather than emailing me and waiting for me to wake up and edit the config file, lol.

    Thank you
     
  10. Offline

    chill1977

    Isnt there a plugin developers forum, might be better looking for this answer there. Most here can't even get the permissions file right, like me lol
    --- merged: Jan 27, 2011 7:49 PM ---
    the new version has /mod
    --- merged: Jan 27, 2011 7:52 PM ---
    Is general the only plugin you are trying to use and are you using GroupUSer plugin?
     
  11. Offline

    Jinux

    There is but Permissions doesn't have a thread there so I think this would probs be the best place.
     
  12. Offline

    zandi010

    Can i set colours for the names of the users in a spezific group?
     
  13. Offline

    fffizzz

    Any way to force Permissions to load as first plugin when starting the server? I have to /plugin enable a couple plugins after so they see permissions since they load before permissions does.

    Thanks
     
  14. Offline

    Adondriel

    there is no error but when i log in first anyone who logs in after me logs in with admin even when i don't have them set for admin
     
  15. Offline

    fffizzz

    adondriel: post your config on pastebin and post the link so we can actually help you.
     
  16. Offline

    Starrk

    What am I doing wrong?

    No one but me can use /list or my mods can't do /kick. Please help!

    # 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:
    Guest:
    default: true
    info:
    prefix: 'Guest'
    suffix:
    build: true
    inheritance:
    permissions:
    - 'essentials.spawn'
    - 'essentials.help'
    - 'eseentials.list'
    - 'essentials.getpos'
    - 'essentials.motd'
    - 'essentials.afk'
    - 'essentials.rules'
    - 'essentials.home'
    - 'essentials.sethome'
    Member:
    default: false
    info:
    prefix: '&eMember'
    suffix: '&e'
    build: true
    inheritance:
    - Guest
    permissions:
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.msg'
    Mod:
    default: false
    info:
    prefix: '&3Mod'
    suffix: '&3'
    build: true
    inheritance:
    - Member
    permissions:
    - 'essentials.kill'
    - 'essentials.warp'
    - 'essentials.setwarp'
    - 'essentials.tp'
    Vip:
    default: false
    info:
    prefix: '&dVip'
    suffix: '&d'
    build: true
    inheritance:
    - Mod
    permissions:
    - 'essentials.tpchere'
    - 'essentials.tpc'
    - 'essentials.tphere'
    - 'essentials.clearinventory'
    - 'essentials.nick'
    - 'essentials.whois'
    - 'essentials.heal'
    - 'essentials.realname'
    Admins:
    default: false
    info:
    prefix: '&6Admin'
    suffix: '&6'
    build: true
    inheritance:
    - Vip
    permissions:
    - '*'
    ##
    # beyonddead has control over all commands.
    # depthwd is a Vip
    ##
    users:
    beyonddead:
    group: Admins
    permissions:
    depthwd:
    group: Vip
    permissions:
    supleted:
    group: Mod
    permissions:
    anarki2004:
    group: Member
    permissions:
    sonicboom12345:
    group: Member
    permissions:
    Jett213:
    group: Mod
    permissions:
    arishoham:
    group: Mod
    permissions:
    sithoius:
    group: Vip
    permissions:
    TheRedHulk:
    group: Member
    permissions:
     
  17. Offline

    Aelux

  18. Offline

    DJ411

    having a problem making 4 groups.

    Code:
    
      TRUSTED:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - "nodes" <-- just for now. don't feel like typing all out.
        MOD:
            default: false
            info:
                prefix: '&3'
                suffix:
                build: true
            inheritance:
                - TRUSTED
            permissions:
                - "nodes"
        ADMIN:
            default: false
            info:
                prefix: '&4'
                suffix: '&c'
                build: true
            permissions:
                - "nodes"
    
    This is what i have right now. It works fine. except trusted can still build even with these settings. :|

    But i want to have 4 groups.

    A Guest group. Trusted, Mod and Admin.

    Guest i want them to be default group with no build
    Trusted is Basic Member. so they can build use anything from stock commands.
    Mods are mods.
    Admins are admins.

    i would also like to add more groups in the future but i can't seem to add these groups cause i keep getting errors.


    this is what i would have for guest.

    But when i have this. i get errors. and Permissions plugin is disabled. but when i use the first code with all groups it works. seems like i can't have more then 3 groups.
     
  19. Offline

    Jed1314

    This might sound ridiculous but Permissions does not even show up on my list of installed mods. It is extracted in the plugins folder as described and the cmd pannel registers it's existance and says it is disabled, but I just can't enable it in game. It doesn't even show up on the list of installed plugins. What the hell ?

    Pastebin for cmd error:

    http://pastebin.com/HhhPMCUY
     
  20. Offline

    chill1977

    WOW, lot of unanswered questions, I'm on the job and will try to grab a few.

    @DJ411 if you read back, actually I asked the same thing at one time so I will answer, you will see to stop building you need the Anti-Build plugin as well. As far as he groups go, you shouldn't get errors unless you are trying to use tabs for spacing or arent getting the spacing right. If you notice the spacing is left margin, 4 spaces, 8 spaces, and 12 spaces. If you want to add another group and have problem then use the code button here and paste it and we will help.
    --- merged: Jan 28, 2011 1:24 AM ---
    You need to give us your permission configuration before we can help. You don't have it formatted correctly.

    ... 8 more
    Caused by: while parsing a block mapping
    in "<reader>", line 37, column 9:
    default: true
    ^
    expected <block end>, but found BlockSequenceStart
    in "<reader>", line 45, column 13:
    - 'general.whois
    Means you have errors
     
  21. Offline

    PandaVidya

    permissions: the most infuriating plugin in bukkit history.
     
    Lapppy likes this.
  22. Offline

    chill1977

    @ Starrk no list because you spelled essentials wrong

    permissions:
    - 'essentials.spawn'
    - 'essentials.help'
    - 'eseentials.list'
    - 'essentials.getpos'
    - 'essentials.motd'

    And Mods don't have the 'essentials.kick' command enabled .
    --- merged: Jan 28, 2011 1:33 AM ---
    @ zandi010 Yes you can specify group name colors, but you need the iChat plugin and then you set the prefix and suffix to whatever color you want.

    Code:
    Admin:
            default: false
            info:
                prefix: '&aAdmin'
                suffix: '&a'
                build: true
            inheritance:
                - Mod
            permissions:
                - '*'
    --- merged: Jan 28, 2011 1:35 AM ---
    OK . that's as far back as I am going. I will be here for a while.

    @ Panda It really isnt that hard, some people just understand coding and the fact that it can be sensitive at times. Then, there are some that are just to lazy to spend the time looking for an error. lol
     
  23. Offline

    rct2guy

    Ok, I'm very confused. Mostly as to what sets the "general.spawn" and "general.time" commands. I saw you had listed some of these kinds of "commands" in the thread you made about the General plugin, so I tried using those. (You can see my current file configuration here)

    Unfortunately, it gave me some big long error concerning two of the commands I tried to use. (You can see the error here.) I don't really understand exactly what it is I did wrong; I thought I did everything correctly. What did I mess up?
     
  24. Offline

    Dreggor

    I guess this is not directly about this mod, but if someone here knows of a mod that lets me set a permission as to if someone can see server chat that would be awesome.
     
  25. Offline

    chill1977

    @rct2guy here ya go ;)
    Missed a ' at the end of this line

    - 'general.spawn.set

    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: true
            inheritance:
            permissions:
                - 'general.spawn'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'general.spawn.set'
                - 'general.items'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        rct2guy:
            group: Admins
            permissions:
        jmmotive:
            group: Moderator
            permissions:
        Lockbreaker:
            group: Moderator
            permissions:
        ThreeCheers4Me:
            group: Moderator
            permissions:
     
    rct2guy likes this.
  26. Offline

    Lapppy

    QFT. I am so glad that bukkit is not realeased yet: server admins everywhere would cry.
     
  27. Offline

    Jtaylorc

     
  28. Offline

    rct2guy

    Thanks a ton, chill1977. No more errors! I don't hate this thing anymore! lol
     
  29. Offline

    chill1977

    LOL np hope it all works for you. Just trying to make a btter minecraft for us all
     
  30. Offline

    Bigglesworth

    Ok. I cant get the plugin to even SHOW UP.
    I looked in the server logs and it is loading it fine, so here is my groups file.

    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: true
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.mail'
                - 'essentials.nick'
                - 'essentials.whois'
                - 'essentials.spawn'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.kit'
                - 'essentials.motd'
                - 'essentials.ping'
                - 'essentials.warp'
                - 'essentials.'
    
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.top'
                - 'essentials.clearinventory'
                - 'essentials.tree'
                - 'essentials.bigtree'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.heal'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.kick'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.kill'
                - 'essentials.jump'
                - 'essentials.'
                - 'jail.command.jailcreate'
                - 'jail.command.jaildelete'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'jail.command.jailtransfer'
                - 'jail.command.jailtransferall'
                - 'jail.command.jailcheck'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    #   Matthewbri, biggles has control over all commands.
    ##
    users:
        Bigglesworth94:
            group: Admins
            permissions:
        Matthewbri:
            group: Admins
            permissions:
        h0rs3r4dish:
            group: Mods
            permissions:
    And as you can see, I want essentials and jail to work with this too.
    Edit: AUGH! IT DISABLED LWC! HURRY HURRY!
     
  31. Offline

    chill1977

    @Bigglesworth code is ok, what other plugins do you have ruuning and what do you mean it won't show up. Noone except admins have /lwc control because it isnt listed here.
     
Thread Status:
Not open for further replies.

Share This Page