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

    prefixes and suffixes aren't used by Permissions, Permissions just passes them to other plugins if they ask for them (iChat for instance)
     
  3. Offline

    Nodren


    Changing the namespace is causing lots of issues. It isn't against bukkit policy to have "bukkit" in the namespace, rather it's against their policy to make it com.bukkit, org.bukkit, net.bukkit, etc.



    Given that the proper way to utilize Permissions is to Import the Permissions class(via the namespace) and cast a JavaPlugin to Permissions. your namespace change is breaking the plugin for everyone, and also providing no upgrade path for people who are using plugins that support the older version of permissions.



    I strongly suggest you revert that particular change.
     
  4. Offline

    Springrolls

    Okay... now permissions isnt loading for me...
    permissions v2.4
    cb build 452
     
  5. Offline

    ShadowDrakken

    and as of today, all new recommended builds are going to reject your namespace if it has bukkit in it
     
  6. Offline

    sza22

    i get this error when starting Permissions 2.4:

    please fix this!
     
  7. Offline

    Springrolls

    Permissions not working..
    cb 452
    permissions 2.4
     
  8. Offline

    Daveyo

    wow is niji a girl or guy i think we all really care, also on an unrelated and less important note, does this plugin work as a replacement for 2.1 2.0 or group manager
     
    garglebutt likes this.
  9. Offline

    ShadowDrakken

    Latest recommended build is 440, this is the one plugins are being built against. 450 broke a bunch of plugins because the API changed, that's why there's recommended builds. You may still be having a problem given there's many others having problems as well, but the first step is to roll back to a recommended build to see if that resolves it.
     
  10. Offline

    Vorter

    Using /permissions -reload all just brings the help info back up...
     
  11. Offline

    TheYeti

    Yea, I don't think I tested it enough last night. It didn't help I shouldn't be pushing changes to something when it's like 3am and I'm tired. I am actually reverting that change. I'm sorry about that, I really don't know what I was thinking as the change wasn't needed but for some reason I convinced myself that the namespace was flipped around and was actually com.bukkit.nijikokoun.Permissions instead of the way it is.

    Anyway, redownload 2.4 and everything should be fixed.
     
  12. Offline

    ShadowDrakken

    ok, apparently it's official now
     
  13. Offline

    Springrolls

    Permissions still doesnt work..
    cb 440
    permissions 2.4
     
  14. Offline

    ShadowDrakken

    any error messages? if the same ones others have posted, I think TheYeti is working on that fix right now
     
  15. Offline

    Springrolls

    No error messages with permissions.. seems to not load..
     
  16. Offline

    TheYeti

    @Springrolls In your console you should see the following two lines
    Code:
    2011-02-26 09:21:58 [INFO] [Permissions] version [2.4] (Phoenix) was Initialized.
    2011-02-26 09:21:58 [INFO] [Permissions] version [2.4] (Phoenix)  loaded
    Those denote that Permissions was actually initialized and then loaded. If you are not getting that then you are correct and Permissions is not loading and you need to make sure that the jar file is in your plugins directory. If you are getting that but getting some sort of error message then please post it.

    Unless I just completely missed something in my testing, the bridge should no longer be needed as of 2.3.

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

    Springrolls

    It doesnt say Permissions was initialized/loaded Permissions.jar is in the plugins folder.. No error messages
     
  18. Offline

    Antoine Pintout

    Hello TheYeti,

    Can you give a sample configuration file ? Because I had Permissions v2.0 and his config.yml don't work with v 2.4 =/

    Thank you for your job [​IMG]

    Léon (I'm french ^.^)
     
  19. Offline

    TheYeti

    I won't hold you being french against you. In fact here is a config file that I use on my test server: http://pastebin.com/Fq411Wgu Sorry about it being so sparce but I have to change commands and stuff so often in it for testing things that it doesn't do to have a huge file.

    That............doesn't make sense. Honestly, it really doesn't. If it's in the plugins/ folder then it should load.

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

    Antoine Pintout

  21. Offline

    Springrolls

    Strange... it doesnt :(
     
  22. Offline

    TheYeti

    Your directory structure looks like this right? <bukkit directory>/plugins/Permissions.jar and <bukkit directory>/plugins/Permissions/
     
  23. Offline

    bevso

    ok all i want to know is does this work, yes or no?
     
  24. Offline

    Springrolls

    Yes it does Yeti
     
  25. Offline

    Jandalf

    yes it does (for me)
     
  26. uhhmm i didn't know the original guy discontinued this ohh well at least we have you thx man don't give it up cant live with out it
     
  27. Offline

    bevso

    well its gay that when you do /mod ingame it says perms is discontinued and all that shit WHEN I AM CLEARLY USING IT and it says use groupmanager, HEY BUKKIT I DONT WANT TO CAUSE I GOTTA RESET ALL THE RANKS IN MY GAME AND TRUST ME I AINT CAUSE THERE ARE LOADS!!!!!!!
     
  28. Offline

    Jandalf

    ok calm down write in normal letters and specify ur problems and give more infos...
     
  29. Offline

    Springrolls

    OKAY!!!
    I FOUND AN ERROR WITH PERMISSIONS( ithink)

    2011-02-26 11:35:40 [SEVERE] Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:85)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:58)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:198)
    at com.earth2me.essentials.commands.Commandreloadall.run(Commandreloadall.java:27)
    at com.earth2me.essentials.commands.EssentialsCommand.run(EssentialsCommand.java:42)
    at com.earth2me.essentials.Essentials.onCommand(Essentials.java:539)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:638)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:601)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:595)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:72)
    ... 20 more
     
  30. Offline

    bevso

    well basically i cant be asked to keep going to ftp to change peoples ranks so i use /mod in game but with perms it says well type it for yourself and you will understand
     
  31. Offline

    TheYeti

    @bevso - That is because Essentials has discontinued support of Permissions. You either have to use Permissions 2.0 and an older version of Essentials from before they discontinued it or switch to GroupManager. I really wish they wouldn't do such arbitrary crap but unfortunately they did.

    @Springrolls - You may have the broken version of 2.4 it sounds like. Redownload 2.4 and try it then. I did something stupid and had broken everything temporarily.
     
Thread Status:
Not open for further replies.

Share This Page