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

    Dragonntiger

    im going to turn my server into RPG and theres gonna be like about 37 different ranks, some people would be the same ranks so thats why i want individual prefixes, so only a few would have added characters to their name such as in Shadow of Israphel ;]

    Old_Peculier became Knight_Peculier
     
  3. Offline

    Jeyge

    I just saw your post over in the Essentials thread. I'm not sure how they will respond to that but they already do have individual prefixes and suffixes. And I worded what I said a little incorrectly. I think he actually said he didn't think they were working.
     
  4. Offline

    Dragonntiger

    gah, haha i pmed him about it but err i guess, uhm yeah i went to their live chat and one of the "star" people informed me that Essentials was only for group prefixes. If you could, as well as i am right now, test individual prefixes and work around essentials if you have them. It would be much appreciated ! x)
     
  5. Offline

    larissaroo

    I figured out my problem, my world.yml file was named world.yml.yml....

    I can't believe I missed that...
    Thank you for your help! ^.^
     
  6. Offline

    Dragonntiger

    if you download permissions, it should be in a zip/winrar file. In there, are some text documents, permissions.jar, and the permissions folder. In the permissions folder would hold RENAME-ME.yml, and you would simply rename it the name of your world folder
     
  7. Offline

    Jeyge

    That would be a problem with the P2 plugin and not Permissions. You fix it by adding ranks to every group. Take a look at the PermissionsPlus instructions for how to add the ranks.
     
  8. Offline

    Taylor179

    ooooooohh, thank you :D i couldn't figure it out, i thought it was permissions 2 :D:D:D thank you

    hey i updated everything and... it's all broken.. nobody has access to any commands...
    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:
        Visitor:
            default: true
            info:
                prefix: '&1VISITOR&1'
                suffix: ''
                build: false
            ingeritance:
            permissions:
        Citizens:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'gastronomic.player.checkhunger'
                - 'gastronomic.player.checkfood'
                - 'lwc.protect'
                - 'mcmmo.commands.ability'
                - 'mcmmo.ability.*'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.skills.*'
                - 'essentials.help'
                - 'essentials.rules'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'jobs.job.*'
                - 'citizens.general.*'
                - 'citizens.trader.*'
                - 'citizens.blacksmith.*'
                - 'citizens.healer.*'
                - 'citizens.wizard.*'
                - 'realshop.shop'
                - 'realshop.help'
                - 'realshop.info'
                - 'realshop.create'
                - 'realshop.delete'
                - 'realshop.give'
                - 'realshop.open'
                - 'realshop.close'
                - 'realshop.buy'
                - 'realshop.sell'
                - 'realshop.xbuy'
                - 'realshop.xsell'
                - 'realshop.marketitemsonly'
                - 'realshop.damageditems'
                - 'realshop.price.info'
                - 'realshop.price.display'
                - 'realshop.price.set'
                - 'realshop.price.del'
                - 'chaircraft.sit'
                - 'realshop.*'
                - 'sortal.warp'
                - 'sortal.coords'
                - 'shelfspeak.read'
                - 'shelfspeak.write'
                - 'shelfspeak.colors'
                - 'shelfspeak.lock.read'
                - 'shelfspeak.lock write'
                - 'deathmessageplugin.sendmessage'
                - 'deathmessageplugin.getmessage'
                - 'iConomyChestShop.shop.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: '&aAdvisor&a'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'gastronomic.admin.*'
                - 'gastronomic.player*'
                - 'lwc.protect'
                - 'mcmmo.*'
                - 'essentials.*'
                - 'signtrader.*'
                - 'gastronomic.player.checkhunger'
                - 'gastronomic.player.checkfood'
                - 'mcmmo.commands.ability'
                - 'mcmmo.ability.*'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.skills.*'
                - 'essentials.help'
                - 'essentials.rules'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.admin.*'
                - 'npc.admin'
                - 'npcx.fulladmin'
                - 'realshop.*'
                - 'pc.*'
                - 'sortal.*'
                - 'shelfspeak.*'
                - 'iConomyChestShop.admin'
                - 'lwc.*'
        God:
            default: false
            info:
                prefix: '&bKing&b'
                suffix: ''
                build: true
            ingeritance:
                - Admins
            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:
        xxpineapplexx:
            group: Admins
            permissions:
                - 'citizens.*'
        taylor179:
            group: Admins
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'citizens.*'
        innutendo:
            group: Citizens
            permissions:
                - '-derp.derp'
        somefatchick:
            group: Citizens
            permissions:
                - 'hurdur'
        theam677:
            group: Citizens
            permissions:
                - 'hurdur'
        PURE_dragoon:
            group: Citizens
            permissions:
                - 'hurdur'
        zirmitra:
            group: Citizens
        ImmenseCarpet:
            group: Citizens
        smankwald:
            group: Citizens
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  9. Offline

    Psycho Robot

    I snipped all but the relevant code. first off, you misspelled "inheritance" in this group, second, do not have it inherit any group, because they already have access to every command. If you give them access to every node, then inherit nodes from another group, then you're giving them nodes twice, and that makes permissions go crazy.
     
  10. Offline

    Taylor179

    ok, i fixed that, but it still isn't giving anyone access to any commands???
     
  11. Offline

    Psycho Robot

    I found more cases of duplicated nodes,

    First off, you give your citizens a bunch of realshop nodes, then later give them "realshop.*". Give them either one or the other.

    Second, you give your citizens "gastronomic.player.blahblah", and you have your admins inherit citizens. This means that admins also have "gastronomic.player.blahblah". However you also give admins "gastronomic.player.*" meaning that you're duplicating nodes there as well. Remove "gastronomic.player.*" from admins and assign them all "gastronomic.player.blahblah" nodes individually EXCEPT those which were give to citizens.

    As I'm looking through, you repeat the second mistake a lot, and fixing it will be a lot of work (since you can't use plugin.*, you have to list each node individually). I think that it might be easier for you to turn inheritance off for your admins, give them all nodes using '*', then removing individual nodes you don't want them to access using

    Code:
            - '-permission.node'
     
  12. Offline

    Taylor179

    still...?
    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Citizens:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'gastronomic.player.checkhunger'
                - 'lwc.protect'
                - 'essentials.help'
                - 'essentials.rules'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'chaircraft.sit'
                - 'sortal.warp'
                - 'sortal.coords'
                - 'shelfspeak.read'
                - 'shelfspeak.write'
                - 'shelfspeak.colors'
                - 'shelfspeak.lock.read'
                - 'shelfspeak.lock write'
                - 'deathmessageplugin.sendmessage'
                - 'deathmessageplugin.getmessage'
                - 'iConomyChestShop.shop.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: '&aAdvisor&a'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-gastronomic.disablehunger'
    users:
        xxpineapplexx:
            group: Admins
            permissions:
                - 'citizens.*'
        taylor179:
            group: Admins
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'citizens.*'
                - '*'
        innutendo:
            group: Citizens
            permissions:
                - '-derp.derp'
        somefatchick:
            group: Citizens
            permissions:
                - 'hurdur'
        theam677:
            group: Citizens
            permissions:
                - 'hurdur'
        PURE_dragoon:
            group: Citizens
            permissions:
                - 'hurdur'
        zirmitra:
            group: Citizens
        ImmenseCarpet:
            group: Citizens
        smankwald:
            group: Citizens
     
  13. Offline

    Jeyge

    Are you getting any errors in your console? Is it everyone or only some of the people and which commands or pretty much all of them?

    Edit - oh, one more question. Which version of Permissions are you running?
     
  14. Offline

    Taylor179

    2.7.1, no errors in console, only commands are /money! and xxpineapplexx has /help as well. all people are having the problem but me (i have full permissions)

    EDIT: just tried 2.7.3 same thing
     
  15. Offline

    Jeyge

    :( 2.7.1 has major problems and I wish they would take it down. Update to 2.7.3 and I'll bet you won't have any problems anymore.
     
  16. Offline

    Taylor179

    oh... i tried latest build... it's working... thank you for everything :D <3 <3 <3 you are the best and thanks for the speedy responses
    :D:D:D
     
  17. Offline

    Psycho Robot

    I looked over your config some more and identified some issues. First, you have "shelfspeak.lock(space)write" when I'm pretty sure you meant "shelfspeak.lock.write". Second, currently you have admins set up to have full access to all plugins, including citizens, except for the ability to disable hunger. Therefore, when you give user xxpinapplexx and taylor 179 the citizens.* node, you're duplicating those nodes. Second, you have an extra * node given to taylo179 which you should delete
     
  18. Offline

    Taylor179

    23:31:18 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:384)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
    at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    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:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     
  19. Offline

    Psycho Robot

    Have you made teh changes outlinned in the post above yours?
     
  20. Offline

    MrKrucible

    Ok guys... guests visitors friends moderators and some admins can't use /spawn please help. here is my general and permissions files.

    Permissions
    Code:
    plugin:
        permissions:
            system:
    groups:
        Guest:
            default: false
            info:
                prefix: '&2'
                suffix: null
                build: true
            inheritance: Visitor
            permissions:
            - lwc.protect
            - general.spawn
        Visitor:
            default: true
            info:
                prefix: '&5'
                suffix: null
                build: false
            inheritance: null
            permissions:
            - general.spawn
        Land Lord M:
            default: false
            info:
                prefix: '&1'
                suffix: null
                build: true
            inheritance:
            - Moderator
            permissions: null
        Land Lord A:
            default: false
            info:
                prefix: '&4'
                suffix: null
                build: true
            inheritance:
            - Admin
            permissions: null
        Moderator:
            default: false
            info:
                prefix: '&1'
                suffix: null
                build: true
            inheritance:
            - Friend
            permissions:
            - general.*
            - mywarp.*
            - kiwiadmin.*
            - myhome.*
            - tombstone.*
            - lwc.mod
            - guestprev.is.admin
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: null
                build: true
            inheritance:
            - Moderator
            permissions:
            - general.*
            - mywarp.*
            - kiwiadmin.*
            - myhome.*
            - citizens.*
            - tombstone.*
            - lwc.admin
            - creaturebox.*
        Friend:
            default: false
            info:
                prefix: '&3'
                suffix: null
                build: true
            inheritance:
            - Default
            permissions:
            - tombstone.*
            - general.*
            - mywarp.*
            - myhome.home.basic.*
            - myhome.home.soc.*
            - lwc.protect
        Owner:
            default: false
            info:
                prefix: '&6'
                suffix: '&6'
                build: true
            inheritance:
            - honored Admin
            permission:
            - '*'
        Honored Admin:
            default: false
            info:
                prefix: '&6'
                suffix: '&6'
                build: true
            inheritance:
            - land lord a
            permission:
            - '*'
    users:
        mrkrucible:
            group: Owner
            permissions: null
        slimdevin:
            group: Honored Admin
            permissions: null
        mikeym:
            group: Honored Admin
            permissions: null
        death_cycle:
            group: land lord a
            permissions: null
        wafflezzman:
            group: moderator
            permissions: null
        xdreadreaper:
            group: moderator
            permissions: null
        gman1234rose:
            group: Admin
            permissions: null
        matrecon123:
            group: land lord a
            permissions: null
        b24jhon:
            group: friend
            permissions:
            - general.spawn
        00snipa:
            group: friend
            permissions:
        harry_staines:
            group: guest
            permissions: null
        duckbomb435:
            group: moderator
            permissions:
        buzzkill37:
            group: guest
            permissions:
        kerutheminer:
            group: guest
            permissions:
        maskedtrash:
            group: guest
            permissions: null
        gemogee:
            group: guest
            permissions: null
        jakester03:
            group: guest
            permissions:
        pwnsilentninja:
            group: guest
            permissions:
        thehilg:
            group: guest
            permissions:
        whocarrot:
            group: guest
            permissions: null
        kino373:
            group: moderator
            permissions: null
        mattcas88:
            group: friend
            permissions:
        dark97night:
            group: guest
            permissions:
        panda4688:
            group: guest
            permissions:
    General
    Code:
    # The ops-only flag is used if the permissions system is set to Basic, and specifies which actions
    # should be restricted to ops. If any other permissions system is specified, it is ignored.
    # Valid permission systems: Basic, Permissions, GroupManager, WorldEdit, CraftBukkit
    
    permissions:
      system: Permissions
      ops-only:
       - general.time.set
       - permissions.system
       - general.teleport
       - general.teleport.other
       - general.teleport.coords
       - general.teleport.other.mass
       - general.summon
       - general.give
       - general.give.infinite
       - general.give.group.notitem
       - general.give.group.bedrock
       - general.give.group.fluid
       - general.spawn.set
       - general.spawn.other
       - log-commands
       - general.getpos.other
       - general.clear.other
       - general.take.other
       - general.heal
       - general.mobspawn
       - general.kit.<kitname>
       - general.kit-now
       - general.admin
    
    # This section lets you restrict certain items to particular groups in the /give command.
    # The default configuration shown here restricts items that either are not an item (ie they
    # have a different ID for the corresponding inventory item) or are duplicates of another
    # item (eg the burning furnace). It also restricts bedrock and fluids.
    #
    # Note that this only blocks the user from using the /give command to get these items.
    # If they are obtained in any other way, there is nothing to prevent the user from
    # placing them. Use WorldGuard for that.
    #
    # The others-for-all setting specifies whether items not in a group are accessible by default.
    # If false, items not in a group can be considered as belonging to the group "other".
    
    give:
      groups:
        notitem: [26, 55, 59, 62, 63, 64, 68, 71, 74, 75, 83, 90, 93, 94]
        bedrock: [7]
        fluid: [8, 9, 10, 11]
      others-for-all: true
    
    playerlist:
      show-health: true
      show-coords: false
      show-world: true
    
    # If true, show the message of the day on login.
    show-motd: true
    
    time:
      format-24-hour: true
      show-ticks: true
    
    # This section is for if you want economy enabled. Currently the only accepted option is system,
    # which should be either None or iConomy.
    
    economy:
      system: None
      commands:
        timeset: 0
        heal: 0
        mobspawn: 0
        kit: 0
      items:
        351: 0
        276: 0
        # etc
    
    # The format that a chat message's first word must take for General to assume that the player
    # may be tagging another player. For example, if you set it to '@name', it will use Twitter-style
    # tagging. Tagging currently only means that the tagger will be informed if the player is away.
    tag-fmt: 'name:'
     
  21. Offline

    imaxorz

    Feature Request

    It would be nice if the world copies only copied the player list and what group they belonged you, and allowed you to edit permissions per world, so its possible to have different permissions in different worlds.

    I realize it is possible to do this, but maintaining 3 different permissions files is a hassle especially when adding new players, that means every time you have to copy it from one file into other ones manually.
     
  22. Offline

    SweanS

    I can't use any command,
    if i try i don't see something in the chat like: no permissions to do that
    and also nog on the server like: SweanS tried command: [command]
     
  23. Offline

    SeeD419

    Okay, after being bludgeoned in Essentials chat about how "Permissions was SO outdated" and assured that GroupManger would never go inactive, I switched to groupmanager. I'm not sure what the status of it is, but it still works atm, I'm just planning ahead. Now, Essentials used to have a /mod command to let you edit permissions in-game, but they told me they removed it for 'security reasons' and won't be adding it back. In groupmanager I can simply do /manuadd to approve new players.

    Whew, to my question, and it should be simple enough, lol, epic amount of commas, is there an in-game permissions modification command with this plugin?
     
  24. Offline

    Psycho Robot

    Permissions plus is a plugin which can accomplish what you're looking for. And outdated? I don't see how that makes any sense. I think they're just talking out their ass because its cool to bash Permissions or something.
     
  25. Hello All

    I need help. I've been trying for hours now to get permissions to do as I want in terms of assigning permissions but everything I try just gets ignored.

    I try removing the shock command from commandbook as it's nasty by doing:
    - '-commandbook.shock'
    - '-commandbook.shock.others'
    and it makes no difference. Not only that but people that don't have the shock permission have the shock permissions:

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.call'
        Moderator:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-commandbook.shock'
                - '-commandbook.shock.others'
    in an attempt to find out what's going on I tried putting prefixes on the group chats but none of them get applied, I also find when I change the group a user belongs to they don't change. This screams to me that the file is cached somewhere and the one I want to reference isn't being referenced. I really like this mod and could really do with some help.

    Also there are no error's on the console.
     
  26. Offline

    SeeD419

    Haha that was when GM first came out ;)

    Idk...people say things that make me wonder sometimes, lol.
     
  27. Offline

    kerod

    umm...
    i keep on trying to fix this but it never does
    could someone take a look at it?

    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:sortal
        permissions:
                - sortal.createwarp
                - sortal.placesign
                - sortal.delwarp
                - sortal.register
                - sortal.setprice
                - sortal.warp
                - sortal.coords
            system: default
            copies:
    plugin:IBICF
        permissions:
                - IBICF.fly
            system: default
            copies:
    plugin:IBICF
        permissions:
                - pvpreward
                - pvpreward.getreward
                - pvpreward.givereward
                - pvpreward.admin
            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: true
            inheritance:
            permissions:
                - pvpreward.getreward
                - pvpreward.givereward
                - iMiner.use
                - sortal.warp
                - sortal.coords
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            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:
        kerod:
            group: default
            permissions:
                - pvpreward.admin
                - sortal.createwarp
                - sortal.placesign
                - sortal.delwarp
                - sortal.register
                - sortal.setprice
                - IBICF.fly
        Herpina:
            group: Moderator
    thanks
     
  28. Offline

    rennbahncookie

    hellooo there.
    im having some problems as well. everything used to work fine for a long time and after some updates everything got worse :\. no one has commands. someone take a look please?
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: '&f[Newbie]'
                suffix: '&7'
                var1: '&7+message'
                build: false
                rank: 1
            inheritance: null
            permissions:
            - essentials.help
            - essentials.helpop
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.spawn
            - magiccarpet.mc
            - deathmessageplugin.sendmessage
            - deathmessageplugin.getmessage
        Builder:
            default: false
            info:
                prefix: '&5[Builder]'
                suffix: '&e'
                var1: '&f+message'
                build: true
                rank: 2
            inheritance:
            - Default
            permissions:
            - essentials.afk
            - essentials.back.death
            - essentials.balance
            - essentials.chat.shout
            - essentials.home
            - essentials.kit
            - essentials.kit.tools
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.msg
            - essentials.nick
            - essentials.pay
            - essentials.portal
            - essentials.protect
            - essentials.sethome
            - essentials.signs.buy.use
            - essentials.signs.disposal.create
            - essentials.signs.disposal.use
            - essentials.signs.free.use
            - essentials.signs.heal.use
            - essentials.signs.mail.create
            - essentials.signs.mail.use
            - essentials.signs.protection.create
            - essentials.signs.protection.use
            - essentials.signs.sell.use
            - essentials.signs.trade.create
            - essentials.signs.trade.use
            - essentials.suicide
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - ichat.color
            - nSpleef.member.*
            - towny.wild.*
            - lwc.protect
        Moderator:
            default: false
            info:
                prefix: '&f[&2Mod&f]'
                suffix: '&3'
                var1: '&f+message'
                build: true
                rank: 3
            inheritance:
            - Builder
            permissions:
            - essentials.back
            - essentials.ban
            - essentials.banip
            - essentials.broadcast
            - essentials.compass
            - essentials.delwarp
            - essentials.depth
            - essentials.eco
            - essentials.getpos
            - essentials.jump
            - essentials.kick
            - essentials.kill
            - essentials.setwarp
            - essentials.time
            - essentials.togglejail
            - essentials.top
            - essentials.tp
            - essentials.tpdeny
            - essentials.tphere
            - essentials.tpo
            - essentials.tpohere
            - essentials.tppos
            - essentials.tptoggle
            - essentials.unban
            - essentials.unbanip
            - essentials.whois
            - essentials.world
            - groupmanager.listgroups
            - groupmanager.mandemote
            - groupmanager.manload
            - groupmanager.manpromote
            - groupmanager.mansave
            - groupmanager.manselect
            - groupmanager.manuadd
            - groupmanager.manudel
            - lwc.mod
        SemiAdmin:
            default: false
            info:
                prefix: '&f[&4SemiAdmin&f]'
                suffix: '&b'
                var1: '&f+message'
                build: true
                rank: 4
            inheritance:
            - Moderator
            permissions:
            - essentials
            - essentials.clearinventory
            - essentials.cooldown.bypass
            - essentials.deljail
            - essentials.ext
            - essentials.give
            - essentials.god
            - essentials.heal
            - essentials.heal.others
            - essentials.invsee
            - essentials.item
            - essentials.jails
            - essentials.kickall
            - essentials.kit.*
            - essentials.mute
            - essentials.setjail
            - essentials.signs.disposal.create
            - essentials.spawmob
            - essentials.togglejail
            - permissions.group
            - permissions.group.perms
            - delayedstop.start
            - delayedstop.cancel
            - bb.admin.*
            - nSpleef.admin.*
            - towny.admin
            - lwc.admin
            - worldguard.*
            - '*'
            - blockpaint.general
        Admin:
            default: false
            info:
                prefix: '&f[&4Admin&f]'
                suffix: '&a'
                var1: '&f+message'
                build: true
                rank: 5
            inheritance: null
            permissions:
            - '*'
            - deathmessageplugin.sendmessage
    users:
        Cookiejar1205:
            group: Admin
            permissions: null
            info:
                prefix: ''
                var1: ''
                suffix: ''
        SkKillerbean:
            group: SemiAdmin
            info:
                prefix: ''
                suffix: ''
            permissions: null
        LeaDeMoon:
            group: Moderator
            permissions: null
        Trace4arms:
            group: Moderator
            permissions: null
        ThatOtherBrownGuy:
            group: Builder
        BULLET-55:
            group: Builder
            permissons:
            - essentials.jump
            - essentials.compass
        MinecraftJunky23:
            group: Builder
        JayJay7788:
            group: Builder
        player:
            group: Builder
        Lindapotet:
            group: Builder
        Kake900:
            group: Builder
        robhad:
            group: Builder
        scar:
            group: Default
        scar_symmetry17:
            group: Builder
        Haagen-Dazs:
            group: Builder
        Hagen-Dazs:
            group: Builder
        Gibbsion:
            group: Default
        Gibbson:
            group: Builder
        willi9733:
            group: Builder
        lime:
            group: Builder
        limewire:
            group: Default
        planB619:
            group: Builder
    
    heyyyy there i think i found your problem. i think your missing the rank system. check my file above. you'll see "rank: #" below "build:"

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

    rcjrrjcr

    That's something PermissionPlus uses. It is not needed for Permissions.
     
  30. Offline

    mbuettner

    Hey Guys,
    when I try to use Permissions, the following error occurs:
    Code:
    2011-05-18 16:29:50 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    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:164)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: while parsing a block mapping
     in "<reader>", line 1, column 1:
        groups:
        ^
    expected <block end>, but found BlockMappingStart
     in "<reader>", line 43, column 4:
           noname:
           ^
    
        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.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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 13 more
    2011-05-18 16:29:51 [SEVERE] Could not load 'plugins\General.jar' in folder 'plugins': Permissions
    org.bukkit.plugin.UnknownDependencyException: Permissions
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:129)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Why does this error occur? I'm using Bukkit #766 with Permissions for build 766.
     
  31. Offline

    Lupo cani

    I would like some more in-game control of the groups. It is pretty anoying to config that yml-file as fast as I get a new player.(This has probably been suggested before, but this thread has 197 pages, and I don't have time to read them all)
     
Thread Status:
Not open for further replies.

Share This Page