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

    Tobbi

    HELP! when i start my server everything works but when somebody logs on my cmd spams with a wierd error, i think it has something to do with my users thingy....here it is, is something wrong?
    users:
    tobbismile:
    group: Admin
    permissions:
    sebahan:
    group: Admin
    permissions:
    unhaven:
    group: Mod
    permissions:
    theteadog:
    group: AdvWorker
    permissions:
    thesimm:
    group: Worker
    permissions:
    sparky1779:
    group: Worker
    permissions:
    tarro35:
    group: Worker
    permissions:
    vfitzy:
    group: V
    permissions:
    vliam:
    group: V
    permissions:
    vryan_:
    group:V
    permissions:
     
  3. Offline

    Jandalf

    1. copy ur config to pastebin.com
    2. copy ur error from the serverlog to here (in code tags)
     
  4. Offline

    Lite

    Is it possible to define global permissions, that are used in all created worlds?
    If not, could you please add that feature?
     
  5. Offline

    Jandalf

    there is the copies option at the beginning of the yml
     
  6. Offline

    Jaspah

    Does this not work with CraftBukkit 473?
     
  7. Offline

    Tobbi

    this error spams and i wasnt able to photo tho whole error..... here is my config... http://pastebin.com/khqZqLaa
     

    Attached Files:

  8. Offline

    Jandalf

  9. Offline

    danman

    omg, really, that did it? thankyou soo much, cant beleive that would mess it up...
     
  10. Offline

    Jandalf

  11. Offline

    Cerberus12

  12. Does anyone have a working mirror of permissions 2.0?
     
  13. Offline

    ChrisX930

    I',m use Permissions 2.4 and I've a error with MyWarp/MyHome
    I've got this error when the world.yml is inserted and when I log me in:
    And this, when I use commands like /warp
    I'm using Permissions 2.4

    I've uploaded my world.yml in this zip-file.
     

    Attached Files:

  14. Offline

    pa1n

    I too want a copy of version 2.0 in which it worked flawlessly.
     
  15. Offline

    Jaspah

    I can't get this to work with WorldEdit. I'm using whatever the current Bukkit Recommended snapshot is.

    Code:
    2011-02-27 12:56:02 [INFO] [Permissions] version [2.4] (Phoenix) was Initialized.
    2011-02-27 12:56:02 [INFO] [Permissions] version [2.4] (Phoenix)  loaded
    2011-02-27 12:56:02 [INFO] WorldEdit 4.0-beta4 enabled.
    2011-02-27 12:56:02 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    I've set my world name to "main" and changed the YML file to "main.yml" as well. I'm attempting to restrict WorldEdit use to a certain group, but I'm still able to use the commands even if I don't even list myself in the Permissions configuration file.

    I also tried negating any WorldEdit commands using the hyphen prefix, but that doesn't work either.

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
              - '-worldedit*'
        WorldEdit:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
               - 'worldedit*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - WorldEdit
            permissions:
                - '*'
    
    ##
    ##
    users:
        Jaspah:
            group: Default
            permissions:
    
    What gives?
     
  16. Offline

    Andreas Brisner

    Have anyone gotten this?
    >permissions -reload world
    19:09:39 [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:177)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:375)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:360)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:266)
    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
     
  17. Offline

    TheYeti

    Andreas, yes. That is a known bug that I am working on. I need to make changes to the reload structure that I didn't catch when I moved it from onPlayerCommand to onCommand. I am working on that change now.

    Jaspah, do not have your admin group inheriting anything from other groups. It will cause problems. I realize there was a problem with the config file I included and that will be changed on the next update.

    For whomever was trying to use a permissions node of '/permissions -reload all' don't do that. Just use the permissions node of 'permissions.reload' or '*' if it's an admin. There is also a bug with that command that can occasionally pop up that I am working on fixing.

    As far as what CraftBukkit build this will work with it should work with 432+. I will double check that it is true, adjust the title, and make any changes to to the plugin I need to make sure that is true.
     
  18. Offline

    Thanks4trying

    lol it say no premissions found... really
    yeah it doesn't load the plugins. it says Premissions can not be found

    *EDIT*-never mind i fixed it.
     
  19. Offline

    Braden1996

    Im sure any ideas
     
  20. Offline

    Tobbi

  21. Offline

    Jaspah

    I'm sure this was a silly mistake, but I figured out that if you're added to the ops.txt file you inherit WorldEdit permissions automatically.

    The problem is, there are some people I want with Operator status so that they may spawn items or kick players, but I do not want them using WorldEdit. And if I'm set to the Admin group, but not listed on ops.txt, I cannot use any Operator commands. Are there any plugins that use the Permissions API that will allow me to give certain groups these permissions without adding anyone to the ops.txt file?

    e.g.

    A trusted group would get /give and /kick but would not be allowed use of WorldEdit
     
  22. Offline

    ChrisX930

    I',m use Permissions 2.4 and I've a error with MyWarp/MyHome
    I've got this error when the world.yml is inserted and when I log me in:
    And this, when I use commands like /warp
    I'm using Permissions 2.4

    I've uploaded my world.yml in this zip-file.

    Here's my world.yml
    http://pastebin.com/vW3xuEaV
     
  23. Offline

    ShadowDrakken

    Just a heads up for everyone. If you're having problems with Permissions not working, but not getting any errors either... It's an easy fix!

    Permissions has a bug with overloading, and TheYeti accidently made his default config file overload. Make sure Admin is NOT inheriting anything, and make sure you don't re-add permissions to any group that already has them via inheritance.
     
    tension69 likes this.
  24. Offline

    cloudstrife0257

    ERRORS! I don't know where they came from, didn't modify anything:
    Code:
    2011-02-27 11:57:50 [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 net.minecraft.server.MinecraftServer.e(MinecraftServer.java:187)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:174)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:120)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:227)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
        ... 8 more
    Caused by: java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.setDefaultWorld(Ljava/lang/String;)V
        at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:107)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:79)
        ... 13 more
    
     
  25. Offline

    Crash

    I can't get any permission to work.. it keeps saying I don't have permission to do anything.
    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            permissions:
              - '*'
     
  26. Offline

    ShadowDrakken

    read 2 posts above yours
     
    Jandalf likes this.
  27. Offline

    Crash

    That wasn't my problem I just figured it out finally.
    I still had it as config.yml from the other version.
     
  28. Offline

    ShadowDrakken

    hrm, looks like it's choking on strings with non ANSI characters... are you saving the config as UTF-8 by mistake, or are you naming worlds with characters other than a-z A-Z 0-9 ()[]. - and _ ?
    --- merged: Feb 27, 2011 7:07 PM ---
    ah ok XD
     
  29. Offline

    1994mat

    NOT WORKING GOD DAMN :|
    I have had ALOT of troubles with this plugin, I liked the hmod system more then this!
    Nothing noticeable ingame, No errors and succesfully intialized, world is named world & the .yml is called
    world.yml

    HALP?
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: 'HAX'
                suffix: ''
                build: false
            inheritance:
            permissions:
        Admins:
            default: false
            info:
                prefix: 'ADMIN'
                suffix: ''
                build: true
            inheritance:
            permissions:
    users:
        Powerkip:
            group: Default
            permissions:
        1994mat:
            group: Admins
            permissions:
    
     
  30. Offline

    RaymanMaik

    I think almost everyone get this error at starting up the server:
    Code:
    Could not load plugins/Permissions.jar in plugins:null
    [...]
    
    Yeti, please give an answer and try to fix that!
     
  31. Offline

    Jandalf

    ok its alright wats the problem, what expect u to happen?
     
Thread Status:
Not open for further replies.

Share This Page