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

    Chaosboylu

    After i tried to just start a new server because of other Permissions problems ( Insufficient Permission ) and typing a command (for example /spawnmob or /home set)
    i got this error:
    http://pastebin.com/FV4aYXEy please help >.<

    here my .yml:
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'lwc.protect'
    - 'general.spawn'
    - 'mywarp.warp.*'
    - 'myhome.home.*'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'myhome.*'
    - 'general.spawn'
    - 'general.time
    - 'mywarp.*'
    - 'lwc.mod'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'general.*'
    - 'worldguard.*'
    - 'worldedit.*'
    - 'lwc.admin'
    - 'myhome.*'
    - 'spawnmob.*'
    - 'mywarp.*'

    users:
    xxxxxxxx:
    group: Admins
    permissions:

    xxxxxxxx:
    group: Admins
    permissions:

    xxxxxxxx:
    group: Admins
    permissions:

    xxxxxxxx:
    group: Admins
    permissions:

    xxxxxxxx:
    group: Default
    permissions:

    xxxxxxxx:
    group: Default
    permissions:
     
  3. Offline

    saturnine_nl

    no i have a multiworld setup in my main bukkit root folder.
    inside the folder worlds i have all my minecraft worlds.

    the permission setup is as default with 1 exception

    normally permissions.yml aka world.yml goes into the permissions folder
    wich is inside plugins.

    inside the permissions folder i made an extra folder called worlds so it mimicks the multiworld setup of mine.
    You could do the same on your server, locate where the worlds are. IE wich folder/subfolder/world/...

    in your plugin folder you should have a folder permissions, inside this folder you make the same folderstructure that mimmicks your specific folder/subfolders/... here you place the world.yml file.

    in my previous post the forum cut al my tabs. so it got a bit unstructured [​IMG]

    i hope it's more clear now
     
  4. Offline

    RaaF

  5. Offline

    saturnine_nl

    @Chaosboylu your worldname.yml does not corresponds with your world.
    that's causing the block break errors
    [MERGETIME="1299687957"][/MERGETIME]
    here it is ... still a work in progress

    http://pastebin.com/wJFeziSr
     
  6. Offline

    Chaosboylu

    Okay,now i changed the names to world.yml and world and i don't get these errors anymore. but i still get "You do not have the permissions ...." errors >.<

    and if i do /warp pcreate or something like that i'm getting this:

    http://pastebin.com/ZrW6Va26
     
  7. OK, guess it is more clear now, but it still didn't do the trick for me, maybe I am thinking wrong, but permissions is loaded after I type /plugins then permissions is inside that list.
    I need to have permissions running in order to see Hero Chat working, but I am not an admin.
    Will try the standard yml file again that came in the zip package. Just to see if admin works inthere, after I change the admins name to mine.
    I have a question though concerning the standard yml file, what are these bar.foo and foo.bar permissions for?
     
  8. Offline

    saturnine_nl

    foo and bar are dummy variables, they don't get used unles you have a plugin called foo or bar.
    But i don't think thpse plugins excist.
    [MERGETIME="1299689858"][/MERGETIME]
    - 'general.time this is missing a ' at the end
     
  9. OK, now I feel real ashamed, there must be some kind of error inside the yml file I use, anyway the replies here really helped me, and will start working on this more later on today.
     
  10. Offline

    Chaosboylu

    okay,thanks but if i don't use op,it says "You don't have the permission...."
     
  11. Offline

    RaaF

  12. Offline

    Chaosboylu

    that's the same i mean D:
     
  13. Offline

    saturnine_nl

    great to see that you've used my copy. But in my config there is no admin yet
    the # means that a codeline is not used. and you should replace my pluginrules
    with your own, unless you run the exact same plugins as I do. furthermore you
    cannot see in chat or anywhere else that you're an admin. Because I've no prefix
    or suffix in use.
     
  14. Offline

    Mrjibidi

    My plugin doesn't work. It says the same thing: cannot read plugin/permission.jar ......

    What should i do?
     
  15. Offline

    Chaosboylu

    i use 2.5.3 because the 2.5.4 still doesn't get accepted at my Bukkit...
    [MERGETIME="1299692167"][/MERGETIME]
    This 1 doesn't work for me either.... i can't set prefix ( [Admin] ,i guess )
     
  16. Offline

    xxxfakaxxx

    hey guys, when i'm using ยง instead of & Permissions doesn't work. I dont really know why.

     
  17. Offline

    RaaF

    Hi I have problem in me config im admin but in the game im not admin why?!
    her is my config:
    http://pastebin.com/nMYkMVGw
    and her pic from minecraft:
    [​IMG]

    Why in the config I need to be admin and in minecraft im not?!
     
  18. Offline

    KevyB

    I seriously dislike the course those kinds of plugins are taking... the config files are growing into hundreds of lines, becoming insanely complex and its way too easy to make a stupid mistake and screw everything up and leave oneself scratching on the head...

    Why the hell can't it be like the first Groups plugin was, sure not all plugins supported it (they didn't really need to later on, since all commands were routed through Groups first and then checked if they were accepted basing on status) but it was easy and comfortable to configure, this is becoming a mayhem...

    Ridiculous, especially when you want to use 10+ plugins on your server and you have to read up/remember on all the permission settings for each and every one of them, wtf?
     
  19. Offline

    solentice

    Thanks TheYeti! Working great with your latest build of Permissions.[​IMG]
     
  20. Offline

    Grantman

    where can i get the config for this? you say the full version here and there, where can i get this? :)
     
  21. Offline

    RaaF

    plzzzz helppp someone?!
     
  22. Offline

    webkiller8

    I got this error when i log in.

    I'm using craftbukkit build 493
    and Permissions build 2.5.2

    08:06:48 [INFO] webkiller8 [/127.0.0.1:51677] logged in with entity id 50
    08:06:48 [SEVERE] while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 68, column 1:
    - 'general.spawn'
    ^

    08:06:48 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreToken
    s(ScannerImpl.java:360)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:183)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gValue.produce(ParserImpl.java:592)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:132)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    08:06:48 [SEVERE] at org.bukkit.util.config.Configuration.load(Configurati
    on.java:73)
    08:06:48 [SEVERE] at com.nijiko.permissions.Control.load(Control.java:149)

    08:06:48 [SEVERE] at com.nijiko.permissions.Control.loadWorld(Control.java
    :112)
    08:06:48 [SEVERE] at com.nijiko.permissions.Control.inGroup(Control.java:5
    18)
    08:06:48 [SEVERE] at com.nijiko.permissions.Control.inGroup(Control.java:1
    110)
    08:06:48 [SEVERE] at com.sk89q.bukkit.migration.NijiPermissionsResolver.in
    Group(NijiPermissionsResolver.java:70)
    08:06:48 [SEVERE] at com.sk89q.bukkit.migration.PermissionsResolverManager
    .inGroup(PermissionsResolverManager.java:90)
    08:06:48 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(
    WorldGuardPlugin.java:1375)
    08:06:48 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.
    onPlayerJoin(WorldGuardPlayerListener.java:68)
    08:06:48 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:125)
    08:06:48 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    08:06:48 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:225)
    08:06:48 [SEVERE] at net.minecraft.server.ServerConfigurationManager.a(Ser
    verConfigurationManager.java:98)
    08:06:48 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:87)
    08:06:48 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:27)
    08:06:48 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :87)
    08:06:48 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:357)
    08:06:48 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:272)
    08:06:48 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
    08:06:48 [SEVERE] while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 68, column 1:
    - 'general.spawn'
    ^

    08:06:48 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreToken
    s(ScannerImpl.java:360)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:183)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gValue.produce(ParserImpl.java:592)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:132)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    08:06:48 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    08:06:48 [SEVERE] at org.bukkit.util.config.Configuration.load(Configurati
    on.java:73)
    08:06:48 [SEVERE] at com.nijiko.permissions.Control.load(Control.java:149)

    08:06:48 [SEVERE] at com.nijiko.permissions.Control.loadWorld(Control.java
    :112)
    08:06:48 [SEVERE] at com.nijiko.permissions.Control.inGroup(Control.java:5
    18)
    08:06:48 [SEVERE] at com.nijiko.permissions.Control.inGroup(Control.java:1
    110)
    08:06:48 [SEVERE] at com.sk89q.bukkit.migration.NijiPermissionsResolver.in
    Group(NijiPermissionsResolver.java:70)
    08:06:48 [SEVERE] at com.sk89q.bukkit.migration.PermissionsResolverManager
    .inGroup(PermissionsResolverManager.java:90)
    08:06:48 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(
    WorldGuardPlugin.java:1375)
    08:06:48 [SEVERE] at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.
    onPlayerJoin(WorldGuardPlayerListener.java:72)
    08:06:48 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$1.execute(Jav
    aPluginLoader.java:125)
    08:06:48 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:59)
    08:06:48 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:225)
    08:06:48 [SEVERE] at net.minecraft.server.ServerConfigurationManager.a(Ser
    verConfigurationManager.java:98)
    08:06:48 [SEVERE] at net.minecraft.server.NetLoginHandler.b(NetLoginHandle
    r.java:87)
    08:06:48 [SEVERE] at net.minecraft.server.NetLoginHandler.a(NetLoginHandle
    r.java:27)
    08:06:48 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile
    :87)
    08:06:48 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:357)
    08:06:48 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:272)
    08:06:48 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:366)
     
  23. Offline

    SmolderingEgo

    @RaaF what plugin are you trying to use? is it configured correctly to use Permissions? also if you anr trunning Herochat remove the [Admin] from prefix and suffix. dont know if it will help but they arnt doing anything for you. if you have iChat they will give you Admin x2 in front of your name.
    [MERGETIME="1299698733"][/MERGETIME]
    @Grantman the Permissions config file can be found in the Permissions folder under Plugins. if you don't have the folder download the normal link (not Jar only) you should see the folder and the jar file in the download.
     
  24. Offline

    solentice

    Grantman, the config file is the .yml file included in the zip download, the first blue link that says Download. When you open the zip file, extract everything to your server folder, and you'll see a folder named Permissions, and a file named Permissions.jar . The config file is located inside the Permissions folder, and it's named RENAME-ME.yml as default, but you will have to change that name to whatever you call your world, such as world.yml.
     
  25. Offline

    Jellyfrog

    Think the problem is you have a tab-character in the config file.
    line 68, delete all spaces there and add new one, not tabs
     
  26. Offline

    korin125

    I am trying to reload permissions using /permissions -reload world. It says that I do not have the necessary permissions to do this. I am admin, please help!
     
  27. Offline

    saturnine_nl

    you can type permissions -reload all in the server console to get the same result.

    /permission -reload world only works if you have a worldname named 'world'
     
  28. Offline

    korin125

    It is named world though...
     
  29. Offline

    nuker2007

    i did add a return to the end and uploaded it again an downloaded it to check, but it still is not working.
     
  30. OK, I give up, here is my world.yml file http://pastebin.com/Nr25QZKp.
    When I get this through http://yaml-online-parser.appspot.com/ then I get 2 errors,
    ERROR:

    while parsing a block collection
    in "<unicode string>", line 145, column 13:
    - 'bb.admin.*'
    ^
    expected <block end>, but found '<scalar>'
    in "<unicode string>", line 156, column 16:
    - 'essentials.give'
    ^
    But as you may have guessed I can't find the mistake, now I know a bit about programming and when an error is reported this error sometimes takes place one level up or inside the same level, but I really don't see anything wrong with this one.
    I know that the file isn't finished yet and maybe it's allready too long, but in the future I don't want to be tempted to use any cheats, so that's why I enter every command inside the file. and most importantly don't want others on my server to cheat either, like giving stuff or setting time or spawn mobs or animals etc. etc.
     
  31. Offline

    Vaupell

    Was asking about getting to use this addon on "multiplay.co.uk" bukkit servers and got this official response :(

    Link : http://forums.multiplay.co.uk/minecraft/80191-thank-you-thank-you-multiplay#post1008729

    Sad to see it go, been using permissions since start..
     
Thread Status:
Not open for further replies.

Share This Page