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

    kaskull

  3. Offline

    cyberbobjr

    It seems that you have a tabulation space into your config file, have you check to do not use tab but space instead ?
     
  4. Offline

    kaskull

    Where you've seen the tabulation?
     
  5. Offline

    cyberbobjr

    In the error log :
    \t correspond to a tabulation (ascii).
    Regards
     
  6. Offline

    kaskull

    But this in my World.yml?
     
  7. Offline

    ignitus1

    How i can make me complete admin
    i have much Plugins they stand im no admin
    i have no permission but why
     
  8. Offline

    Tebbs

    Really? No one can help you if you don't speak proper English.
     
  9. Offline

    cyberbobjr

    I don't know, send me your world.yml.
    Regards
     
  10. Offline

    Matt L

    I love this plugin, but we NEED commands to add players from in-game. I cannot give out root ftp access to my admins to make changes to the .yml and I surely cannot be on 24/7. Is there any plan to implement the ability to add and modify permissions from in game?
     
  11. Offline

    Jandalf

  12. Offline

    nidefawl

    Why depreciating the getGroup(String player) ?
    Just wrap it to default, If you remove it, it will break 99,9999% of all plugins supporting Permissions groups
     
  13. Offline

    Fluff

    Needs less Anti-Build. Having the two plugins separated was a good idea.
     
    jugglerrob likes this.
  14. Offline

    IlyaGulya

    Hi all!
    My server - Craftbukkit version git-Bukkit-0.0.0-458-g557f3d2-b440jnks (MC: 1.3)
    I have a problem with this plugin:
    Code:
    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 org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:189)
            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)
     
  15. Offline

    Penorzilla

    I can't seem to get this to work with other worlds.

    Your instructions aren't very clear in the notes of the .yml

    My default world is "world"

    My secondary world is "nether"

    I have tried these combinations but it won't transfer the permissions over to the nether world. So I can't do /permissions -reload all on the nether world but I can on the normal one.

    plugin:
    permissions:
    system: default
    copies: nether

    plugin:
    permissions:
    system: world
    copies: nether

    plugin:
    permissions:
    system: default
    copies: world, nether

    I'm not sure how this works but I'm sure I'm just doing something wrong. Please get back asap on how I need to set that part up to copy the permission use from world to nether.

    My config is world.yml.
     
  16. Offline

    Jandalf

    i think u should use for world.yml:
    Code:
    plugin:
    permissions:
    system: default
    copies:
    and create a nether.yml with this:
    Code:
    plugin:
    permissions:
    system: default
    copies: world
     
  17. Offline

    kaskull

    It was on my first reply
     
  18. Offline

    Matt L

  19. Offline

    Rick Myers

    Ok. done. My admins has their commands but still. my players aka users don't have access to theirs.

    http://pastebin.com/j5V80Dqx
     
  20. Offline

    Jandalf

    i think it should work with 2.1 but aks there for sure and for me switching to 2.5 causes no problems:)
    --- merged: Mar 2, 2011 3:18 PM ---
    delete the very last line there was a tab, dont use tabs in yml
    --- merged: Mar 2, 2011 3:20 PM ---
    i dont know, in the permission user section is no bigbird804 only in the goupmanager file...
     
  21. Offline

    cordeval

    Please provide a description on what the "info" parameters do (prefix, suffix, build).

    I could find no description of their use or settings in this forum, Permissions default yml, readme, or Git hub wiki.
    Without experience of prior Permission versions, noobs like me are a bit at sea.

    [I recently started running a LAN SMP for my family, player total = 4]

    It me way too long to figure out Default's "build: false" was why non-moderator/non-admins couldn't destroy or build blocks [my new username should be Palmface].

    Thanks
     
  22. Offline

    Jandalf

    suffix and prefix do nothing, they are used by other plugins like iChat or HeroChat, the build option is for stop unknown dehault players from building
     
  23. Offline

    NathanWolf

    Hi- I think I have 2.5, maybe this is known/fixed, but here's something I got in my server logs:

    Show Spoiler



    7:48:47 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:625)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:45)
    at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:272)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:369)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)


    That seems to happen every single time I break a block in a world I haven't set up a config file for.

    Since world creation is dynamic for me, this is a bit inconvenient- why was config.yml not kept around for cross-world defaults, and to make migration transparent?
     
  24. Offline

    Tohclan

    My problem is the same as NathanWolf's.

    How exactly do we use the "copies:" thingy. It's not explained very well in the opening post or in the YML file.

    I have a 2nd normal world and a nether world. my world names are, world, newworld, realworld.
     
  25. Offline

    anklesneeze

    One question, is there a good reason a permissions program doesn't have the a /mod (or equiv) command? Why am I forced to find the general/essentials that supports the permissions I use??? Just give me the ability to do it separate from any of those other plugins please. I switched to GM and it was even more cryptic! I cant have a server on, if there are no permissions working. I do appreciate the work u do and if I was a pay server I would gladly contribute but I cant ask ppl to pay if it barely works most of the time because its beta. I know that's not your fault and Yeti your awesome for taking this on. I know a lot of non-programmer type server ppl are wondering why it is set up that way? Please note this is not a complaint its just very confusing I assume the answer is simple and obvious and I'm too dense to get it....
     
  26. Offline

    Jandalf

    i think u should use for world.yml:
    Code:
    plugin:
    permissions:
    system: default
    copies:
    and create a nether.yml with this:
    Code:
    plugin:
    permissions:
    system: default
    copies: world
    --- merged: Mar 2, 2011 4:39 PM ---
    simple permissions is only the basis, and has only the reload command. but u could try yedit which give u these commands and edits the yml file, but it also reconstruct ur yml file, but try it out maybe its something for u...
     
  27. Offline

    Rick Myers

    think I know what's going on here. first the server reads the world.yml file and then the data.yml and make the changes in the data file. Now in my case the Player permisions are not being transfered to the data file.

    world.yml: http://pastebin.com/XQ3MpT6g

    data.yml: http://pastebin.com/HCXUrhut

    tried to put the permisions in the data.yml manually but the server keep overwriteing what I've entered.
     
  28. Offline

    Jandalf

    do u use groupmanager? permissions and groupmanager arent compatible with each other
     
  29. Offline

    TheYeti

    Because getGroup(String player) is single world. New one is getGroup(String world, String player).
     
  30. Offline

    Rick Myers

    think I found it. was saveing in the text format not the other format. got that fixed and now the server takes what ever I've put in the data.yml file. and yes the data.yml file is in the groupmanager folder. Won't know just yet until one of the player sign on to the server later today and try the commands I've set for the "Player" group.

    update: nope. they still don't work. if permisions and groupmanager aren't compatible, am I supposed to delete the world.yml file which was my permisions.yml originally and ignore the error the server says about missing permisions file?

    data.yml: http://pastebin.com/rC9kyU63

    world.yml was original permision.yml: http://pastebin.com/8JViHGZJ

    and the section of my log of where bigbird804 tried to used the "player" commands. http://pastebin.com/mYeiZ6hB
     
  31. Offline

    Clay Michaels

    Thanks, Yeti. I assumed the "download" and ".jar" links were the same.
     
Thread Status:
Not open for further replies.

Share This Page