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

    ShadowDrakken

    The only way to use both, is to use Group Manager with FakePermissions, which is GM's own wrapper that emulates Permissions 2.0
     
  3. Offline

    cjc343

    I do not believe it is possible to run both. I have not tested.

    WG and WE always report it is missing at first, but hook in later -- are you sure this isn't happening?

    If it's not, it's likely that Permissions is not correctly initializing.
     
  4. Offline

    DierWolf

    take a look at the error, go on notepad ++ go to the line 44 cloumn 13, its one of your permissions. you have it put to
    'general.spawn.*' .... the * is ment to allow all of general, so if thats what you want then do 'general.*' take spawn out, or if you want just general.spawn take out the *....

    EDIT: thatit for the first error, not sure about the second
     
  5. Offline

    Monkah

    Hey, could you make a version of this mod with a hey0 style groups?

    For example, instead of:

    Username:
    Group:
    Premissons:

    Username:Group:premissions

    This would be helpful because I'm moving a giant server from Hey0 to Bukkit and I can't change EVERY username to the new format without screaming in agony.

    Also, could you add color for groups?
     
  6. Offline

    demonspork

    I run a server that we are trying to migrate everything to MySQL so that we could build a centralized management system (a php web page) for administrating as many things on the server as possible. If this plugin could provide a way to store the user information in a MySQL database it would make our server run so much more smoothly. We are near the point of building our own that can do that - which would be made so much easier if we had your source to modify to fit this purpose.
     
  7. Offline

    Phreebird

    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'
                - 'lwc.protect'
                - 'mywarp.warp.*'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.use'
                - 'iConomyChestShop.shop.sell'
        Moderator:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'lwc.mod'
        Admins:
            default: false
            info:
                prefix: 
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'lwc.admin'
                - 'general.spawn.set'
                - 'mywarp.*'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Phreebird:
            group: Admins
            permissions:
                - '*'
        Lazytree:
            group: Admins
            permissions:
                - '*'
    
    Nothing works. I have no permissions whatsoever.
     
  8. Offline

    ShadowDrakken

    @Phreebird on your Admins group you don't need the lwc.admin, general.spawn.set or mywarp.* since * already covers them... and on your users, they're already part of Admins so they don't need * again
    --- merged: Feb 25, 2011 1:59 AM ---
    Also, is the console showing any errors that might indicate Permissions is not loading correctly?
     
  9. Offline

    Jobsti

  10. Offline

    Phreebird

    It still wont allow me to use shops or warp.

    and nothing to show permissions did not load correctly.
     
  11. Offline

    Wolfwood

    I agree with this. I would love to have my server's permissions in a MySQL database it would it so nice for me to just query someone rather than searching all through the yaml flatfile. It's also be great if your released all of you source for all of your plugins so that the community can collectively work on them to make them better. Plus all bukkit related material should be open-source anyway.
     
  12. Offline

    Procrastination

    Someones been telling me that Permissions has been deprecated in favor for group manager?
     
  13. Offline

    TheYeti

    Therein lies the problem. A plugin is not bukkit related material. It is used by craftbukkit servers, but they are neither endorsed by nor created by the Bukkit team. Therefore they do not have to be OpenSource, that is entirely up to the plugin developer.

    @Phreebird What do you mean by "You have no permissions" Is it your users that do not have access to the commands or your admins. What version of Permissions are you using? Also, I am assuming based on the structure of your file that it's probably 2.0. That being said is the file named config.yml and inside of the plugins/Permissions/ folder? Are you getting any sort of error messages in the console when people try to use commands?

    @demonspork The source code was actually released. If you search for it it shouldn't be that hard to find the source for 2.1.

    @Procrastination GroupManager is another plugin that provides permissions. This plugin has not be deprecated in favor of anything. If you prefer that plugin then more power to you. This plugin is currently functional, it is just in a state of developer flux at the moment.
     
  14. So, please, can tell my any1, if Permissions PI will be with MySQL options?
     
  15. Offline

    Phreebird

    @TheYeti
    I'm using 2.1. No console errors. I dont have permissions to make shops or warp even though those are on deafult.
    and yes the config file is in the permissions folder.
     
  16. Offline

    N3X15

    No permissions for anyone. Not even admins. Prefixes don't work, either.
    Permissions 2.1, Craftbukkit 432.

    world.yml: http://pastebin.com/JREF2RtP (yaml parser doesn't throw any errors).
    Code:
    minecraft@mine:~/minecraft/plugins$ cp ../world.yml Permissions/config.yml
    minecraft@mine:~/minecraft/plugins$ cp ../world.yml ../config.yml
    
    No errors thrown during startup.
     
  17. Offline

    Jobsti

    @N3X15
    Read the topic!

    Change the filname from config.yml to yourworldname.yml
     
  18. Offline

    monir

    how can i set this commands in permission so everybody gets kit?
    'kit' (or 'kit.kit') required to access the command itself
    'kit.reload' required to reload the configuration
    'kit.<name of kit>' required to get a specific kit (use lowercase!)

    here is the permissions:
    groups:
    Default:
    default: true
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    permissions:
    - 'general.spawn'
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Moderator:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Default
    permissions:
    - 'general.teleport'
    - 'general.teleport.here'
    - 'general.player-info'
    Admins:
    default: false
    info:
    prefix:
    suffix:
    build: true
    inheritance:
    - Moderator
    permissions:
    - '*'
     
  19. Offline

    Devon L Ferree

    @Jobsti
    nsx15 DID rename it to the name of his world.

     
  20. Offline

    N3X15

    Yeah, I've tried everything short of sacrificing a goat to the plugin gods. Niji even fucked with the perms and it's still not working.

    Guess I'm off to try GroupManager.
     
    SirMustachio likes this.
  21. Offline

    Devon L Ferree

    @NSX15
    You need to change your worlds name.
    Nij says in the config file that it doesn't work with the default world name.
     
  22. Offline

    N3X15

    This fixed it, oddly enough.
     
  23. Offline

    Devon L Ferree

    I know right?
    But I think I know why though.
    Permissions 2.1 uses java variable to associate a config file with its world, and there is already a "world" sub-variable of what ever Nij set as the base variable.
     
  24. Offline

    skatez105

    hey is there a way to use the general plugin. and make permissions let some users spawn some items. if so what would be the code for it?would it be something like this:
    - 'general.items.213' ?
     
  25. Offline

    N3X15

    Check the General docs.
     
  26. Offline

    IncendiaDrakon

    I don't think it does. It sets permission to use commands, not what the command does, if you get what I mean.
     
  27. Offline

    Thenaz

    Please Please Please go back to the old hmod format im realy confused with this new one (I know Im a noob).
    Are you even able to add a prefix and change color?
     
  28. Offline

    IncendiaDrakon

    It's possible. Download iChat and read the documentation for both Permissions and iChat to figure it out.
     
  29. Offline

    Thenaz

    Also does this work with istick?
     
  30. Offline

    Nathan C

    My god! ichat and permissions = hmod colors and groups.

    Erm, and you don't have to change EVERY user name. You just change the groups.
     
  31. Offline

    UnoOwner

    Hi,

    Im having a little trouble with the permissions and essentials plugins. Im helping port a server from hmod to bukkit. All admins/ops have full abilities and everything is good, but default users cannot use anything! Help,tp, etc is denied.

    http://pastebin.com/6BbeMbM4 Is our permission config file.

    Thank you very much,
    Zaw
     
Thread Status:
Not open for further replies.

Share This Page