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

    Celtic Minstrel

    You can't; /list is a vanilla Minecraft command which doesn't support permissions.
     
  3. Offline

    andrewkm

    same question..... 600?
     
  4. Offline

    Itssnowing

    556?
     
  5. Offline

    andrewkm

    Code:
    2011-03-29 21:57:56 [INFO] [Permissions] version [2.5.4] (Phoenix) was Initialized.
    2011-03-29 21:57:56 [INFO] [Permissions] version [2.5.4] (Phoenix)  loaded
    2011-03-29 21:57:56 [SEVERE] BLOCK_PLACED loading Permissions v2.5.4 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_PLACED
        at com.nijikokun.bukkit.Permissions.Permissions.onEnable(Permissions.java:153)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
        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)
     
  6. Offline

    Thorned Rose

    KimBa, is it that you've assigned the user KimAnd to the group 'Admin', instead of 'Admins'?
     
  7. Offline

    Itssnowing

    what version of Bukkit? I think people usually get this when they're running a more recent version of bukkit. (Use 556.)
     
  8. Offline

    chikinexe

    the permissions file doesnt work with mine can anyone tell me whats wrong with it

    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.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # 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:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        jklug:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.chat'
                - 'essentials.eco'
                - 'essentials.tele'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.help'
        Fagtron 5000:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.help'
        palz:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.chat'
                - 'essentials.eco'
                - 'essentials.tele'
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.help'
        Chuck Norris:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator 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 can also have a prefix and suffix as seen with Herpina
    ##
    users:
        chikinexe:
            group: Chuck Norris
            permissions:
        ssbbpal:
            group: palz
            permissions:
        creeperbob:
            group: jklug
            permissions:
     
  9. Offline

    Itssnowing

    I can't see any problems. What's the file called?
     
  10. Offline

    chikinexe

    world3 and its in yml format
     
  11. Offline

    andrewkm

    your new download link still gives me version 2.5.4

    Code:
    2011-03-29 22:40:33 [INFO] [Permissions] version [2.5.4] (Phoenix) was Initialized.
    2011-03-29 22:40:33 [INFO] [Permissions] version [2.5.4] (Phoenix)  loaded
    2011-03-29 22:40:33 [SEVERE] BLOCK_PLACED loading Permissions v2.5.4 (Is it up to date?)
    java.lang.NoSuchFieldError: BLOCK_PLACED
        at com.nijikokun.bukkit.Permissions.Permissions.onEnable(Permissions.java:153)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:511)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:93)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:71)
        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)
    Can someone link me to version 2.5.5 of permissions

    yeah just checked the file sizes for 2.5.4 and 2.5.5 they are exactly the same...
    i think u didnt upload right one.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  12. Offline

    Decree

    is there a reason when i load 2.5.5 and start the server it comes up as 2.5.4 and immediately fails?
     
  13. Offline

    nala3

    yeah hes done gone and uploaded 2.5.4 on accident i guess, ohh well mistakes happen
     
  14. Offline

    andrewkm

    yeah i checked file sizes... he uploaded 2.5.4, we just gotta wait till hes back online.
     
  15. Offline

    Itssnowing

    That's weird ._.
    Just checking, you're world is called world3, right?
     
  16. Offline

    aPunch

    2.5.5 has been uploaded already. I have it up and working on my server (although it still lists says v2.5.4 when starting up the server).
     
  17. Offline

    Itssnowing

    If it says 2.5.4, how do you know it's 2.5.5?
     
  18. Offline

    chikinexe

    ya my world is called world3
     
  19. Offline

    andrewkm

    no it hasnt
    download both 2.5.4 and 2.5.5 and check exact file sizes to the BYTES
    they are identical...thus being the exact same file.

    Nevermind just rechecked file sizes
    looks like it was fixed....
    developer uploaded the correct one now :)

    Console also shows 2.5.5 now as well :)
    Thanks!!!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  20. Offline

    aPunch

    Check the thread title.
     
  21. Offline

    Toasty

    I don't know if this has been suggested before, but it would be nice to have two options for the copy tag at the top of the config file:
    copy-groups and copy-users.

    That way you can change the group permissions on a per-world basis, but keep all the user entries. Would be very helpful for me. It's basically the only thing keeping me on GroupManager, which hasn't been updated in forever.
     
  22. Offline

    andrewkm

    what a dumb answer
    ....
    thread title was 2.5.5 and plugin being available for download thru the 2.5.5 link was 2.5.4
    which is what he meant..it wasnt uploaded properly at first

    now its fixed.... lol
     
  23. Offline

    Itssnowing

    This is what I meant. Just without calling someone dumb :p
     
  24. Offline

    cengbrecht

    A useless answer is a useless answer, either way, its up to date now, and all is well! :)
     
  25. Offline

    Itssnowing

    It's not useless, I was confirming what he said about the meaning of my question.
     
    cengbrecht likes this.
  26. Offline

    Celtic Minstrel

    What exactly does this mean?
    Code:
    00:50:25 [INFO] Invalid config file found and converted to proper name/format.
    EDIT: Discovered what it means, but it's being shown erroneously.
     
  27. Offline

    Daniel Heppner

    I'm so sorry about your hand, Yeti. It's really too bad.
     
  28. Offline

    thorncrown

    Hey guys,
    I wanna know how I can give a Player permissions to use the WorldGuard region commands!
    What are the parameters for eg. "/region addmember"?

    Please help :(
     
  29. Offline

    Celtic Minstrel

    You're not even using Permissions. You're using GroupManager. Try posting in their thread.
     
  30. Offline

    Joel Robison

    TheYeti,

    You have done a simply awesome job on this plugin! I hope that the Docs can figure out the condition with your arm and that it gets resolved, ive had similar issues and it really sucks to be a coder and only the use of one hand.

    Regards,

    -Joel
     
  31. Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7[Guest]'
                suffix:
                build: true
            inheritance: 
            permissions:
                - 'general.spawn'
        Builder:
            default: false
            info:
                prefix: '&6[Builder]'
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                    - 'general.time'
                    - 'general.teleport'
                    - 'general.teleport.here'
                    - 'general.player-info'
        Admin:
            default: false
            info:
                prefix: '&1[Admin]'
                suffix:
                build: true
            inheritance:
            permissions:
                    - '*'
        Boss:
            default: false
            info:
                prefix: '&4[Owner]'
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
        Schnuffi:
            default: false
            info:
                prefix: '&d[Schnuffi]'
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        Alphagun:
            group: Boss
            permissions:
        RidaWoop:
            group: Schnuffi
            permissions:
        Philippshome:
            group: Admin
            permissions:
        Meteor_Phoenix:
            group: Builder
            permissions:
        lulu297:
            group: Builder
            permissions:
        darkgrave:
            group: Admins
            permissions:
        darkgrave:
            group: Admins
            permissions:
        darkgrave:
            group: Admins
            permissions:
        darkgrave:
            group: Admins
            permissions:
        darkgrave:
            group: Admins
            permissions:
        darkgrave:
            group: Admins
            permissions:

    still does not work =(
     
Thread Status:
Not open for further replies.

Share This Page