Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 2.7.4
      • Added overload of has() and permissions() for plugin devs
    • 2.7.3
      • Fixed negate node add/remove bug.
    • 2.7.2
      • Fix for small subtle bug introduced in last minor version.
    • 2.7.1
      • Commit by DThielke to fix several bugs with programmatic modifications of user permissions.
    • 2.7
      • Further commits by rcjrrjcr
        • Removed negatedNode checks
        • Temp fix for NULL issue
        • WorldConfigurationModification to save only modified configs
        • Fix for cache problems
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    ShadowDrakken

    @Meteo are you using the official iMonster 1.7, or the unofficial fixed version?
    check the iMonster thread near the last few pages, there's a link for the unofficial fix for iMonster
     
  3. Offline

    Pierate

    Does anyone know how to setup multi-world permissions? The instructions from the yml files don't seem to help me.
     
  4. Offline

    Meteo

    Thank you Shadow! But, truth be told, all i did was take it out, atm the fix doesnt work for me, cuase it jsut got teh same error :[
     
  5. Offline

    ShadowDrakken

    which iConomy version? iMonster is only friendly with 2.2b... half afraid ZeroDPS has abandoned us XD
     
  6. Offline

    Will rose

    I know i sound dumb when asking this but what does this do and what is the reason to use this?
    All i could tell it does is support groups? And what can you do with groups?
     
  7. Offline

    ShadowDrakken

    Permissions allows you to control which players can use which commands, and which commands to block players from using
     
  8. Offline

    Alex4921

    My config.yml is not working,default cannot /help even though i said they can in here.
    Code:
    groups:
    Default:
    default: true
    info:
    build: true
    permissions:
    - 'essentials.signs.free.use'
    - 'essentials.signs.disposal.use'
    - 'essentials.signs.heal.use'
    - 'essentials.depth'
    - 'essentials.getpos'
    - 'essentials.compass'
    - 'essentials.msg'
    - 'essentials.afk'
    - 'essentials.rules'
    - 'essentials.motd'
    - 'essentials.me'
    - 'essentials.list'
    - 'essentials.mail.send'
    - 'essentials.helpop'
    - 'essentials.whois'
    - 'essentials.help'
    - 'essentials.home'
    - 'essentials.sethome'
    - 'essentials.spawn'
    - 'essentials.setspawn'
    - 'essentials.warp'
    - 'lwc.protect'
    
    Admins:
    default: false
    info:
    build: true
    inheritance:
    - Default
    permissions:
    - '*'
    
    Wassup?
     
  9. Offline

    ShadowDrakken

    YAML is EXTREMELY picky about indentation... you need to put the indentation back how it was originally (using spaces, not tabs... tabs are evil in YAML)
     
  10. Offline

    Alex4921

    How many spaces does it need before it.
    Any amount?
     
  11. Offline

    ShadowDrakken

    no, each tier in the hierarchy needs 4 spaces... rename the file and let the plugin regenerate the default, then compare
     
  12. Offline

    Alex4921

    Now my file is this and it wont work
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: 
                suffix:
                build: false
            inheritance: 
            permissions:
                - 'essentials.signs.free.use'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.setspawn'
                - 'essentials.warp'
                - 'lwc.protect'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    Did i do bad?
     
  13. Offline

    ShadowDrakken

    looks good...
    did you copy/paste the whole thing? It's missing the top portion before the groups in this snippet
     
  14. Offline

    Alex4921

    Yeah its not the whole thing.
    Whole this is:
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   Does not work for the default world.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   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:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'essentials.signs.free.use'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.spawn'
                - 'essentials.setspawn'
                - 'essentials.warp'
                - 'lwc.protect'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Admin:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    ##
    
     
  15. Offline

    Zerco

    Edit: Nvm
     
  16. Offline

    ShadowDrakken

    what console error does it throw?
     
  17. Offline

    Alex4921

    No console error but i fixed it,for some reason it was regenerating to default on every server boot.
    I fixed it by deleting,rebooting,then pasting over.
     
  18. Offline

    Jonbas

    Hey, i wonder if you can tell me if my world name is going to cause any conflicts? My world folder is in a sub-folder for backup reasons (not my choice, host's requirements) so my worldName in server is actually backup/world

    How would this work since you're now requiring the yml to be the name of the world?
     
  19. Offline

    gottie101

    My server is completely ignoring my world.yml file, could you check over it quickly and tell me if I have done anything wrong? I m running build 452 of craftbukkit and 2.4 of permissions. I am also using 2.1 for general.

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   Does not work for the default world.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    plugin:
        permissions:
            system: default
            copies:
    
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   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:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'general.teleport'
        Moderators:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
             permissions:
                - 'general.items'
                - 'general.spawn.*'
                - 'general.teleport.*'
                - 'general.player-info'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Default group but also has access
    # to the herp.derp permissions
    ##
    users:
        ToatsMyGoats:
            group: Admins
            permissions:
        a_stewart:
            group: Moderator
            permissions:
     
  20. Offline

    Strongit

    Works beautifully. I used the new yml file as a template and copied over my old settings using the proper syntax, then named the file after my world, and everything is running smoothly.

    I am using:
    Build 440
    Permissions 2.4
    General 2.1.1.1
    MyHome 1.9.1
    MyWarp 1.10.1
    LWC 1.57

    I would love to see you pick up the General plugin as well as it needs some updates and requires permissions to work.

    Awesome job, Yeti
     
  21. Offline

    Meteo

    .... For some reason, whenever i try to use a command from essentials, or anyother except for voxel, i get the error Not have permissions for this command................. help please??
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '-lwc.protect'
                - '-lwc -c private'
                - '-lwc -i'
                - '-iConomy.payment'
                - '-iConomy.rank'
                - '-iConomy.list'
                - '-iConomy.withdraw'
                - '-iConomy.deposit'
                - '-iConomy.reset'
                - '-repairshop.repair'
                - '-essentials.depth'
                - '-essentials.rules'
                - '-essentials.list'
                - '-essentials.tpa '
                - '-essentials.tpahere'
                - '-essentials.home'
                - '-essentials.sethome'
                - '-essentials.spawn'
                - '-essentials.motd'
                - '-essentials.help'
                - '-worldedit.region.stack'
                - '-iConomyChestShop.shop.use'
        Mod:
            default: false
            info:
                prefix: '[GM]'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix: '[Admin]'
                suffix: ''
                build: true
            inheritance:
                - Mod
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Default group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    ##
    users:
        meteostrike3:
            group: Admins
            permissions:
    This is my world.yml file btw, can anyone help? =/
     
  22. Offline

    anon

    Why not add those tons of cool commands to mod all the groups ingame as groupmanger has?
    I think that is the stronger think of that plugin, and a fault that this one has. A adition of those would be really apreciated.
     
  23. Offline

    turboderp

    Code:
    2011-02-27 00:59:58 [SEVERE] com/nijikokun/Permissions/Permissions (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijikokun/Permissions/Permissions
        at com.bukkit.techguard.izone.canDo.Setup(canDo.java:42)
        at com.bukkit.techguard.izone.iZone.onEnable(iZone.java:63)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:117)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:414)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:187)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:80)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.Permissions.Permissions
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
    Ugh, this is getting really annoying. I've been getting this error a lot, first it was plaguing me with iConomy, I deleted that and now I'm getting it for Permissions. -_- Help would be appreciated.
     
  24. Offline

    Mydnyte

    @ Meteo

    Your syntax is messed up.
    You have a hyphen (-) in the wrong place.

    should be:
    - 'essentials.spawn'
     
  25. Offline

    Glerikud

    I used Permissions 2.1 and then i had some errors. I thought i might give GroupManager a try. It worked just awesome (and still does). Is there anything that i should come back to Permissions 2.4?
     
  26. Offline

    TheYeti

    That is an extremely good and valid question. I will have to do some testing and see what it does. Looks like my ToDo list though for fixes just keeps getting bigger.
     
  27. Offline

    Meteo

    WOW THANK YOU SO MUCH :] Now my server is almsot all built XD
     
  28. Offline

    Komunity

    Hey when ever i try to add my name under Admins and restart the server, it still doesnt say that im an Admin and it doesnt let me use the commands, like it didnt even update. Please Help!
     
  29. Offline

    Jandalf

    put ur config file to -> pastebin.com
    and is ur yml file renamed to your world name?
     
  30. Offline

    Komunity

    http://pastebin.com/64NgRLPQ

    and yes my .yml file is the same name as my world.
     
  31. Offline

    Jandalf

    i correct one mistake under ur personal permission, but in this file u only have the right to use /permissions -reload all does this work?
     
Thread Status:
Not open for further replies.

Share This Page