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

    Jandalf

    1. yes 2. i think not many like this, but everybody need this:D
    3. ok what is the error, is it ingame or in the server?
    4. could u copy ur permissions file to pastebin.com
     
  3. Offline

    Chesley

    yes yes yes i will do that but everybody is like

    Plyugin guy: "i made a plugin"
    me: "how it works"
    Plugin guy: "i dont know"

    i will paste it
    but i didnt edit it at all only changed my name to Chesley in the users area
     
  4. Offline

    averad


    I resolved my issue, there was a player entered with the following info

    Code:
    [SIZE=4][COLOR=rgb(0, 0, 0)][FONT=monospace]    71161:[/FONT][/COLOR][/SIZE]
    [SIZE=4][FONT=Times New Roman][COLOR=rgb(0, 0, 0)]        group: Registered         permissions:
    
    After removing this player the server runs fine now.[/COLOR][/FONT][/SIZE]
     
  5. Offline

    Tobbi

    Help when i start my server everything is just fine, but when somebody logs on my cmd spams this wierd error:
    2011-02-28 18:41:50 [SEVERE] unacceptable character #FFFD special characters are not allowed
    in "<reader>", position 1154
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:68)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:159)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:89)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.reader.StreamReader.forward(StreamReader.java:79)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:974)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:237)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-02-28 18:41:50 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-02-28 18:41:50 [SEVERE] at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    2011-02-28 18:41:50 [SEVERE] at com.nijiko.permissions.Control.load(Control.java:144)
    2011-02-28 18:41:50 [SEVERE] at com.nijiko.permissions.Control.loadWorld(Control.java:108)
    2011-02-28 18:41:50 [SEVERE] at com.nijiko.permissions.Control.permission(Control.java:292)
    2011-02-28 18:41:50 [SEVERE]
     
  6. Offline

    Jandalf

    copy your permissions file to pastebin.com
    --- merged: Feb 28, 2011 6:19 PM ---
    yes thats an known problem, numbered players are not allowed
     
  7. Offline

    Tobbi

    You mean my config file?if you do; http://pastebin.com/t6GWBf17
     
  8. Offline

    Jandalf

    yes
     
  9. Offline

    sandtrap101

    im getting a random problem on my server and Im pretty sure its not my world.yml so here it is
    Code:
    21:22: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:177)
            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:164)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
            ... 6 more
    
    It just gives me problems every second and when some talks also ^^thats^^ what happened when I reloaded it. Also I try yeditor on it and it says something like internal problem could not carry out command. Any help would be great. Thanks!
     
  10. Offline

    LithOx

    OK ! Thanks but this doesn't works :'(

    I have this message when I try the command "/permissions" : "You lack sufficient permissions to do that"

    Any ideas for fix ? This solution will be perfect (when it works) ^^

    I have no message in log but maybe this will help you :
    Code:
    2011-02-28 19:28:31 [INFO] Loaded world: /maps/world
    
    TY for your help :)
     
  11. Offline

    J. D.

    I've officially given up on Permissions, I can't get it to work period. I'm sorry, but this is the most frustrating thing I've ever had to deal with in terms of plugins or Mods. Does it seem rather simple? Yes. In practice? No. Not unless I am doing something amazingly stupid, there just isn't a way to make this work for me and the guys who maintain my server are even less helpful. This is a shame because I am missing out on a lot of extremely useful tools that would make controlling my server much easier from a day to day standpoint.
     
  12. Offline

    Jandalf

    ok, maybe i could help u, when u want to give it a last chance, then describe what has happend or not happend and copy your permission file and server errors to pastebin.com:)
     
  13. Offline

    J. D.

    It is rather simple.

    I cannot get ANY plugins to work with Permissions. This includes plugins designed specifically for Permissions like General. None of the permissions that I need to modify in the .yml actually do anything to my server. As far as Server Errors? I don't get to view them. I use a Servercraft server to run my SMP map, and they have pretty strict control. All I can really see when I try to use commands that should work, but don't (such as setting spawn) I get an "internal error" message and that's all. It doesn't specify what this error is beyond that there is an error and I cannot use that command. Then for example, if I have myself set as the Admin (which I d0) then I cannot get certain commands that should work to work. Such as healing (I don't have permission to do that), or teleport (I do not have permission to do that). So on and so forth.

    As for the Permissions file? I am not doing anything not shown in the threads. I am simply copying and pasting the relevant permissions to the Admins group in the correct format and I have myself set as the Admin according to the area in the users section.

    I'm not doing anything whacky or have any mods loaded, or anything besides that. Just General and Permissions.
     
  14. Offline

    TheYeti

    Okay, so it saying Loaded world: /maps/world generally means that it was able to find the config file and load it into memory. This is a good thing. This means if it was able to output that then it should have been able to find the config file (we hope). Next up, lets take a look at your config file and see why it isn't working or what could be wrong with it.
    --- merged: Feb 28, 2011 7:35 PM ---
    You want help, post your config file and tell us what the name of your world is from server.properties (it's the line that says level-name: I believe). Otherwise, just saying "QQ This doesn't work" doesn't help anyone.


    Seriously guys, this plugin isn't that hard to use. Before I ever took over this project I have never had any problems, and I obviously use my own plugins on my server. I also try to do extensive testing on a secondary server I have just for a dev environment and things as a general rule work just fine. 90% of the time, any errors or trouble people are getting are related to their config file and improper syntax with the YAML. Does YAML suck in that it is so picky about spaces and such? Yes. Will I stop using YAML? Not for the forseeable future. It provides a solid framework for making sure that the configuration files are consistent from server to server.
     
  15. Offline

    turboderp

    My world.yml file : http://pastebin.com/R3YR6CnN

    I'm using Permissions 2.4 and CB440.
     
  16. Offline

    Jandalf

    ok, when http://yaml-online-parser.appspot.com/ gives no error, i dont know what it could be, this is a think for the developer:
    Yeti help
    --- merged: Feb 28, 2011 8:02 PM ---
    hm, maybe its an iZone problem, remove it and look if the error comes again.
     
  17. Offline

    TheYeti

    Okay, that is a known issue with sending a reload from the console and will be fixed in 2.5 when I push that out. Trying to get a few more things added to it before I upload it. When someone is talking that should not happen though. Is it the exact same error message when someone attempts to chat?
     
  18. Offline

    Jandalf

    ok, with no error because of servercraft its harder;) but we'll try the usual things:
    1. copy ur permission file to pastebin.com, ill have a look at it
    2. do you have renamed the yml file to your worldname? (world.yml for default)
     
  19. Offline

    cjc343

    What version of General are you running?
     
  20. Offline

    sandtrap101

    Yes it does also when I try ANY permissions plugin command it says An internal error occurred while using this command and its really annoying cause it means everything is pwned but on a lighter note, nice one picking up on niji abandoning it :D
     
  21. Offline

    TheYeti

    Okay, I will add that to the bug tracker and add that fix to 2.5 also
     
  22. Offline

    Jandalf

    no error, but it could be an overload because admins have with '*' all permission, but u add 3 other to them, remove the others.
     
  23. Offline

    sandtrap101

    OK sounds good when will the new one come out wait that will brake all the plugins anyway. Also do you want to see my world.yml cause ive got it checked by my friend who codes for his job and he knows what hes doing anyway heres the link http://dl.dropbox.com/u/21508091/world.yml
     
  24. Offline

    Jandalf

    http://pastebin.com/8uggweid there were tabs, dont use any tab in yml files
     
  25. Offline

    sandtrap101

    Hmmmm I maybe hoff(my coding friend) accidentally included some tabs but he did say no tabs and other things that could brake it and im starting to think it might be craftbukkit or something since I think I was getting this problem with group manager. Also Yeti my friend said that the herp.derp could partially brake the plugin :/ im not sure if its true but its just a heads up.*EDIT* Where about are the tabs? So I can correct it. Thanks.
     
  26. Offline

    Jandalf

    :D i corrected them in the version above
     
  27. Offline

    Ablac

    UGH i have no idea what im doing wrong... Ive been trying for 4 days to get this plugin working and nothing i try works... What have i done wrong? Am am using the Essentials plugin, MCBans Plugin, Craftbook, Worldedit and World Guard, craftbukkituptodate, signtrader and permissions 2.4, when i load my server it says Fake Permissions enabled/Disabled. Ive tried removing all plugins and just using Permissions to see if the Prefix or Suffix will show but that doesn't work, the only that thing that works in this plugin for me is the /permissions command...
     

    Attached Files:

  28. Offline

    TheYeti

    Both herping and derping will most definitely break the plugin and all plugins. One should restrict themselves to either herp or derp within a configuration file.
     
  29. Offline

    sandtrap101

  30. Offline

    TheYeti


    Smods inherits Mod but there is no Mod group. Change it to Mods. Also, remove Herpina from the config file. That is just there as an example and shouldn't be left in. When trying to use commands, are you getting any sort of error message in the game or within the console?
     
  31. Offline

    Jandalf

    ok, you should know that permissions itself doesnt do anything. it is only the basis which is needed for many other plugins. the prefix/suffix is used by iChat or HeroChat. i dont know if essentials and permissions work together, but all other plugins should work.
    --- merged: Feb 28, 2011 9:19 PM ---
    :D no problem;) ill bookmared it and will come around when i have time
     
Thread Status:
Not open for further replies.

Share This Page