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

    Ancetras

    How do I use this plugin with MCMyAdmin?

    I tried to install it, but when I go to create groups or add players, they can use all the commands even if they are in a group with no permissions (and they haven't the coloured name).
    Is there a guide or something?
     
  3. Offline

    Tom Heek

    I have posted my details on your profile page.
     
  4. Offline

    Itssnowing

  5. Offline

    Tom Heek

    No problem, the error is still not fixed.
     
  6. Offline

    CMCPLstone

    I'm getting this error when I load up the server:
    Warning: Long loadup is LOOOONG.
    Show Spoiler
    14:59:16 [INFO] Starting minecraft server version Beta 1.4
    14:59:16 [INFO] Loading properties
    14:59:16 [INFO] Starting Minecraft server on *:25565
    14:59:16 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-612-
    g4c7a9e7-b617jnks (MC: 1.4)
    14:59:16 [INFO] Preparing level "world"
    14:59:16 [INFO] Preparing start region
    14:59:17 [INFO] 144 recipes
    14:59:17 [INFO] Preparing spawn area: 93%
    14:59:18 [INFO] Invalid config file found and converted to proper name/format.
    14:59:18 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:105)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:158)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:106)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:63)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:101)
    ... 8 more
    Caused by: while scanning for the next token
    found character '\t' that cannot start any token
    in "<reader>", line 70, column 1:
    Trusted:
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.ja
    va:360)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    3)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(
    ParserImpl.java:510)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.pro
    duce(ParserImpl.java:502)
    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.jav
    a: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: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 com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    126)
    ... 13 more
    14:59:18 [SEVERE] [StealthLogin] version 1.0.0 not enabled. Permissions not dete
    cted
    14:59:18 [INFO] [StealthLogin] version 1.0.0 disabled!
    14:59:18 [SEVERE] Plugin attempted to register PLAYER_JOIN while not enabled loa
    ding StealthLogin v1.0.0 (Is it up to date?)
    org.bukkit.plugin.IllegalPluginAccessException: Plugin attempted to register PLA
    YER_JOIN while not enabled
    at org.bukkit.plugin.SimplePluginManager.registerEvent(SimplePluginManag
    er.java:289)
    at net.craftrepo.StealthLogin.StealthLogin.registerListeners(StealthLogi
    n.java:52)
    at net.craftrepo.StealthLogin.StealthLogin.onEnable(StealthLogin.java:41
    )
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:514)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    14:59:18 [INFO] chatlog version 0.1: Permissions not detected... Eveyone has ful
    l access
    14:59:18 [INFO] chatlog 0.1 enabled.
    14:59:18 [INFO] [AdminCmd] (version 4.2.3) Enables without Permissions.
    14:59:18 [INFO] [AdminCmd] Instead of Permissions, check if the user is OP.
    14:59:18 [INFO] ObsidianFlow: Enabled. (Version: 1.0.0.0r0)
    14:59:18 [INFO] [SuperPowers] Couldn't find permissions plugin. Defaulting to op
    s.txt
    14:59:18 [INFO] SuperPowers v0.2 loaded!
    14:59:18 [INFO] [bColoredChat] version 1.4.0 is enabled!
    14:59:18 [INFO] uCalc 0.3 enabled (By Sosser)
    14:59:18 [INFO] ChestLock 0.6.3 is enabled!
    14:59:18 [INFO] PasswordProtect 0.2 enabled
    14:59:18 [INFO] Server password is not set. Use /setpassword <password>
    14:59:18 [SEVERE] PLAYER_ITEM loading PasswordProtect v0.2 (Is it up to date?)
    java.lang.NoSuchFieldError: PLAYER_ITEM
    at com.disabledhamster.bukkit.PasswordProtect.PasswordProtect.onEnable(P
    asswordProtect.java:43)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:514)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    14:59:18 [INFO] [AdminChat] Version 1.3 is enabled.
    14:59:18 [INFO] [AdminChat] Unsupported color for , resetting color to default (
    yellow).
    14:59:18 [INFO] [AdminChat] No channel name was specified, resetting channel nam
    e to default ('Adminchat').
    14:59:18 [INFO] [AdminChat] Using color 'yellow' as for Adminchat.
    14:59:18 [INFO] [AdminChat] Using channel name 'Adminchat' for Adminchat.
    14:59:18 [INFO] [AdminChat] Permissions not running, all OPs will be able to sen
    d and receive Adminchat messages.
    14:59:18 [INFO] [Humiliation] Permissions not found. Defaulting to Op.
    14:59:18 [INFO] [Humiliation] version 0.3.2 is enabled!
    14:59:18 [INFO] Done (0.184s)! For help, type "help" or "?"
    >

    FYI: I'm using Windows 7, 32bit
     
  7. Offline

    Itssnowing

    Looks like the main problem is the Null error. We still don't know what it is or how to fix it :/
     
  8. Offline

    Tom Heek

    What does FYI means?
     
    CMCPLstone likes this.
  9. Offline

    CMCPLstone

    FYI:
    For Your Information

    EDIT: Would a DropBox copy help?
     
  10. Offline

    Itssnowing

    A dropbox copy of what?
     
  11. Offline

    Ratte

    is it possible to just give permission to the default minecraft's OP commands like kick, ban and such? i cant find any list of this. google won't help me. D:
     
  12. Offline

    cjc343

    You have a tab in your file somewhere around or under (sub-of) line 70.

    The default commands are only granted via OP permissions, you need plugins which implement them in order to give specific permissions.
     
  13. Offline

    Itssnowing

    @Tom Heek I figured it out! I was wrong, it was a config file error. You only put in three spaces for the "Builder" group! Add another one :B

    @cjc343 Thanks for posting that, It made me realize how ti fix Tom Heek's problem :B
    Or hopefully fix it.

    Permissions errors and how to solve them!

    Could not load plugins\Permission.jar in plugins:Null
    If you get this error:
    Code:
    [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    
    From what I've found, it could be one of two problems:
    1) Your CB build and your Permissions version don't work.
    or
    2) You have a problem in your config file. Download this PDF, and look near the end of the error. Does the PDF file say what the problem is, and how to fix it? Do that!
    If not, post here.
    ^Update!^


    Invalid Config file found and converted to proper name/format
    This error:
    Code:
    Invalid config file found and converted to proper name/format.
    
    Will happen almost no matter what. Ignore it, it doesn't do anything.


    So I downloaded the .jar file and....

    Stop. Stop right there. If you're starting for the first time, download the .zip file, open it, and drag the contents into the plugins folder. Don't use the extract option, otherwise you'll end up extracting the contents of the .jar file. Just drag the contents.

    After dragging the contents out, you should have a folder with the config file in it. Viola!


    Permissions-worldname-.yml
    Getting a permissions-worldname-.yml file in your plugins folder is a bug. It (I think) means that your real permissions config.yml has something wrong with it, or it's not there. I'm not quite so sure about this, but download the .zip file from the first post and extract the contents to your plugins folder. (Confirmation needed)


    Config file info:
    -They need spaces, not tabs.
    -If you have the - '*' permission, you don't need any other nodes for that person/group, unless you want to take a permission away from them. If you want to do that, give them a node vaguely like this: - '-example.node'
    (See that negative sign? It's important.)
    -Read the comments in the file, seriously. They say a lot.
    -When putting someone into a a group, make sure it's spelled correctly. Putting someone in the group "Admin" while the group is called "Admins" will not put them in that group.
    -If a group has the - '*' permission, don't have them inherit from another group.


    /Permissions -reload all command giving console errors
    There is no way that I know to fix this problem yet. Please just restart your server.
    (Any errors I've missed? Something I got wrong? Another way to fix an error? Tell me!)
    (Coppied this over to the new page for the sake of people seeing it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  14. Offline

    Tom Heek

    I fixed it, thanks.
     
  15. Offline

    Itssnowing

    Awesome!
    Sorry I didn't realize what the problem was sooner >.>
     
  16. Offline

    Pugnacious

    It's working for me now. My admin left out a colon in the yml files and it errored out on me. It wasn't anything with the permissions plugin at all.
     
  17. Offline

    Itssnowing

    @Pugnacious Great! Sorry I couldn't help you with that.
     
  18. Offline

    Gary Ervin

    I am getting the 'Could not pass event BLOCK_BREAK to Permissions' and Permissions itself is not working. I am running CB 617. My main world name is Paradiso. I have multiple worlds with the MultiVerse plugin. My files are set up as the following: GameServerMC/plugins/Permissions.jar, GameServerMC/plugins/Paradiso.yml, GameServerMC/plugins/Permissions/Judgement, and GameServerMC/plugins/Permissions/Wilderness .
    It seems like the server is still running of the op system, not permissions. No plugins that require permissions are working. Here is my config file and error: http://pastebin.com/tUXQM6jk
    My other config files are the default besides these lines:
    permissions:
    system: default
    copies: Paradiso

    I think that is how you set it up... or at least how I understood it. Please help.
     
  19. Offline

    Kizashi

    Just asking, but will there be an update for this plugin anytime soon?

    Also, is the following error related to the permissions plugin?

    I can't build nor destroy things on certain blocks, but not all of them just some tiny places are blocked.
    As op everything is fine.

    I built this world as op before and then pasted it into a fresh folder with CB 617 and everything elese updated.
     
  20. Offline

    airsoftinva

    Um well... I didn't see a link to the Zip so i just downloaded the jar... Hope it works okay..
     
  21. Offline

    svict4

    Where it says
    click on the word download... :)
     
  22. Offline

    airsoftinva

    Now i feel like an idiot :eek:
     
  23. Offline

    Itssnowing

    @Gary Ervin
    Can you make sure there's not more to the error?
    Also, what's the Copies thing for?
     
  24. Offline

    Guenael

  25. Offline

    Jeffrey Eakle

    when i download the file it is not unzippable, its a jar file am i doing something wrong or whats happening?
    ty:)
     
  26. Offline

    Psycho Robot

    Click on the word "download" and not on the "jar only" link. The jar only gives you a... jar. Only.
     
  27. Offline

    NumerousWaffles

    22:05:58 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-617-
    g78ac8a8-b621jnks (MC: 1.4)
    22:05:59 [INFO] Invalid config file found and converted to proper name/format.
    22:05:59 [INFO] [Permissions] (Phoenix) was Initialized.
    22:05:59 [INFO] [Permissions] version [2.5.5] (Phoenix) loaded


    idk what it means by
    Invalid config file found and converted to proper name/format.
    but permissions only works for default... makes me sad face

    Also it gives me little errors like "missing prefix or suffix for admins"
     
  28. Offline

    Gary Ervin

    Yes, that is all the error. The copies thing is at the beginning of the config file and I wanted to make sure I was copying the permissions correctly from world to world.
     
  29. Offline

    Mush Man

    I have just installed Permissions. How do I add users to groups when I'm playing on the server? Will I need another plugin, and if so, what plugin is that?
     
  30. Offline

    prosay

    does this work for 1.4?
     
  31. Offline

    leetgamer

Thread Status:
Not open for further replies.

Share This Page