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

    MLBKing

    I need help guys. What happens is i used to have Permissions working fine. Then the update came. Now, instead of saying this "[Admins] MLBKing:" in all the colors i wanted "i have iChat", now it says "[] MLBKing:" with no colors. What am i doing wrong?
     
  3. Offline

    Tebbs

    It just says: 'An internal server error occured while attempting to perform this command'.
    Sorry this is baffling.
     
  4. Offline

    llamalords

    Is there a way to do '*' and exclude some permissions from it?
     
    muCkk likes this.
  5. Offline

    Rick Myers

    ok. here goes.

    1. http://pastebin.com/QFEXSDpQ

    2. If I delete the permisions config.yml file then the server would say I'm missing a config file and has no data file.
    I'm probalby missing something on how to setup the permisions useing groupmanager. Any help would be great on setting this up.
     
  6. Offline

    TheYeti

    No tabs, use spaces. Notepad++ is a good choice for editing these files as you can change the tab to be 4 spaces instead. Here is a fixed version http://pastebin.com/2k2sa29q

    @Coelho While I respect your opinion on the matter and you make a valid point I also received a lot of argument for adding into into Permissions directly. I can see both sides of the matter though and if there is enough backlash over adding AntiBuild directly in then I will revert it and provide it as a separate plugin. I leave it up to the community as they are the ones who are using this plugin. Also, thank you for being condescending. Without you telling me about it I never would have known that having something split into different plugins provides modularity and circumvents a single point of failure scenario. So sorry that I disappointed you.
    --- merged: Mar 1, 2011 9:44 PM ---
    Make sure to rename the config.yml file to the name of your world. So if the level-name from sever.properties is set to world then you would need to name the config file world.yml
    Also, you do not need to have the following in your Admin section:
    Code:
    inheritance:
                - Moderator
    
    This overloads that particular group and can cause issues until I get overload checking in.
     
  7. Offline

    moz_the_spartan

    Hi there, I appear to be having a slight problem with getting permissions to work with multiverse. I've attempted a couple of searches to no avail. Anyway, I can't transfer permissions to my second world (a nether world). I've altered the name of the main world to be different from the default of 'world' and added the new name to copies in the config file. However whenever I move into the second world and attempt to create portals to get home I receive a 'you don't have permission to do that' kind of message. Just wondering what file I need to edit to copy the permissions successfully? Thanks for any help in advance!
     
  8. Offline

    muCkk

    hey,
    since i updated from 2.4 to 2.5.1 i get this error everytime i destroy a block:
    Code:
    [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:627)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:45)
        at org.bukkit.plugin.java.JavaPluginLoader$31.execute(JavaPluginLoader.java:282)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:59)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:348)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        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)
    world.yml at pastebin
     
  9. Offline

    TheYeti

    Your name world config file should be named the same as the world itself. So if the main world is named world in the server.properties file under level-name: then your Permissions config file should be world.yml Then inside of the nether world (which should be named whatever the nether world is, so nether.yml if that is it's name) you put copies: world
     
  10. Offline

    Tebbs

    Alright, sorry for posting again but I have edited it several times and it is still not working, please look at this http://pastebin.com/h5EWRkXy
     
  11. Offline

    TheYeti

  12. Offline

    booyaboy93

    Help!!!

    when i download ( using firefox) i put the permissions.jar file into the plugins folder, than if i extract it right there it will give me more than one file :O and the permissions folder is there but when i open its empty :O please help!!!!! where i get the config.yml file??????


    For the admins
    First thing that you will need to do is download the plugin. Place it in your plugins/ folder and unzip it. This should create the folder Permissions and a Permissions.jar file in your plugins folder. Next, go into Permissions/ and rename the config file that is in there to the name of your world. So if your world name from server.properties is Foo you will need to rename the config file to Foo.yml. You MUST rename it to whatever your worlds name is or it will not work.
     
  13. Offline

    TheYeti

    @booyaboy93 Don't download the JAR and extract it. Download the ZIP file and extract that one. The JAR download is mostly for people who are already using Permissions and just need to upgrade their version.
     
  14. Offline

    woodymc

    I probably sound like an idiot but im not 100% sure how you set this up well the permission part that is anyone able to help or even possibly set it up for me lol
     
  15. Offline

    Nato

    Okay. Would somebody mind telling me how to do this? where do i edit the config files for permissions? I know i sound like an idiot but this truely is very confusing to someone who has no experience in this kind of stuff. I now know how it works but i dont know how to set up the permissions file and stuff. PLEASE HELP! D:
     
  16. Offline

    bwl

    You shouldn't be running a server.
     
    TheYeti likes this.
  17. Offline

    muCkk

    fixed it. permissions 2.4 had the yml in the server folder. 2.5.1 has it in plugins/permissions

    @Nato & @woodymc:
    1. download Permissions.zip
    2. unzip it in server_folder/plugins
    3. go to server_folder/plugins/permissions and rename "RENAME-ME.yml" to the name of your world. for example myworld.yml
    4. open the *.yml and edit it. its all explained in there
     
  18. Offline

    woodymc

    muckk ive done that but for some reason the defautl settings get no commands or basicly all of them. Any idea why this might be happening

    ive added my permission file if thats any help.
    http://pastebin.com/27SP1Exk
     
  19. Offline

    Jdog653

    I just downloaded 2.5.1 (but it doesn't say that on loading screen, it just says 2.5 btw) and my permissions doesn't work for me. I can use some commands, but not others (such as super pick). i'm in aposition where i have all permissions and dont know what to do. My users (Citizens) can't use their permissions either and are getting very restless. PLEASE HELP SOON

    EDIT: I forgot to add my permissions file :)
    http://pastebin.com/AcT1EyW5
     
  20. Offline

    YoungFly

    Hey. Since I updated my Permissions and got GroupManager, i cannot use the command /mod to set someone in the admin group. I also tried manually by adding their names on data.yml and they still cant get the admin powers.

    I am using Permissions and GroupManager and also used /mod being in the ops.txt.
     
  21. Offline

    muCkk

    @woodymc: i see you are using mywarp. for me mywarp isn't working, but all other plugins do. the mywarp thread says its because of the new version of permissions. guess we have to wait for an updated version of mywarp. myhome could have the same problem.
    or does anyone knows a solution?
     
  22. Offline

    Nervous

    Hey guys ! I've a problem.. Here is my config.yml: http://pastebin.com/WS0XgV8F
    My problem is: All my players have the right commands, but me, as owner, or admin, can't /lwc or have access to home commands.
    I also tried with an inheritance with default, also with no owner group etc...
     
  23. Offline

    endofzero

    You seem to have an old line in your disable function reporting the wrong version.

    Only thing that shows during startup:
    2011-03-01 16:10:13 [INFO] [Permissions] version [2.4] (Phoenix) was Initialized.

    During shutdown:
    2011-03-01 16:44:21 [Permissions] version [2.0] (Phoenix) disabled successfully.
    2011-03-01 16:44:21 [Permissions] version [2.4] (Phoenix) disabled successfully
     
  24. Offline

    moz_the_spartan

    ah I see, what an idiot. Thank you for the help Yeti, much appreciated. I can see you are very busy on here! Keep up the good work man
     
  25. Offline

    cjc343

    try this (open)
    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   Does not work for the default world.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    plugin:
        permissions:
            system: default
            copies: 
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'signtrader.makeGlobalSign'
                - 'signtrader.makePersonalSign'
                - 'signtrader.admin.breakAnySign'
                - 'signtrader.use'
                - 'lwc.protect'
                - 'herochat.create'
                - 'herochat.remove'
                - 'myhome.home.soc.public'
                - 'myhome.home.soc.private'
                - 'myhome.home.soc.list'
                - 'myhome.home.soc.list'
                - 'myhome.home.basic.*'
                - 'myhome.home.soc.invite'
                - 'myhome.home.soc.uninvite'
    Admins:
            default: false
            info:
                prefix: '&cAdmin&7'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - '/stopfire'
                - '/god'
                - '/heal'
                - '/slay'
                - 'lwc.mod '
                - 'lwc.admin'
                - 'mcbans.kick'
                - 'mcbans.lookup'
                - 'mcbans.view_ban'
                - 'mcbans.unban'
                - 'mcbans.ban.local'
                - 'mcbans.ban.global'
                - 'mcbans.admin'
    Owner:
            default: false
            info:
                prefix: '&cAdmin&7'
                suffix: ''
                build: true
            inheritance:
            permissions:
            - '*'
    #
    ##
    #
    # Users denote which users are included in which group.
    #
    # Tebbs is in the owner group
    #
    # Kurtisware69 is a member of the mod group but also has access
    #
    # to the herp.derp permissions
    #
    # Derpina is a member of the admin group but does not have access
    #
    # to the derp.derp permission node
    #
    ##
    users:
        Linkbleu:
            group: Owner
            permissions:


    It sounds like there might be issues with MyHome interactions though. I haven't tested yet myself.

    Can't use GM and Permissions. Pick one.

    /mod is not a Permissions command.

    Since you haven't defined any Inheritance, it's hard to tell what permissions you actually want each group to have. Without inheritance, they get only the commands explicitly defined.

    Also, you've got several commands 'removed' from Default that were never present to begin with.

    Either remove the extra - in order to make them permissions and not anti-permissions, or remove the lines altogether.
     
  26. Offline

    KillerBunnys122

    Wait I'm confused. Do I have to download AntiBuild with this version of permissions or not?

    You should have links to the small plugins that prettymuch rely on this plugin to work at all like.

    iChat - I see you have already done this one.
    iStick
    General - Commandbook is good for this!
    Antibuild - I see this is no longer needed.

    P.S. You should also update these plugins so Bukkit stops telling me to tell the author to fix it. Oh and so they work/work better.
     
  27. Offline

    shane3x

    I would definitely appreciate any assistance with v2.4 issues (not updating it until other plugins support it)
     
  28. Offline

    RustyDagger

    Uh error spam and plugins not working due to it. CB 474 perm 2.5.1 Place a block and this happens.

    Code:
    2011-03-02 12:13:43 [SEVERE] Could not pass event BLOCK_PLACED to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:627)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:24)
        at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.java:227)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:107)
        at net.minecraft.server.ItemStack.a(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:160)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:482)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  29. Offline

    Novemberman

    could someone point me towards the ingame commands to change players from one group to an other ?
     
  30. Offline

    muCkk

    @RustyDagger did you put the .yml in serverfolder/plugins/permissions ?
    had the same problem after updating
     
  31. Offline

    RustyDagger

    I only downloaded the jar... I have all my worlds done O shit i know what the problem is a bet
    Uh me and my test server i didnt rename the config file to the test servers map name :eek: BRB ima go try that

    I had it all set up for the live server map names

    Yep that fixed it cheers m8
     
Thread Status:
Not open for further replies.

Share This Page