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

    Komunity

    yes but why doesnt it show admin before my name
     
  3. Offline

    Jandalf

    u need another plugin, permission only is the basic u need iChat or HeroChat...
     
  4. Offline

    MarchingSpartan

    Ok so I'm having an issue. I cannot for the life of me get permissions to work, even on a fresh server.

    I start server for the first time. It builds all the files it needs.
    I add Essentials plugins. Run server. It loads everything fine.
    I add permissions. Run server. In console type mod [username] Admins. I am moved fine.
    Restart server. Join server. Try to use a command and am denied.

    The only way I can use commands is if I add my name to the ops.txt list, which is unacceptable. Help?

    *EDIT*
    Apparently I need to change config.yml to world.yml, why this is not mentioned anywhere on any instructions baffles me.
     
  5. Offline

    Jandalf

    essentials uses GroupManager post your problem there...
     
  6. Offline

    MarchingSpartan

    Essentials does not need to use GM, It says so right in the config.
     
  7. Offline

    Jandalf

    but i dont think that this "mod [username] Admins" worked with permission. you must set urself manually to admin in the config file
     
  8. Offline

    MarchingSpartan

    it did work with permissions because I checked the config to see that I was added.
     
  9. Offline

    Jandalf

    ok then put ur confi.yml to pastebin.com
    after changing the file name, does it work now?
     
  10. Offline

    MarchingSpartan

    It after changing the config.yml name to world.yml it works. Althought mod command didn't so to solve i renamed my world config.
     
  11. Offline

    sk8r2k11

    Please could you add the /pr command back again(to reload all worlds) - its just easier and quicker than typing out /permissions -reload all. Just a little thing but... u know :)
     
  12. Offline

    Jandalf

    me too
     
  13. Offline

    Rocky

    I LOLED. i scroll down and he's like im not going to bother to read that.

    I seriously started cracking up, and i woke up a few people in my house. lol
     
  14. Offline

    RaaF

    What i need to do?!
    Here is my config:
    http://pastebin.com/UN11a6SK


    14:04:40 [INFO] Starting minecraft server version Beta 1.3
    14:04:40 [INFO] Loading properties 14:04:40 [INFO] Starting Minecraft server on 10.0.0.1:25565 14:04:40 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE! 14:04:40 [WARNING] The server will make no attempt to authenticate usernames. Be ware. 14:04:40 [WARNING] While this makes the game possible to play without internet a ccess, it also opens up the ability for hackers to connect with any username the y choose. 14:04:40 [WARNING] To change this, set "online-mode" to "true" in the server.set tings file. 14:04:40 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-472- g53b258e-b456jnks (MC: 1.3) 14:04:40 [INFO] Preparing level "World-2" 14:04:40 [INFO] Preparing start region 14:04:41 [INFO] [Permissions] version [2.4] (Phoenix) was Initialized. 14:04:41 [SEVERE] Could not load plugins\Permissions.jar in plugins: null org.bukkit.plugin.InvalidPluginException at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:80) 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:59) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191) at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246) at net.minecraft.server.ThreadServerApplication.run(SourceFile:366) Caused by: while parsing a block mapping in "<reader>", line 52, column 9: default: false ^ expected <block end>, but found BlockMappingStart in "<reader>", line 59, column 10: permissions: ^ at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par serImpl.java:576) 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.composeMappingNode(Composer.java :228) 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:12 2) at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105) at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons tructor.java:124) at org.yaml.snakeyaml.Yaml.load(Yaml.java:264) at org.bukkit.util.config.Configuration.load(Configuration.java:73) at org.bukkit.plugin.java.JavaPlugin.initialize(JavaPlugin.java:155) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j ava:78) ... 8 more 14:04:41 [INFO] WorldGuard loaded. 14:04:41 [INFO] WorldEdit 4.0-beta4 enabled. 14:04:41 [INFO] WorldEdit: No known permissions plugin detected. Using configura tion file for permissions. 14:04:41 [INFO] WorldGuard: No known permissions plugin detected. Using configur ation file for permissions. 14:04:41 [INFO] WorldGuard: Single session is enforced. 14:04:41 [INFO] WorldGuard: TNT ignition is PERMITTED. 14:04:41 [INFO] WorldGuard: Lighters are PERMITTED. 14:04:41 [INFO] WorldGuard: Lava fire is blocked. 14:04:41 [INFO] WorldGuard: Fire spread is UNRESTRICTED. 14:04:41 [INFO] WorldGuard 4.0-alpha1 enabled. 14:04:41 [INFO] Done (0.114s)! For help, type "help" or "?" >
     
  15. Offline

    Jandalf

    Red text wont help anyone!

    you make one tab before TheNo1Yeti use 4spaces instead
    and there is one space too much here: Derpina
     
  16. Offline

    Zerco

    Remove any inheritance to Admin, since it has access to all permissions via -'*' it doesn't need any inheritance, also if you have a player assigned the admin group do not assign it permissions, assigning any permission twice will cause the group or player to have null permissions and recieve none.
     
  17. Offline

    wordy007

    Ive read through everything here and still can't find a fix for my problem.

    I have only just started a server so im new to everything but thought the best plugin to start off with would be this permissions one seem as nearly every other plugin needs this. This is what i have done so far:
    - Download 2.4 permissions
    - Unzip it in my pluggins folder for my server
    - Rename the config file to my world name
    - Put my name as the admin in the file
    - Reloaded my server, everything runs fine and permissions is loaded fine:
    2011-02-27 14:08:23 [INFO] [Permissions] version [2.4] (Phoenix) was Initialized.
    2011-02-27 14:08:23 [INFO] [Permissions] version [2.4] (Phoenix) loaded
    - Now i try to use the /permissions -reload all command and i get the following error in the game:
    'An internal error occured while attempting to perform this command.
    In the log file this is the full error:
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:576)
    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.composeMappingNode(Composer.java:228)
    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:144)
    at com.nijiko.permissions.Control.loadWorld(Control.java:108)
    at com.nijiko.permissions.Control.permission(Control.java:292)
    at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:152)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more
    - I have tried other commands such as '/permissions', 'permissions all' but still the same happens.

    Any help much appreciated
     
  18. Offline

    riuthamus

    Already moved over, but i need to beg you for one thing, ADD A MODIFY COMMAND FOR IN GAME MODIFICATIONS!! FOR THE LOVE OF JESUS!!! plz!!
    --- merged: Feb 27, 2011 2:42 PM ---
    When you have a problem your suppose to post your CRAFTBUKKIT VERSION! as well as other plugins you might be running. This way we can better deduce your issue. Throwing up some random error log will help to some degree if the error is ... readable, but otherwise your asking people to fix your shit without providing them the proper information to do so.
     
  19. Offline

    wordy007

    As i said this is the first plugin i am using as i see this as needed to run all other pluggins so...

    No other puggins apart from this are installed and im using craftbukkit 456
     
  20. Offline

    riuthamus

    Ah, 456, i have not tried this with 450+ yet, since most plugins are not working past 449. The plugin states it only works for 451, perhaps something was changed on 452 or 453 that messed with it? Bukkit admins have been really messing with the API as of late so its possible.

    If i were you, i would change your version of bukkit from 450 and then keep going up and see if you get the same error. If not, but it happens after you update to a different one, then it tells you its part of a bukkit change.
     
  21. Offline

    wordy007

    Thank you very much will try that now.

    Just a quick question and really sorry if this sounds dumb but does it matter if i dont have a cratbukkit folder. I only installed it yesterday found no good guides to actually help me in setting it up and in the end got it working by having my plugins folder directly in my server where all your world folders, server properties etc are
    --- merged: Feb 27, 2011 3:15 PM ---
    Tried this and now using bukkit 450 and still i get the exact same error message
     
  22. Offline

    riuthamus

    interesting, ill have to see... tonight, im going to sleep now, sorry i wish I could help more. As for me all you do is put the stuff in the folder. Make sure your plugins folder looks like this:

    plugins\permissions

    inside there you should have worldname.yml

    outside of permissions folder you should be the permissions file, (which it sounds like you have )
     
  23. Offline

    danman

    ok, im completely new to bukkit, and i am completely stuck, i dont know what i did wrong, but it cant figure out how to use this plugin, i added my IGN (DaN_T3H_MaN) to the file, i renamed my world and changed it in the server.properties, and renamed the .yml file, but when ever i try a command, it says "you do not have access to this command." can someone take a look at my .yml file and figure out what is wrong with it please: <Edit by Moderator: Redacted mediafire url>

    Thanks in advance :)
     
    Last edited by a moderator: Dec 15, 2016
  24. Offline

    Jandalf

    ok ill try to help out:

    do u use perm 2.4?
    do u use CB453?
    have u this structure:
    CBFolder/plugins/permissions.jar
    CBFolder/plugins/Permissions/world.yml
    could be a yml problem, please copy your yml file to pastbin.com
    <font color="rgb(204,204,204)">--- merged: Feb 27, 2011 4:00 PM ---</font>
    there is a space too much before Derpina.

    next time please copy your file to pastebin.com its easier.
     
    Last edited by a moderator: Dec 15, 2016
    danman likes this.
  25. Offline

    Braden1996

  26. Offline

    wordy007

     
  27. Offline

    Jandalf

    wow, then i dont know what it could be, wait for TheYeti maybe he could help.
    --- merged: Feb 27, 2011 4:28 PM ---
    i have no errors. sure that your default world is "world"?
     
  28. Offline

    N3X15

    Rename your world from "world" or a stupid bug from 2.1 will get you.
     
  29. Offline

    wordy007

    Got it working now. I had to install the generals plugin and then edit my permissions file to:
    http://pastebin.com/ZeUm04i5

    God knows why it needed me to do that but least it is working now
     
  30. Offline

    Crimsonshot

    Can you please add an in-game command to changes user's groups? Essentials took /modgrp out because they thought that permissions was finished.
     
  31. Offline

    RaymanMaik

    I have got this error (too)!
    Code:
    2011-02-27 18:09:40 [SEVERE] Could not load plugins\Permissions.jar in plugins:
    null
    org.bukkit.plugin.InvalidPluginException
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava: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.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Pe
    rmissions
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:30)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:72)
            ... 8 more
    2011-02-27 18:09:40 [WARNING] Using the stupidly long constructor com.bukkit.sp1
    rit.signedit.SignEdit(PluginLoader, Server, PluginDescriptionFile, File, File, C
    lassLoader) is no longer recommended. Go nag the plugin author of SignEdit to re
    move it! (Nothing is broken, we just like to keep code clean.)
     
Thread Status:
Not open for further replies.

Share This Page