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

    xbrad

    I tried 'Essentials.help' but maybe I didn't restart or something. I'll give it a shot again.

    Thanks for the confirmation though, I'll see if it works.
     
  3. Offline

    SeeD419

    Nothing supports groupusers. I'm gonna have to actually switch over to this -___-

    But seriously yaml just looks overcomplicated. Do the spaces matter at all? Or is that just to make things look organized? Like do I have to put a certain number of spaces before each value or key?
     
  4. Offline

    xbrad

    Yes, spacing does matter (as of what I've read).

    And I got the commands to work/be limited for default users, but when you type "/help" it doesn't show all the commands that are available. Is that something configured through Permissions or Essentials? The commands (ex: /compass given by 'essentials.compass') work, but you don't see them under the "/help".
     
  5. Offline

    SeeD419

    /help is configured through essentials.

    Check your essentials folder for the help config file. It's messy though, lol...you've been warned.

    Good luck editing that thing. I couldn't figure it out for shit.
     
  6. Offline

    Prime

    I have a problem, when I set up my my config.yml, I attempt to keep a strict list of commands available to my members, but they are stilled allowed to use any of the commands including the ones that can ban me.. I'm the admin. Any help?
    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.home'
            - 'essentials.sethome'
            - 'essentials.clearinventory'
            - 'essentials.motd'
            - 'essentials.afk'
            - 'essentials.rules'
            - 'essentials.msg'
            - 'essentials.compass'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
            - 'general.teleport'
            - 'general.teleport.here'
            - 'general.player-info'
            - 'essentials.tphere'
            - 'essentials.give'
            - 'essentials.time'
            - 'essentials.plugin'
            - 'essentials.essentials'
            - 'essentials.kick'
            - 'essentials.ban'
            - 'essentials.unban'
            - 'essentials.banip'
            - 'essentials.unbanip'
            - 'essentials.kill'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        name here:
            group: Admins
            permissions:
        name here:
            group: Admins
            permissions:
            
    Thank's in advance.
     
  7. Offline

    xbrad

    I've seen that, but that doesn't help me for what I need. When you restrict commands (which I did through Permissions NOT Essentials), it not only deleted the ones restricted, but also the ones not restricted.
     
  8. Offline

    chill1977

    Your problem is not with essentials or your code that I can see. What other plugins are you running?
    --- merged: Jan 29, 2011 3:45 AM ---
    Are you talking about restricting commands through the essentials yaml or the permissions yaml? And does this delete the commands of the permissions file or the essentials file?

    Because Permissions have to be manually deleted, if any commands were deleted from the Permissions.yml then you did it. There is nothing else that would do that. You need to be clearer.
     
  9. Offline

    kyxoan

    so I'm not going to read through 40+ pages of nonsense, I'm at page 7 atm. Is there no other way to convert hey0 user list to this format aside from a PHP script which I have no idea how to run?

    I just wrote an SQL code that converts all of my SQL tables to hey0 formated text files, but a hey0 esque file of users.txt does nothing for me with this plugin.

    I can not imagine adding 300 users by hand.
     
  10. Offline

    Prime

    Essentials, LWC, Permissions, and ProtectedDoors.
     
  11. Offline

    Sieabah

    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: &f
                suffix:
                build: true
                inheritance:
                permissions:
                    - 'general.spawn'
                    - 'general.player-info'
                    - 'lwc.protect'
                    - 'petition'
                    - 'myhome.home.basic.*'
                    - '/shout'
                    - '/sh'
                    - '/yell'
                    - '/y'
        Vip:
            default: false
            info:
                prefix: [&1VIP&f]
                suffix:
                build: true
                inheritance: Default,
                permission:
                    - 'general.teleport'
                    - 'general.teleport.here'
                    - 'myhome.home.soc.*'
        Moderator:
            default: false
            info:
                prefix: [&eMOD&f]
                suffix:
                build: true
                inheritance: Default,Vip,
                permission:
                    - 'general.time'
                    - 'magiccarpet.mc'
                    - 'lwc.mod'
                    - 'petition.moderate'
        Admin:
            default: false
            info:
                prefix: [&cADMIN&f]
                suffix:
                build: true
                inheritance: Default,Vip,Moderator,
                permission:
                    - 'woolcolor.spawn'
                    - 'godmode.god.self'
                    - 'godmode.god.players'
                    - 'lwc.admin'
                    - 'myhome.admin'
                    - 'bb.admin'
                    - '/slay'
                    - '/stopfire'
                    - '/allowfire'
                    - '/heal'
                    - '/stack'
                    - '/locate
                    - '/region'
                    - '/worldedit'
                    - '/god'
        Owner:
            default: false
            info:
                prefix: [&0OWNER&f]
                suffix:
                build: true
                inheritance: Default,Vip,Moderator,Admin,
                permission:
                    - '*'
                    - 'general.*'
                    - 'godmode.*'
                    - 'lwc.protect'
                    - 'lwc.admin'
                    - 'myhome.*'
                    - 'bb.*'
                    - '/reloadwg'
                    - '/worldeditbedrock'
                    - '/areachat'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Sieabah:
            group: Owner
            permissions:
        DominationDarren:
            group: Admin
            permissions:
        Munstalanda:
            group: Admin
            permissions:
    I've tried multiple methods, and looked through the server. I'm extremely new to server hosting and don't exactly know what problem I'm running into. When I log into my server I have absolutely no possible commands that I can use unless I op myself from the console. Is there something I have to do for it to actually start up as admin/owner?
     
  12. Offline

    nickjyc

    Did you add your username in ops.txt?
     
  13. Offline

    chill1977

    - '/allowfire'
    These are not permission nodes, these are commands. Look on the forums and wiki'[s and get the nodes

    Keep in mind that some plugins are not compatible with Permissions and therefore would not list the permission nodes. These DO NOT need to be listed in Permissions as it will break the permissions.
    --- merged: Jan 29, 2011 5:12 AM ---
    Permissions makes the op.txt obsolete.
     
  14. Offline

    exodus121

    I am using your most recent version of the permissions plugin and I have it set up like it's supposed to be in the configuration file. But when players log into the server, they can't use ANY commands at all, even though i have it set up so they can use /home, /sethome, /spawn, /money, etc. etc. etc.

    Whenever they try they get a message saying, "You do not have permission to use that command."
    Or something along those lines. is there any way you could instruct me on how to correct it?

    I have uploaded a pastebin so you can see exactly what I've done to the config file.
    http://pastebin.com/RVK22hVw
     
  15. Offline

    Sieabah

    Alright I removed the command ones and still run into the same issue. Here's a list of all the plugins I have, just to check to see if any conflict with each other.

    [​IMG]

    and the updated config file that I have,

    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: &f
                suffix:
                build: true
                inheritance:
                permissions:
                    - 'general.spawn'
                    - 'general.player-info'
                    - 'lwc.protect'
                    - 'petition'
                    - 'myhome.home.basic.*'
        Vip:
            default: false
            info:
                prefix: [&1VIP&f]
                suffix:
                build: true
                inheritance: Default,
                permission:
                    - 'general.teleport'
                    - 'general.teleport.here'
                    - 'myhome.home.soc.*'
        Moderator:
            default: false
            info:
                prefix: [&eMOD&f]
                suffix:
                build: true
                inheritance: Default,Vip,
                permission:
                    - 'general.time'
                    - 'magiccarpet.mc'
                    - 'lwc.mod'
                    - 'petition.moderate'
        Admin:
            default: false
            info:
                prefix: [&cADMIN&f]
                suffix:
                build: true
                inheritance: Default,Vip,Moderator,
                permission:
                    - 'woolcolor.spawn'
                    - 'godmode.god.self'
                    - 'godmode.god.players'
                    - 'lwc.admin'
                    - 'myhome.admin'
                    - 'bb.admin'
        Owner:
            default: false
            info:
                prefix: [&0OWNER&f]
                suffix:
                build: true
                inheritance: Default,Vip,Moderator,Admin,
                permission:
                    - '*'
                    - 'general.*'
                    - 'godmode.*'
                    - 'lwc.protect'
                    - 'lwc.admin'
                    - 'myhome.*'
                    - 'bb.*'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Sieabah:
            group: Owner
            permissions:
        DominationDarren:
            group: Admin
            permissions:
        Munstalanda:
            group: Admin
            permissions:
    Could someone give me a known working config file?

    This pretty much explains the same problem I'm having.
     
  16. Offline

    exodus121

    Also, I tried making a separate group to make the players start in, instead of default and placed them into it 1 by 1, it gives them ALL commands, not just the ones I have specified for them to be able to use.
     
  17. Offline

    hyperch

  18. Offline

    dshanea1

    I like the old hey-o version better, it was much easier in my opion
     
  19. Offline

    Daemon

    I don't understand how to add Permissions from other Mods to the file.
     
  20. Offline

    chill1977

    WOW guess people have been sleeping on the help, or just getting tired of the same questions over and over.
     
  21. Offline

    achmed

    This is my file http://pastebin.com/bvPVBL7k.
    the people who said it should work were: Lim-Dul, Tehseph and some other people which I can't remember the names of...
    and about the server log...
    I can't find anything about permissions...
     
  22. Offline

    chill1977

    - 'essentials.sell
    There is your problem, missing the '
     
  23. Offline

    achmed

    Oh and the server log says: no known permissions plugin detected...
     
  24. Offline

    chill1977

    I guess you mean errors in the server log? What problems do you have and what plugins are you running again, sry if you already said but i'm multitasking here.
    --- merged: Jan 29, 2011 9:25 AM ---
    Oh so getting ahead of me huh lol

    OK the config.yml for permissions must be in the plugin/permissions folder, for some reason it has been putting it in the main folder with craftbukkit, this will not load. Move it to the plugins/permissions folder then restart server.

    BTW, your code is fine except for the redundant general command , which I figure was an attempt to get it to work. Each command should only be in your permissions 1 time. Doesnt hurt the code but sure makes more to look through.
     
  25. Offline

    achmed

    My problem is that it doesn't look like the plugin is even installed while I'm sure it is...
    This is the server log...
    --- merged: Jan 29, 2011 9:29 AM ---
    I am not the person running the server and the person who does run the server is away at the moment so I´ll send the installed plugins in about 10 minutes.
     

    Attached Files:

  26. Offline

    chill1977

    Thats why I said make sure it is in the right place, helped one earlier that wasnt loading because it was in the main folder instead of the plugin/permissions folder
     
  27. Offline

    achmed

    Well both my permissions folder and file are in the plguins folder...
    --- merged: Jan 29, 2011 9:36 AM ---
    Ok I have the plguins folder...
     

    Attached Files:

  28. Offline

    chill1977

    @Sieabah , here is your working code.

    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: '&f'
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'general.player-info'
                - 'lwc.protect'
                - 'petition'
                - 'myhome.home.basic.*'
        Vip:
            default: false
            info:
                prefix: '[&1VIP&f]'
                suffix:
                build: true
            inheritance:
                - Default
            permission:
                - 'general.teleport'
                - 'general.teleport.here'
                - 'myhome.home.soc.*'
        Moderator:
            default: false
            info:
                prefix: '[&eMOD&f]'
                suffix:
                build: true
            inheritance:
                - Vip
            permission:
                - 'general.time'
                - 'magiccarpet.mc'
                - 'lwc.mod'
                - 'petition.moderate'
        Admin:
            default: false
            info:
                prefix: '[&cADMIN&f]'
                suffix:
                build: true
            inheritance:
                - Moderator
            permission:
                - 'woolcolor.spawn'
                - 'godmode.god.self'
                - 'godmode.god.players'
                - 'lwc.admin'
                - 'myhome.admin'
                - 'bb.admin'
        Owner:
            default: false
            info:
                prefix: '[&0OWNER&f]'
                suffix:
                build: true
            inheritance:
                - Admin
            permission:
                - '*'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Sieabah:
            group: Owner
            permissions:
        DominationDarren:
            group: Admin
            permissions:
        Munstalanda:
            group: Admin
            permissions:
    --- merged: Jan 29, 2011 9:44 AM ---
    OK but when you open the permissions folder in the plugins folder, is that where your config.yml that your are working on is?
    --- merged: Jan 29, 2011 9:47 AM ---
    @achmed OK let's start with this, this is your choice but you are using 3 plugins that Essentials will replace, General, MyWArp, and MyHome. You have 2 MyWarp.jars in your plugin folder which doesnt help anything , and I need verification that the config.yml is in the Permissions folder which is in the plugins folder.
     
  29. Offline

    achmed

    Yes my config.Yml file is in the permissions folder.
     
  30. Offline

    chill1977

    You need to get rid of General if you are going to use Essentials, they do the same thing.

    Essentials does not have capitals in it's permission nodes.

    Here is the code.

    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'
                - 'essentials.set-home'
                - 'essentials.home'
                - 'essentials.playerlist'
                - 'general.help'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'essentials.kit'
                - 'essentials.warp'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.item'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'iConomy.*'
                - 'essentials.setwarp'
        Admins:
            default: false
            info:
                prefix: '&8'
                suffix: '&4'
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Avatre_Scythe:
            group: Admins
            permissions:
        sk89q:
            group: Default
            permissions:
                - 'general.time'
        exodus121:
            group: Admins
            permissions:
        SIGfigures:
            group: Default
            permissions:
    --- merged: Jan 29, 2011 9:58 AM ---
    And it is still saying that it isnt finding/ loading permissions?

    I have gotten everyone working fine all day today, something in your file hierarchy is incorrect if it isnt loading permissions, that is the only reason I have had for it not to load or give a specific error. If it was trying to load it from the correct place it would have a different error like a line error. It simply isnt finding the permissions.yml because it isnt in the correct place somehow.
     
  31. Offline

    achmed

    So...
    can you help me with the problem?
     
Thread Status:
Not open for further replies.

Share This Page