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

    averad

    It says use permissions -reload all

    Error output:
    Code:
    2011-02-28 01:47:18 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v2.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:362)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:347)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at com.nijiko.permissions.Control.permission(Control.java:286)
            at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:176)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
            ... 6 more
    
    world.yml
    http://pastebin.com/H7Lr6DC7

    It acts like it is pulling the config file from some backup as new players are not recognized on server restart but old players have there status.
     
  3. Offline

    tension69

    Is your world called 'world'?

    As to the command throwing hissy fits you'll have to wait for TheYeti to respond:oops:
     
  4. Offline

    averad

    yes our default world is named world.

    Edit: Renamed world and received same error

    CB440 Permissions 2.4

    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v2.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
            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.ClassCastException: java.lang.Integer cannot be cast to java.lang.String
            at com.nijiko.permissions.Control.load(Control.java:224)
            at com.nijiko.permissions.Control.forceLoadWorld(Control.java:118)
            at com.nijiko.permissions.Control.reload(Control.java:77)
            at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:177)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
            ... 12 more
    
    
    It has to be something in my .yml file
    http://pastebin.com/51XDV80v

    Edit: Used YML parser to check my yml config file for any null objects and removed them.
    http://pastebin.com/E5Ame4uh

    Same error
    http://pastebin.com/51XDV80v
     
  5. Offline

    Tobbi

    HELP! ive got this wierd error....it works fine untill some1 logs in...then it spams like random errors like [SERVERE] snakeyaml and niuijikun.pressions and redstonetorch.block and essentials.earth2me plzzz help!!!
     
  6. Offline

    Zerco

    Problem is you're forcing Admin to inherit Default ( Admin group should not inherit anything really and should have '*' for permission) and then on top of giving Admin 'essentials.*' and because of Default having an essential permission, the two conflict and the Admins permissions get nullified.
     
  7. Offline

    Moe041991

    so is 2.1 not working anymore?
    iam not sure what to use now, in order to run iconomy.
     
  8. Offline

    jeddeliso

    NVM! i got my permissions working, but yea, i dont like the fact i cant change players' group ingame...

    which one do you prefer, Permissions v2.4 or GroupManager?
     
  9. Offline

    fffizzz

    Any chance this could be fixed?
    Code:
    07:01:35 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'permissions' in plugin Permissions v2.4
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:183)
            at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:381)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:366)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
            at com.nijiko.permissions.Control.permission(Control.java:286)
            at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:187)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
            ... 6 more
    
    this is trying to reload permissions from console. permissions 2.4, CB 447
     
  10. Offline

    strupan

  11. Offline

    Stig Engfdal

    Hello, ive got some issues with this plugin , cant get it to work properly, im using the newest version of bukkit

    When writing /permissions for example i get: an Internal error accoured while attempting to perform this command

    and also alot of errors in the server . is there any way to fix this?
     
  12. Offline

    RaymanMaik

    Sorry, but I don't understand you (I'm german). Do you mean my config (real.yml)? I took my old file from permissions 2.0 and renamed the map to real and the config.yml too
     
  13. Offline

    aehoooo

    I just dont get it. Ok, before niji was a little away, and things got screwd, but now yeti took his work here, and anjocaido the other group thingy. Why the hell you guys are still split?

    I meam, having 2 diferent permission plugin is no good. Things are much harder now, and devs are starting to not use permissions at all.

    Why not merge both plugins? Permissions is awsome, but dont have ingame modification, Groupmanger is incredible, but dont have 2.1 suport. At some point, both will be fixed, and we will have 2 plugins that does exactly the same, but with diferent suport. Why not merge it, the development would be faster, we wouldnt have this silly plugin war filled with trolls and hatters, the incompatibility of plugins would be greatly reduced.

    Please guys, just think about it.
     
    anon likes this.
  14. Offline

    riuthamus

    The guy has a point, not that you or the other developer will listen. It sucks that bukkit team still hasnt done default permissions... its really hurting the development of plugins.
     
  15. Offline

    thernztrom

    Im also using the latest craftbukkit(i believe, installed 3days ago, and I'm on a dedicated server host) and this plugin is half-working for me. I installed the old Permission plugin first, but it never worked. Then a pal said this version would probably work so I downloaded and put this in plugin dirr.
    Now i wrote everything in config which is renamed to world name: http://pastebin.com/uDLMFyZ2

    First when I joined as admin, and commands showed I thougt everything worked, but when i logged in as a guest I had nearly all rights as the admins (e.g.kick, ban, unban, setspawn, but not /up)
    Then I thouht I'd install LWC, so I put it in plguins folder, restarted server and went on, tested /lwc and nothing happened. Then as you see in my config file I added lwc.protect to Members and above, then when I join as a guest I can fully use the /lwc command.
    Also I get these weird internal message errors when I type /permissions as Stig above.

    Now what is wrong here? It knows I'm admin when i join, but why does it let everyone below admin to use commads that are for higher ranks then themselves?
     
  16. Offline

    Jandalf

    corrected perm file: http://pastebin.com/upS6KPD3
    sure u renamed the config.yml to WORLDNAME.yml?
    --- merged: Feb 28, 2011 3:18 PM ---
    make a conversation with me so we could talk in german.
    --- merged: Feb 28, 2011 3:19 PM ---
    copy ur permission file and server log error to pastbin.com
    --- merged: Feb 28, 2011 3:21 PM ---
    yes u need the general plugin, but dont use the DL in the OP its outdated, on the last page is an working unofficial version
     
  17. Offline

    JamieOwns

    Ok, permissions loads fine (Starts and stops succesfully). The only problem is it doesn't recognise me as an admin/owner.

    http://pastebin.com/3EBxDWP3

    Above is my config file (world.yml).

    Any help would be greatly appreciated.
     
  18. Offline

    thernztrom

    Yes thank you! Now it works like a charm! [​IMG]
     
  19. Hey how can i change the group from players without a reload?
    P.S. iam using essentials
     
  20. Offline

    LithOx

    Hi all !

    I have a question about the name of the configuration file.

    My world is saved in this directory :

    Code:
    /maps/world 


    In my server.properties I have write :

    Code:
    level-name=/maps/world 


    If I rename my config file 'world.yml' the plugin doesn't works properly.
    So I need to rename the file 'maps_world.yml' ? Or maybe anything else ?
    I can't used '/' characters for rename the file :/


    I have no error in my log and I'm using craftbukkit V440.

    Thanks for your help !
     
  21. Offline

    averad

    I corrected that in the second postbin

    Edit: Used YML parser to check my yml config file for any null objects and removed them.
    http://pastebin.com/E5Ame4uh


    I still receive the same errors even when the inheritance is removed.
     
  22. Offline

    Jandalf

    http://pastebin.com/wFWai60e i corrected it for u, u missed some '
    --- merged: Feb 28, 2011 5:16 PM ---
    u must change it in the permission file and then type /permissions -reload all
    --- merged: Feb 28, 2011 5:19 PM ---
    i dont know if this is supported
    (Yeti this is for u)
     
  23. i said without a reload... like /mod PLAYER GROUP
     
  24. Offline

    Jandalf

    Samkio likes this.
  25. Offline

    Nineza

    Raph, do you mean like...
    You want to make user 'A' to be a VIP, rather than a regular user.
    So you say something like
    /changegroup A VIP

    ?
    If so, I don't think there is a way. Maybe it'll be added later. =D
     
  26. Offline

    Chesley

    1 giant fail it doesnt work on anything
    i only get 600 errors
     
  27. Offline

    Jandalf

    ok, whats the error?
    could u copy your server log and your permissions file to pastebin.com?
     
  28. Offline

    Chesley

    The only thing i want is: "to download an plugin once and that it works" not "download a plugin with 20 more to get it to work its SOO frustrating i cant even get groups on my server since 1.3"
     
  29. Offline

    Jandalf

    ok, but it isnt as easy but it isnt so complicated and everybody could help u, but when u whant something like "download and working" then go to minecraft.net and download the server there. it has a whitelist and operator support. when u want really cool and big things u must invest time.
     
  30. Offline

    Chesley

    yes i know but look: "i want plugins (its way cooler)"

    everybody is like: "This plugin is the best out there"

    and when i download and i run it it says "error /permissions -reload all doesnt work with 1.4

    and the only thing to get it to work is WITH the command
     
  31. Offline

    TheYeti

    @Lith0x Try creating a folder named maps inside of your Permissions folder and then put the world.yml inside of Permissions/maps/ I need to look at how the code tries to look for config files and see if it will descend into directories.
     
Thread Status:
Not open for further replies.

Share This Page