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

    Zerco

    Code:
    
        Super-Moderator:
            default: false
            info:
                prefix: '&9'
                suffix: '&a'
                build: true
            inheritance:
                - Morderator
            permissions:
                - 'worldedit.*'
                - 'worldedit.selection.*'
                - 'bb.admin.rollback'
    
        Admin:
            default: false
            info:
                prefix: '&c'
                suffix: '&2'
                build: true
            inheritance:
                - Super-Moderator
            permissions:
                - '*'
    
        Owner:
            default: false
            info:
                prefix: '&c'
                suffix: '&2'
                build: true
            inheritance:
                - Admin
            permissions:
    
                - '*'
    
    
    1. You spelled Moderator wrong for the inheritance in Super-Mod
    2. You -never- want anything with '*' to inherit anything, do not give them extra permissions '*' means they have all permissions. IE what '*' does is give you all permissions regardless of plugin, if you add any extra permissions on top of that either through inheritance or adding an extra one below '*' it nullifies the entire group.
    3. You had Owner do the same thing as Admin, you're doubling up permissions again which as above nullifies the group. Also be sure not to have any added spaces, so pull -'*' up by one. (Probably where the "BLOCK_BREAK" is coming from)

    Unfortunately the way this works is: Never pass the same permission twice period, be it through inheritance or giving a group 'plugin.something' and then having a group with '*' inherit it.

    Edit: I never actually scrolled all the way down to the list of players on your server but it's almost totally off as well, you've had people inherit permissions twice.
     
  3. Offline

    Phantom Index

    Thanks
     
  4. Offline

    tension69

    grrr I just downloaded 2.5 to use with latest WXtreme, and you've bust it[​IMG]

    lol
     
  5. Offline

    QQCucumber

    The default yml provided in the archive fails to parse on http://yaml-online-parser.appspot.com/

    Code:
    ERROR:
    
    while parsing a block mapping
      in "<unicode string>", line 81, column 5:
            TheNo1Yeti:
            ^
    expected <block end>, but found '<block mapping start>'
      in "<unicode string>", line 88, column 6:
             Derpina:
             ^
     
  6. i think the link is broke from 2.5
     
  7. Offline

    Freelancer852

    How did you miss the giant red notice about it being removed due to bugs?
     
  8. Offline

    TheYeti

    I have updated the download links and pushed a working version. I apologize for the issues on this one. I had done extensive testing before releasing it on builds 440 & 478 and everything went fine. However, it was not until other people started using it that a bug was found. Basically what it was doing was trying to get a players groups to see if they could build. (If players group and all groups they inherit equals build: false then they could not. Otherwise if any of the groups are player is in/inherits is build: true then they can.) However, if someone wasn't actually in the config files and assigned to a group it would return a null group for them instead of the default group. This is what was causing all of the inability to pass event errors that people were getting. An extremely special thanks goes to GoMySQL in the #bukkit channel on Esper for helping me out with extensive bug testing and making sure that this.

    Code:
    00:25 <+GoMySQL> It's working..
    00:26 <+GoMySQL> Okay, I can confirm the following:
    00:26 <+GoMySQL> Permissions work across worlds.
    00:26 <+GoMySQL> world.yml is treated as default in nether (no .yml for that one)
    00:26 <+GoMySQL> permissions work per group..
    00:26 <+GoMySQL> Very nice.
    00:26 <+GoMySQL> Glad to help and thank you for the amazing plugins.
    00:26 <+GoMySQL> well, amazing updates to amazing plugins.
    
    As you can see, without his help this would have probably taken me much longer to verify and test as he did a great job with testing multiple issues at once and flooding me with work.
     
  9. Offline

    Jandalf

    ok, copy ur file again to pastebin.com and ill take a look
    --- merged: Mar 1, 2011 8:52 AM ---
    yes there is a space before derpina, i wrote yeti to fix this in the default yml
     
  10. Offline

    QQCucumber

    It's been fixed in the new release.
     
  11. Offline

    RytoEX

    Just wanted to let you know that 2.5.1 shows up as 2.5 in the server console.
     
  12. Offline

    ssechaud

    Download links need updated, the jar for 2.4 is pointing to 2.3. Tnx.
     
  13. Offline

    Freelancer852

    Updated to 2.5.1, getting some errors:

    http://pastebin.com/dpn3Zj9f

    or

    Code:
    2011-03-01 03:27:27 [INFO] Freelancer852 [/174.0.56.34:64598] logged in with entity id 82
    2011-03-01 03:27:27 [SEVERE] Could not pass event PLAYER_JOIN to LoginMessage
    while scanning an alias
     in "<reader>", line 83, column 16:
                    - '*'
                       ^
    expected alphabetic or numeric character, but found but found '
     in "<reader>", line 83, column 17:
                    - '*'
                        ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1156)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(ScannerImpl.java:782)
            at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:313)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:508)
            at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
            at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
            at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
            at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    
            at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
            at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
            at org.bukkit.util.config.Configuration.load(Configuration.java:73)
            at com.nijiko.permissions.Control.load(Control.java:147)
            at com.nijiko.permissions.Control.loadWorld(Control.java:111)
            at com.nijiko.permissions.Control.getGroup(Control.java:532)
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.sendMultiMessage(LoginMessagePlayerListener.java:164)
            at com.tahkeh.loginmessage.LoginMessagePlayerListener.onPlayerJoin(LoginMessagePlayerListener.java:57)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:130)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ServerConfigurationManager.a(ServerConfigurationManager.java:97)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:87)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:27)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:87)
            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)
    2011-03-01 03:27:32 [INFO] Freelancer852 lost connection: disconnect.quitting
    I'm assuming the root of the problem is I somehow managed to mess up my yml formatting and it's giving me the "expected alphabetic or numeric character" stink-eye...
     
  14. Offline

    Jandalf

    yes, this is an yml problem, please copy your yml file to pastebin
     
  15. Offline

    Freelancer852

    Here you go:

    http://pastebin.com/3TtrT7GE

    I'm still getting my feet wet with this whole Bukkit server thing so it's probably a noob mistake...
     
  16. Offline

    cjc343

    You're not in a group that exists. Either change the group you're in, or change the name of the group.
     
  17. Offline

    Jandalf

    no it was only a little thing, u got an ' to much after - 'mywarp.*''
     
  18. Offline

    Freelancer852

    Well, both were correct lol. Can't believe I missed the admin(s) bit... Doh!
     
  19. Offline

    Peter Pan

    Is there a way to set command cooldown for each group with Permission?
     
  20. Offline

    Jandalf

    now for that u would need another plugin, but i dont know whick could do that, but u could post some inPlugin Requests
     
  21. Offline

    Peter Pan

    Thank you for fast reply ^^
     
  22. Offline

    Duncan

  23. Offline

    RaymanMaik

    I just downloaded permissions 2.2. It works! So I haven't got this problem any longer.
    But I have another problem [​IMG]
    If someone places a block he can't remove it! And I can't too, but I'm OP! I only can delete blocks with world-edit
     
  24. Offline

    eamondo2

    I can't Seem to make mine work. I posted the specs a few pages back, on page 13. Am I supposed to name my config file to what my world name is? or what? Please help!!! Much appreciated.
     
  25. Offline

    Duncan

    My world name is "world", my configfile is "world.yml"
    The directories of the map is the name of world.
     
  26. Offline

    eamondo2

    THANK YOU!!!!! FIXED!!! thank you thank you thank you!
     
  27. Offline

    Jandalf

    ok, copy ur permissions to pastbin.com, ill have a look at it
    --- merged: Mar 1, 2011 12:29 PM ---
    ok, you have an overload = double '*' only use this once, delete it in ur user permission.
    and the world.yml should be in /plugins/permissions/
     
  28. Offline

    Linaks

    Will MySQL still be in your ToDo-List?
    It's very important
     
  29. Offline

    Duncan

    Damn .. is true ...

    Not informed in this thread : http://forums.bukkit.org/threads/ad...5-1-phoenix-now-with-more-antibuild-440.5974/

    Thx for your help.
     
  30. Offline

    Zimmies

    Hi all.

    First Thx Yeti for continuing this plugin!

    i searched the web for about 60 mins now and cant find any infos, guess thats just bad-luck because the infos must be somewhere, myabe someone here can help...

    i figured out what prefix and suffix is for....im glad i also found out that i can give a group a color, with prefix: &c (for example)...i dont know what language that is...a &..maybe yaml code?....my bis question is, whats it good for to put a &a, c or some other hex-value into the suffix area?....nothing happens for me, or is that just to close the code, like in HTML?
    and is there a source, that shows me what there is that i can do with prefix and suffix?

    Big thx for the Help

    Zimmies
     
  31. Offline

    VoodooDE

    So guys, am I that stupid??
    Im looking for about 1 hour here...
    Where the hell can I find the commands for the .yml-File?!
    I got the plugin to work now... but what else can I do in the yml-File?
    Where are the commands and permissions listet??
     
Thread Status:
Not open for further replies.

Share This Page