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

    puyttre

    I've tested it with all builds, tried removing all other plugins to see if they were impacting it, checked directions again numerous times, and it still gets the same error.
     
  3. Offline

    Ardobras

    @TheYeti I tried to setup a sever with exactly the same config like your example but i get the same error like all the other guys in here... please make a few more tests...

    Maybe 64 bit OS
    or different OS
    or with a few other plugins like iConomy or Worldguard ...

    THX
     
  4. Offline

    thorncrown

    Hey! Does anyone know the "worldguard permissions"? I wanna give a group access to the commands "/region info, region addmember, region deletemember"!

    I tried
    - 'worldguard.region.info' etc.
    Didn't work!

    Help!
     
  5. Offline

    FiraGun90

    Anybody know my problem? I get
    My YML file
     
  6. Offline

    leetgamer

    Then you probably need to give slightly more detailed instructions in the OP. If the last 3 pages are all filled with people's servers not working, something has to be wrong. :/ You've been so helpful in taking over this plugin already, and we understand you are on vacation, but simply telling us "this works" isn't helping those of us who have problems.
     
  7. Offline

    puyttre

    Yes, would you mind reading all of the posts above yours?
     
  8. Offline

    saturnine_nl

    put all your permission rules in ' ... ' like this - 'plugin.rule'
     
  9. Offline

    Triggjo2

    Could you teach me how to do that cause that would be helpful thanks
     
  10. Offline

    Noctis Akatsuki

    What is the command I have to add in the config, to make other players able to use /listplayers?
     
  11. Offline

    leetgamer

    @Noctis Akatsuki You are the second person I've pointed to the OP. Seriously, read the plugin's post before bothering the already busy plugin programmers.

     
  12. Offline

    Eric1212

  13. Offline

    killraven

    Does setting build=false keep people from mining as well as placing new blocks?
     
  14. Offline

    TheYeti

    @killraven Yes. They can still use items though so switches, doors, buckets, etc. Would still be useable.
     
  15. Offline

    Adam Hrynewycz

    Keep getting

    "BOSEconomy: could not locate Phoenix Permissions plugin. Option 'phoenix-permissions' will not be used.
     
  16. Offline

    Nurama

    Okay so let's say I have one guy that I want as a default user but I want to give him the power to /give. How do I do this?
     
  17. Offline

    Noctis Akatsuki

    Calm down there mr. asshole. It was a simple question asked, and I read the op more then once. Since you could use that command on hey0 without beeing a op, I didnt think it was a op command. If you're so annoyed of questions like that, and even bothers to reply with a longer answer then what the original question asks. I'd suppose you could find something else to do.

    And as I seem if it was possible. I bet there were many more people that could help me with it, and not only the "op".
     
  18. Offline

    Peter Jensen

    I have some problems with OPs.txt


    can i do something about OPs.txt before I can use the Permissions 100%
     
  19. Offline

    puyttre

    That is a different plugin... go tell BOSEconemy that you get this error...
     
  20. Offline

    Moronmaster

    I know i'm going to catch some fire for this, but being the lazy bum that i am, here goes:

    I have two groups, one "Moderator" group, and one "Admin" group. Since i have a lot of plugins installed, i don't really want to go through everyone for their permissions. So therefore, i want to give the "Moderator" group all commands ('*') EXCLUDING some select commands. How would i go about to set that?

    Here is a sample of my config.yml:

    Code:
    Moderator:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance: ''
            permissions:
                - '*'
                - -essentials.essentials
                - -essentials.reloadall
                - -essentials.gc
                - -essentials.spawnmob
                - -essentials.broadcast
                - -essentials.antioch
                - -essentials.kill
                - -essentials.ban
                - -essentials.banip
                - -essentials.kickall
                - -essentials.unban
                - -essentials.unbanip
                - -essentials.togglejail
                - -essentials.jail.exempt
                - -essentials.setjail
                - -essentials.setspawn
    However, Moderators still get all the commands available from Essentials. Any ideas?
     
  21. I believe they all have to be enclosed in single quotes. In my config file
    Code:
    - '-essentials.essentials'
    works fine
     
  22. Offline

    Adam Hrynewycz

    lol oops ya your right i was tired yesterday
    lol
     
  23. Offline

    qrux

  24. Offline

    zaklampje


    Thnx, but I still got one problem...


    Code:
    2011-03-21 18:08:17 [INFO] Starting minecraft server version Beta 1.3
    2011-03-21 18:08:17 [WARNING] **** NOT ENOUGH RAM!
    2011-03-21 18:08:17 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-03-21 18:08:17 [INFO] Loading properties
    2011-03-21 18:08:17 [INFO] Starting Minecraft server on *:25565
    2011-03-21 18:08:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-543-g06a64ab-b554jnks (MC: 1.3)
    2011-03-21 18:08:17 [INFO] Preparing level "mythworld"
    2011-03-21 18:08:17 [INFO] Preparing start region
    2011-03-21 18:08:17 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        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: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:109)
        ... 8 more
    Caused by: java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:77)
        ... 13 more
    2011-03-21 18:08:17 [WARNING] Plugin: MonsterTamer does not support the onLoad() method
    2011-03-21 18:08:17 [SEVERE] [MonsterTamer]: Nijikokuns' Permissions plugin isn't loaded. Commands are usable by all.
    2011-03-21 18:08:17 [INFO] [MonsterTamer]: version [1.2] (Companions) loaded
    2011-03-21 18:08:17 [INFO] Done (0,080s)! For help, type "help" or "?"
    

    Wanna see more, like config files? Ask me...
     
    evan tome likes this.
  25. Offline

    leetgamer

    No need for name calling, sir. You just need to remember that this isn't hey0. Craftbukkit is essentially just a vanilla server that is able to be used with the plugins, so there are no extra commands in Craftbukkit itself. If you want those commands, you should try the Essentials plugin or General. (Was this a better answer?)

    What do you mean? What are your problems? If it helps any, I use permissions as well as having myself set as an OP (because I have my batch file set up as a loop so that /stop essentially resets the server). I haven't seen any issues (other than using /tp gives me back syntax errors but still works). I've seen no issues with permissions.

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

    evan tome

    i have the same problem but this happens with multiple plugins and i cant seem to get any to work :(
     
  27. Offline

    Jack Bartlett

    I'm also having these issues with the Permissions.jar not loading with the error message :Null
    Somebody help
    (I'm using CraftBukkit build 556 and permissions 2.4.5)
     
  28. Offline

    Superhykle

    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.
    #  If this file is for your default world (the one in server.properties) then you must
    #  leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # 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:
    #
    #      - 'foo.bar'
    #
    #  Otherwise errors will happen!
    ##
    #  Globalized Permission settings:
    #
    #      If a permission contains periods (.) you can denote a globalized parameter:
    #
    #          - 'foo.*'
    #
    #      This will allow you to use all general commands.
    #
    ##
    #  Single Asterisk denotes all commands:
    #
    #      - '*'
    #  If you give a group this permissions, do not have the group inherit any permissions
    #  from other groups.  Any users assigned to this group should NOT be given any additional
    #  permissions either.
    ##
    #  To exempt a node use the - prefix like so:
    #      - '-foo.bar'
    ##
    #  prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #  such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
            - 'essentials.spawn'
            - 'essentials.list'
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.msg'
        Trusted Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
        Trial Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator 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 can also have a prefix and suffix as seen with Herpina
    ##
    users:
    
        bear34:
            group: Admin
            permissions:
        gab0607:
            group: Admin
            permissions:
        sqweebel:
            group: Admin
            permissions:
        hm0123:
            group: Admin
            permissions:
        EpicSanta:
            group: Admin
            permissions:
        Toka:
            group: Admin
            permissions:
        OG_Moneystacks:
            group: Member
            permissions:
        brennanx1:
            group: Member
            permissions:
        dennisnagh:
            group: Member
            permissions:
        jk1ller:
            group: Member
            permissions:
        eastonch:
            group: Member
            permissions:
        teedalt:
            group: Member
            permissions:
        hunt106:
            group: Member
            permissions:
        mad_vv:
            group: Member
            permissions:
        emobreakdown:
            group: Member
            permissions:
        slymdi:
            group: Member
            permissions:
        msawchuk:
            group: Member
            permissions:
        hectormora:
            group: Member
            permissions:
        luke_is_1337:
            group: Member
            permissions:
        truefarvel:
            group: Member
            permissions:
        clintonius:
            group: Member
            permissions:
        zokas1992:
            group: Member
            permissions:
        kamfy:
            group: Member
            permissions:
        flobblem:
            group: Member
            permissions:
        roblox2minecraft:
            group: Member
            permissions:
        ipencil:
            group: Member
            permissions:
        nokitch:
            group: Trusted Member
            permissions:
        metroidfan180:
            group: Trusted Member
            permissions:
        brianlance:
            group: Trusted Member
            permissions:
        MagnusGL:
            group: Trusted Member
            permissions:
        Werelofe:
            group: Trial Admin
            permissions:
        haffa_e:
            group: Member
            permissions:
        Rallais:
            group: Member
            permissions:
        Kyhplz:
            group: Member
            permissions:
        Puffdot:
            group: Member
            permissions:
        Spike27mike:
            group: Member
            permissions:
        LoLTommyLoL:
            group: Member
            permissions:
        tyler4231:
            group: Member
            permissions:
        bluzebra:
            group: Member
            permissions:
        LGilar96:
            group: Member
            permissions:
    Hello, my permissions is bugging:( Members can use commands they shouldnt use(also trusted members, trial admins) and the default can build and use the same commands as members... anybody knows whats up?
    Here is my permissions file:
     
  29. Offline

    alienman298

    Can you update it to Bukkit version 556?

    u need to wait for a new version of permissions(keep the config file)

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

    Triggjo2

    Now im getting confused it should work is the file in your permissions folder the name of the world?

    What is the SSH for i run it off my computer

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

    Peter Jensen

    I will give a singel user give command, but it does not work
    I do not know if it could be something with OPs.txt


    and sorry for my bad english :'(
     
Thread Status:
Not open for further replies.

Share This Page