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

    JJoiler

    so i take no one knows how to fix my block_break and block_place error? i can still place blocks i just dont like the big the code is
     
  3. Offline

    zombiemann

    Disregard, I fixed it, NOOB mistake. Had been copy and pasting nodes and missed a closing quote..... not sure why it threw the error on a line I hadn't touched, but I fixed the missing quote and the error went away
     
  4. Offline

    Itssnowing

    I.. didn't? I don't use any sort of prefix/suffix thing :/
     
  5. Offline

    Jack Bartlett

    Nothing is working for me either...Itssnowing, did you find anything wrong in my config?
     
  6. Offline

    Scott

    Hey guys, I'm not sure what I did but every user is getting an "You don't have permission to do that." each time they right click, anything, anywhere. (Except for the uber/user because of the all permissions wildcard)

    Important note: They can still do whatever, they just get that message.

    I did just update to PermissionsPlus 1.4.1 earlier in the day as well.
    LWC 2.21

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        users:
            default: true
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - essentials.getpos
            - achievements.check
            - achievements.view.own
            - stats.view.playtime
            - stats.log
            - stats.view.own
            - petition
            - general.spawn
            - essentials.msg
            - essentials.afk
            - essentials.rules
            - essentials.motd
            - essentials.me
            - essentials.list
            - essentials.mail.send
            - essentials.helpop
            - essentials.help
            - essentials.signs.mail.use
            - essentials.signs.mail.create
            - essentials.spawn
            - lwc.protect
            - wormhole.use
            - wormhole.build
            - myhome.home.*
            - wormhole.use.sign
            - wormhole.use.dialer
            - wormhole.remove.own
            - wormhole.build
            - wormhole.list
            - iConomy.access
            - iConomy.payment
            - iConomy.rank
            - iConomy.list
            - AutoRepair.warn
            - AutoRepair.access
            - AutoRepair.info
            - AutoRepair.repair
            - essentials.kit.*
            - tombstone.use
            - tombstone.freechest
            - tombstone.large
            - tombstone.sign
            - tombstone.freesign
            - tombstone.quickloot
            - tombstone.lwc
            - iConomyChestShop.shop.use
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - iConomyChestShop.shop.create
            - war.player
            - worldguard.region.claim
            - worldguard.region.info
            - worldguard.region.addowner.*
            - worldguard.region.removeowner.*
            - worldguard.region.removemember.*
            - worldguard.region.addmember.*
            - worldguard.region.setparent.*
            - worldedit.selection.*
        mods:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - users
            permissions:
            - essentials.tp
            - essentials.tphere
            - general.player-info
            - essentials.unban
            - essentials.unbanip
            - essentials.ban
            - essentials.banip
            - stats.view.others
            - petition.warp-to-own
            - petition.warp-to-own-if-assigned
            - petition.moderate
            - essentials.kick
            - essentials.heal
            - essentials.whois
            - essentials.clearinventory
            - essentials.broadcast
            - lwc.mod
            - essentials.time
            - wormhole.remove
            - essentials.give
            - essentials.item
            - myhome.*
            - wormhole.config
            - wormhole.remove.all
            - iConomy.admin.stats
            - iConomy.admin.grant
            - iConomy.admin.account.create
            - iConomy.admin.account.remove
            - worldedit.navigation.*
            - war.build
            - worldguard.region.*
            - war.*
        ezco:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - mods
            permissions: null
        admins:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - mods
            permissions:
            - essentials.setspawn
            - essentials.time
            - essentials.essentials
            - essentials.reloadall
            - essentials.gc
            - essentials.plugin
            - essentials.spawnmob
            - essentials.kill
            - essentials.tree
            - essentials.bigtree
            - essentials.kickall
            - essentials.eco
            - lwc.admin
            - iConomy.admin.reset
            - iConomy.admin.set
            - iConomy.admin.hide
            - war.*
            - iConomyChestShop.shop.admin
            - tombstone.admin
        uber:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - '*'
        user:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        nanneh:
            group: admins
            permissions: null
        extant1:
            group: uber
            permissions: null
        TheMoleKing:
            group: user
            permissions: null
        EZPoli:
            group: ezco
            permissions: null
        ezjack:
            group: ezco
            permissions: null
        EZDecker:
            group: ezco
            permissions: null
        montyiii:
            group: users
            permissions: null
        nairbic:
            group: mods
            permissions: null
        armeh07:
            group: mods
            permissions: null
        lordcouty:
            group: users
            permissions: null
        colonoscopy:
            group: mods
            permissions: null
     
  7. Offline

    Jack Bartlett

    Use '-essentials.bigtree' (That was a example)
    I will fix, give me a few mins

    This should work, if it still gives you trouble, just post
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        [ReName, It has the same name]:
            default: true
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - 'essentials.getpos'
            - 'achievements.check'
            - 'achievements.view.own'
            - 'stats.view.playtime'
            - 'stats.log'
            - 'stats.view.own'
            - 'petition'
            - 'general.spawn'
            - 'essentials.msg'
            - 'essentials.afk'
            - 'essentials.rules'
            - 'essentials.motd'
            - 'essentials.me'
            - 'essentials.list'
            - 'essentials.mail.send'
            - 'essentials.helpop'
            - 'essentials.help'
            - 'essentials.signs.mail.use'
            - 'essentials.signs.mail.create'
            - 'essentials.spawn'
            - 'lwc.protect'
            - 'wormhole.use'
            - 'myhome.home.*'
            - 'wormhole.use.sign'
            - 'wormhole.use.dialer'
            - 'wormhole.remove.own'
            - 'wormhole.build'
            - 'wormhole.list'
            - 'iConomy.access'
            - 'iConomy.payment'
            - 'iConomy.rank'
            - 'iConomy.list'
            - 'AutoRepair.warn'
            - 'AutoRepair.access'
            - 'AutoRepair.info'
            - 'AutoRepair.repair'
            - 'essentials.kit.*'
            - 'tombstone.use'
            - 'tombstone.freechest'
            - 'tombstone.large'
            - 'tombstone.sign'
            - 'tombstone.freesign'
            - 'tombstone.quickloot'
            - 'tombstone.lwc'
            - 'iConomyChestShop.shop.use'
            - 'iConomyChestShop.shop.buy'
            - 'iConomyChestShop.shop.sell'
            - 'iConomyChestShop.shop.create'
            - 'war.player'
            - 'worldguard.region.claim'
            - 'worldguard.region.info'
            - 'worldguard.region.addowner.*'
            - 'worldguard.region.removeowner.*'
            - 'worldguard.region.removemember.*'
            - 'worldguard.region.addmember.*'
            - 'worldguard.region.setparent.*'
            - 'worldedit.selection.*'
        mods:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - users
            permissions:
            - 'essentials.tp'
            - 'essentials.tphere'
            - 'general.player-info'
            - 'essentials.unban'
            - 'essentials.unbanip'
            - 'essentials.ban'
            - 'essentials.banip'
            - 'stats.view.others'
            - 'petition.warp-to-own'
            - 'petition.warp-to-own-if-assigned'
            - 'petition.moderate'
            - 'essentials.kick'
            - 'essentials.heal'
            - 'essentials.whois'
            - 'essentials.clearinventory'
            - 'essentials.broadcast'
            - 'lwc.mod'
            - 'essentials.time'
            - 'wormhole.remove'
            - 'essentials.give'
            - 'essentials.item'
            - 'myhome.*'
            - 'wormhole.config'
            - 'wormhole.remove.all'
            - 'iConomy.admin.stats'
            - 'iConomy.admin.grant'
            - 'iConomy.admin.account.create'
            - 'iConomy.admin.account.remove'
            - 'worldedit.navigation.*'
            - 'war.build'
            - 'worldguard.region.*'
            - 'war.*'
        ezco:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - mods
            permissions: null
        admins:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - mods
            permissions:
            - 'essentials.setspawn'
            - 'essentials.time'
            - 'essentials.essentials'
            - 'essentials.reloadall'
            - 'essentials.gc'
            - 'essentials.plugin'
            - 'essentials.spawnmob'
            - 'essentials.kill'
            - 'essentials.tree'
            - 'essentials.bigtree'
            - 'essentials.kickall'
            - 'essentials.eco'
            - 'lwc.admin'
            - 'iConomy.admin.reset'
            - 'iConomy.admin.set'
            - 'iConomy.admin.hide'
            - 'war.*'
            - 'iConomyChestShop.shop.admin'
            - 'tombstone.admin'
        uber:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - '*'
        user:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - '*'
    users:
        nanneh:
            group: admins
            permissions: null
    
        extant1:
            group: uber
            permissions: null
    
        TheMoleKing:
            group: user
            permissions: null
    
        EZPoli:
            group: ezco
            permissions: null
    
        ezjack:
            group: ezco
            permissions: null
    
        EZDecker:
            group: ezco
            permissions: null
    
        montyiii:
            group: users
            permissions: null
    
        nairbic:
            group: mods
            permissions: null
    
        armeh07:
            group: mods
            permissions: null
    
        lordcouty:
            group: users
            permissions: null
    
        colonoscopy:
            group: mods
            permissions: null
    ****THIS WAS REEDITED...ALSO USE A 1 LINE INBETWEEN THE USERS OF THE SERVER****

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

    Zombiedance

    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: true
            inheritance:
            permissions:
                - '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:
        Zombiedance:
            group: Admins
            info:
                prefix: '&4[Owner]&7 '
                suffix: ''
            permissions:
        angelboy116:
            group: Admins
            info:
                prefix: '&4[Cake!]&7'
                suffix: ''
            permissions:
                - 'herp.derp'
        walrus36:
            group: Admins
            info:
                prefix: '&4[Admin]&7 '
                suffix: ''
            permissions:
        SenileSerpent:
            group: Admins
            info:
                prefix: '&4[Admin]&7 '
                suffix: ''
            permissions:
        Jackpot175:
            group: Moderator
            info:
                prefix: '[Respected] '
                suffix: ''
            permissions:
                - 'herp.derp'
        Leslieee:
            group: Admins
            info:
                prefix: '&4[Admin]&7 '
                suffix: ''
            permissions:
    There you go.
    [repost] **un-answered**
     
  9. Offline

    Itssnowing

    I don't see anything wrong with it. Could you try making a new group (Just for testing, don't worry,) and give them the '*', and... say, the '-essentials.give' node? Then use whatever command the essentials.give node allows/disallows, and tell me what happens.

    If you're reposting, it's worth it to say what problem you have, and any errors you're getting- there's no way I'm going to remember, or want to go back to find the problem.

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

    Scott

    There were two similar groups, users and user, I don't think that was the issue though?
     
  11. Offline

    Celtic Minstrel

    @Frisoso - You need to put permissions node containing *'s inside quotes. In fact, it's generally a good idea to put all of them in quotes. Example (snipper from your config):
    Code:
        Moderator:
            default: false
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance:
            - Uber-Tier
            permissions:
            - 'herochat.*'
            - "essentials.protect.*"
    (It doesn't matter which type of quotes you choose.)
    Same to @Scott though it's already been pointed out to him.

    @ShadowPhrogg32642342 - That's a pretty serious error... basically it can't find Permissions for some reason. The only suggestion I can think of is reinstalling Permissions.

    @Itssnowing - Were you aware that YAML syntax errors usually show you exactly where the error is? For example, this one Jambokid had:
    Code:
    Caused by: while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 20, column 34:
                    - 'essentials.helpop'
                                         ^
    It tells you it's on line 20, and the ^ character shows where it is on the line.

    @Jack Bartlett - For the BLOCK_BREAK error, make sure you're using Permissions 2.5.5.
    Same to @Malkierian and @Xcal and @JJoiler

    Yes, it's possible. Give your admin group the "minecraft.whitelist" permission, and install my DefaultPermissions plugin which provides Permissions nodes for the built-in commands. Keep in mind that it's just released and is still a bit glitchy. You can find it in the Plugin Submissions forum.

    @Incendia - It's hard to see how the ClassCastException could arise, but I'd guess it's some sort of compatibility error. I can't think of anything to solve it, except possibly making sure both your Permissions and HeroChat are up-to-date.

    @zombiemann - Ah yes, if you can't find an error on the reported line, it's often a good idea to scan upwards to see if it might actually lie further up.
     
  12. Offline

    Scott

    I edited the permissions file again to reflect some changes. It's also worth noting again that people still have access to all the things they have permissions for work except they get spammed on right click of anything. I disabled the PermissionsPlus 1.4.1 to see if it made a difference and no, my next try will be on LWC when there are less people in the server.

    Updated again to add quotes for wildcard permissions. Still spamming. I used to have all permissions in quotes but they were removed either by permissions 2.5.5 or permissionsplus 1.4 and it was working perfectly for several days until now.

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        users:
            default: true
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - essentials.getpos
            - achievements.check
            - achievements.view.own
            - stats.view.playtime
            - stats.log
            - stats.view.own
            - petition
            - general.spawn
            - essentials.msg
            - essentials.afk
            - essentials.rules
            - essentials.motd
            - essentials.me
            - essentials.list
            - essentials.mail.send
            - essentials.helpop
            - essentials.help
            - essentials.signs.mail.use
            - essentials.signs.mail.create
            - essentials.spawn
            - lwc.protect
            - wormhole.use
            - wormhole.build
            - 'myhome.home.*'
            - wormhole.use.sign
            - wormhole.use.dialer
            - wormhole.remove.own
            - wormhole.build
            - wormhole.list
            - iConomy.access
            - iConomy.payment
            - iConomy.rank
            - iConomy.list
            - AutoRepair.warn
            - AutoRepair.access
            - AutoRepair.info
            - AutoRepair.repair
            - 'essentials.kit.*'
            - tombstone.use
            - tombstone.freechest
            - tombstone.large
            - tombstone.sign
            - tombstone.freesign
            - tombstone.quickloot
            - tombstone.lwc
            - iConomyChestShop.shop.use
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - iConomyChestShop.shop.create
            - war.player
            - worldguard.region.claim
            - worldguard.region.info
            - 'worldguard.region.addowner.*'
            - 'worldguard.region.removeowner.*'
            - 'worldguard.region.removemember.*'
            - 'worldguard.region.addmember.*'
            - 'worldguard.region.setparent.*'
            - 'worldedit.selection.*'
        mods:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - users
            permissions:
            - essentials.tp
            - essentials.tphere
            - general.player-info
            - essentials.unban
            - essentials.unbanip
            - essentials.ban
            - essentials.banip
            - stats.view.others
            - petition.warp-to-own
            - petition.warp-to-own-if-assigned
            - petition.moderate
            - essentials.kick
            - essentials.heal
            - essentials.whois
            - essentials.clearinventory
            - essentials.broadcast
            - lwc.mod
            - essentials.time
            - wormhole.remove
            - essentials.give
            - essentials.item
            - myhome.*
            - wormhole.config
            - wormhole.remove.all
            - iConomy.admin.stats
            - iConomy.admin.grant
            - iConomy.admin.account.create
            - iConomy.admin.account.remove
            - 'worldedit.navigation.*'
            - war.build
            - 'worldguard.region.*'
            - 'war.*'
        ezco:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - mods
            permissions: null
        admins:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance:
            - mods
            permissions:
            - essentials.setspawn
            - essentials.time
            - essentials.essentials
            - essentials.reloadall
            - essentials.gc
            - essentials.plugin
            - essentials.spawnmob
            - essentials.kill
            - essentials.tree
            - essentials.bigtree
            - essentials.kickall
            - essentials.eco
            - lwc.admin
            - iConomy.admin.reset
            - iConomy.admin.set
            - iConomy.admin.hide
            - 'war.*'
            - iConomyChestShop.shop.admin
            - tombstone.admin
        uber:
            default: false
            info:
                prefix: null
                suffix: null
                build: true
            inheritance: null
            permissions:
            - '*'
    
    users:
        nanneh:
            group: admins
            permissions: null
    
        extant1:
            group: uber
            permissions: null
    
        TheMoleKing:
            group: uber
            permissions: null
    
        EZPoli:
            group: ezco
            permissions: null
    
        ezjack:
            group: ezco
            permissions: null
    
        EZDecker:
            group: ezco
            permissions: null
    
        montyiii:
            group: users
            permissions: null
    
        nairbic:
            group: mods
            permissions: null
    
        armeh07:
            group: mods
            permissions: null
    
        lordcouty:
            group: users
            permissions: null
    
        colonoscopy:
            group: mods
            permissions: null
     
  13. Offline

    Celtic Minstrel

    What's it spamming, again?
     
  14. Offline

    Scott

    "You don't have permissions to use this."

    Thinking it could be LWC as there are no issues with Permissions other than this it seems.
     
  15. Offline

    Sean0294

    So, I'm probably gonna sound really stupid, but I have absolutely NO idea how to give permissions. Does anyone have a tutorial, or a sort of generic file that I can just edit with what I need?
     
  16. Offline

    Jack Bartlett

    I am on 2.5.5 and CB #617, nothing is working..I have access to some commands but not others when i'm set as a admin.
    My server is down because it has WorldEdit and everybody will destroy the map, and nothing is working(Permissions)
    Pls help
    Chat isn't working either

    @Sean0294
    Just use the RENAME-ME.yml file you get with the .ZIP and change what needs to be changed

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

    Sean0294

    The problem is, I don't get what to change =/
     
  18. Offline

    Itssnowing

    I was, actually. That's the only reason I thought to ask him to check the end of that line. I didn't initially because when I checked, there wasn't one there.

    Rename it to the name of your world, then open it, and read what it says. Any line starting with a # is a comment, and worth reading.

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

    KrK007

    I'm having an issue where a group defined as SysOp (which consists of one user, me) has the "*" permissions, and yet is forbidden from using some commands.

    I can use most commands, but many (including ones like time, tp, etc) say I don't have permissions to use them. Any ideas?
     
  20. Offline

    Sean0294

    I read all of it, but I don't get the coding part of it. I just need to know how to give people permissions to use all the plugins.
     
  21. Offline

    Itssnowing

    To use all the plugins, you can just give them the '*' permission node. When giving permissions to your users, it looks kinda like this:

    Code:
            permissions:
                - 'example.node'
                - 'another.example.node'
                - 'node'
    
    Uhh, yeah, that's about it. Crummy explanation was crummy, if you need clarification on how somethings works, feel free to ask :B
     
  22. Offline

    Sean0294

    So could you just show me how to give myself permissions to use all of the plugins? My IGN is the same as this one. And can I just change my name to everyone elses? Also, do I just add whatever I need to at the end of the .yml file?
     
  23. Offline

    JJoiler

    i am using permissiosn 2.5.5!!!!
     
  24. Offline

    Itssnowing

    Not at the end, no. I'll make a mini config file as an example, with little arrows pointing to things you need to know about. If a line or sentence or something starts with a #, it's a comment from me. (Note: Don't copy/paste this, it probably won't work as well as if you edited the one you already have.)

    Code:
    group:    <---#Starts the list of groups
        Default:   <----#This is the name of the group. Set it to whatever you like, but avoid special characters (!@#$%^&*). If you have to have special characters, put quotes around the name of the group.
            default: true    <---# If this is set to true, it means whenever someone joins that's not already in a group, this is the group they'll be in. You have to have one group with this set to false, otherwise Permissions will barf up errors.
            info:   <---#Nothing actually goes in this part, but it's required if the group has suffix, prefix, or build listed in it's options.
                suffix: ' '  <---#this and Prefix you can ignore. They give people words beside their names, if you have a plugin like iChat or Herochat installed. Doesn't change anything but the chat.
                prefix: ' '
                build: false    <---#This allows or disallows people from placing blocks. set it to true to allow.
            inheritance:     <---#This means it will take permissions from a certain group, and combine it with the ones in this group. It just makes things faster if you have long lists of permission nodes.
            permissions:    <---#This is required if you're going to have the permission nodes.
                - 'example.node'     <---#This is what's called a permission node. It gives the permission to anyone in this group.
                - 'another.example.node'   <---#You can get the exact permission node from the developer of a plugin, assuming it supports Permissions.
    
        Mod:    <---#This doesn't need the line User: before it because it's already there, above default.
            default: false    <---#This has to be set to false, because the Default group has it set to true. There can only be one group with this line set to true at a time.
                info:
                    prefix:
                    suffix:
                    build: true
                inheritance:
                    - 'Default'     <---#The Mod group is now inheriting the 'example.node' and 'another.example.node' permissions from the Default group.
                permissions:
                    - 'mod.plugin'    <---#The mod group now has these permissions, along with the ones inherited from the default group.
                    - 'god.mode'
                    - '-example.node'   <---#See the negative sign in front of it? This shows that this group doesn't get that node, even though it's inherited from the Default group.
    
    user:     <--- This is, again, required. Just like the Group: line.
        Bob:
            group: Mod   <---#Bob is in the Mod group. This means he gets the permissions that are listed for Mods.
            permissions:    <---#He could be given extra permissions, but he hasn't been :(
    
        Builder:
            group: Default
            info:
                prefix: ' '     <---# individual users can be given their own prefixes and suffixes, too! assuming you have a plugin for it, that is. I'd put something into those quote marks, but to be honest, I still haven't taken the time to figure them out.
                suffix: ' '
            permissions:
                - 'god.mode'    <---#Even though Builder is in the Default group, he's allowed to use whatever command the 'god.mode' node is affiliated with, because he's been given extra permissions.
    
    Did I miss anything? You can add as many groups and members as you like :B
    You can get the permission nodes from the plugin's developer, assuming they have it set up to have Permission hooks. (To accept permission nodes.)
     
  25. Offline

    MrKrucible

    can someone fix my permissions file? it's not letting anybody on the server use any commands! only the basics that are in the /help are useable! WTF? Also people with the - '*' can STILL use all commands.... this is confusing! i didn't have this problem in 1.3, so i know it's from the new build or coder. here is my file:
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
    
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   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:
    #
    #       - '*'
    ##
    groups:
        Guest:
            default: true
            info:
                prefix: '&2'
                suffix:
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
        Land Lord M:
            default: false
            info:
                prefix: '&1'
                suffix:
                build: true
            inheritance:
                - Friend
            permissions:
                - 'general.*'
                - 'magiccarpet.*'
                - 'mywarp.*'
                - 'kiwiadmin.kick'
                - 'godmode.command.godSelf'
                - 'myhome.basic.*'
        Land Lord A:
            default: false
            info:
                prefix: '&4'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'general.*'
                - 'magiccarpet.*'
                - 'guestbook.*'
                - 'mywarp.*'
                - 'kiwiadmin.*'
                - 'myhome.*'
                - 'citizens.*'
        Moderator:
            default: false
            info:
                prefix: '&1'
                suffix:
                build: true
            inheritance:
                - Friend
            permissions:
                - 'general.*'
                - 'magiccarpet.*'
                - 'mywarp.*'
                - 'kiwiadmin.kick'
                - 'godmode.command.godSelf'
                - 'myhome.*'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'general.*'
                - 'magiccarpet.*'
                - 'guestbook.*'
                - 'mywarp.*'
                - 'kiwiadmin.*'
                - 'godmode.*'
                - 'myhome.*'
                - 'citizens.*'
        Friend:
           default: false
           info:
              prefix: '&3'
              suffix:
           inheritance:
               - Default
           permissions:
               - 'magiccarpet.*'
               - 'general.*'
               - 'mywarp.*'
               - 'myhome.basic.*'
               - 'myhome.soc.*'
        Owner:
           default: false
           info:
               prefix: '&6'
               suffix: '&6'
           inheritance:
               - admin
           permission:
               - '*'
        Honored Admin:
           default: false
           info:
               prefix: '&6'
               suffix: '&6'
           inheritance:
               - admin
           permission:
               - '*'
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        mrkrucible:
            group: Owner
            permissions:
               - '*'
        slimdevin:
            group: Honored Admin
            permissions:
               - '*'
        mikeym:
            group: Honored Admin
            permissions:
               - '*'
        death_cycle:
             group: land lord a
             permissions:
               - 'general.*'
               - 'magiccarpet.*'
               - 'guestbook.*'
               - 'mywarp.*'
               - 'kiwiadmin.*'
               - 'myhome.*'
               - 'citizens.*'
               - 'creativestick.*'
        wafflezzman:
             group: moderator
             permissions:
               - 'general.*'
               - 'magiccarpet.*'
               - 'mywarp.*'
               - 'kiwiadmin.kick'
               - 'myhome.*'
        xdreadreaper:
             group: moderator
             permissions:
               - 'general.*'
               - 'magiccarpet.*'
               - 'mywarp.*'
               - 'kiwiadmin.kick'
               - 'godmode.command.godSelf'
               - 'myhome.*'
        gman1234rose:
             group: Admin
             permissions:
               - 'general.*'
               - 'magiccarpet.*'
               - 'guestbook.*'
               - 'mywarp.*'
               - 'kiwiadmin.*'
               - 'godmode.*'
               - 'myhome.*'
               - 'citizens.*'
        matrecon123:
             group: land lord a
             permissions:
                - 'general.*'
                - 'magiccarpet.*'
                - 'guestbook.*'
                - 'mywarp.*'
                - 'kiwiadmin.*'
                - 'myhome.*'
                - 'citizens.*'
        b24jhon:
             group: friend
             permissions:
               - 'magiccarpet.*'
               - 'general.*'
               - 'mywarp.*'
               - 'myhome.basic.*'
               - 'myhome.soc.*'
    
     
  26. Offline

    Itssnowing

    Let's try it backwards then, shall we? If only users with the '*' node can use permissions, give that to every user, then take the commands you don't want from them back. that it, like so:
    Code:
    Permissions:
        - '*'
        - '-boo.far'
        - '-example.node'
    
     
  27. Offline

    Phantum

    I'm running CB 612
    and after a few minutes I get this error:

    Show Spoiler
    01:15:35 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.Permission Handler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    01:15:35 [SEVERE] at com.nidefawl.Stats.Permissions.NijiPermissionsResolve r.inGroup(NijiPermissionsResolver.java:74)
    01:15:35 [SEVERE] at com.nidefawl.Achievements.AchConditionals.meets(AchCo nditionals.java:51)
    01:15:35 [SEVERE] at com.nidefawl.Achievements.Achievements.checkAchieveme nts(Achievements.java:289)
    01:15:35 [SEVERE] at com.nidefawl.Achievements.AchievementsCheckerTask.run (AchievementsCheckerTask.java:11)
    01:15:35 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainT hreadHeartbeat(CraftScheduler.java:122)
    01:15:35 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServe r.java:356)
    01:15:35 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftSer ver.java:283)
    01:15:35 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(Sour ceFile:375)
    01:15:35 [SEVERE] Unexpected exception
    java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Lj ava/lang/String;Ljava/lang/String;)Z
    at com.nidefawl.Stats.Permissions.NijiPermissionsResolver.inGroup(NijiPe rmissionsResolver.java:74)
    at com.nidefawl.Achievements.AchConditionals.meets(AchConditionals.java: 51)
    at com.nidefawl.Achievements.Achievements.checkAchievements(Achievements .java:289)
    at com.nidefawl.Achievements.AchievementsCheckerTask.run(AchievementsChe ckerTask.java:11)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(C raftScheduler.java:122)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:356)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)


    After that nothing works until I restart the server, I'm using v 2.5.5 of Permissions

    If you need my yml file I can post that later, although it was working fine prior to the update :3
     
  28. Offline

    Jambokid

  29. Offline

    Neko

    Um, I'm having trouble with permissions. I have Craftbukkit 617 and i downloaded the latest version of this.
    Code:
    [INFO] Starting Minecraft server on *:25565
    2011-04-07 04:35:25 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-612-g4c7a9e7-b617jnks (MC: 1.4)
    2011-04-07 04:35:25 [INFO] Preparing level "world"
    2011-04-07 04:35:25 [INFO] Preparing start region
    2011-04-07 04:35:25 [INFO] 144 recipes
    2011-04-07 04:35:26 [INFO] Invalid config file found and converted to proper name/format.
    2011-04-07 04:35:26 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:105)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:158)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:106)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:63)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:101)
        ... 8 more
    Caused by: while scanning a simple key
     in "<reader>", line 87, column 9:
                permissions:admincmd.time.set,ad ...
                ^
    could not found expected ':'
     in "<reader>", line 90, column 1:
        ##
        ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
        at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
        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.composeNode(Composer.java:132)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
        at org.bukkit.util.config.Configuration.load(Configuration.java:73)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:126)
        ... 13 more
    2011-04-07 04:35:26 [INFO] [AdminCmd] (version 4.2.3) Enables without Permissions.
    This is my permissions file:

    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: true
            inheritance:
            permissions:
                - '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:admincmd.time.set,admincmd.time.day,admincmd.tp.to,admincmd.tp.from,admincmd.item.add,admincmd.tp.players,admincmd.player.list
                - '*'
    
    ##
    # 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:
        Nekoyasha:
            group: Admins
            permissions:bedrockcontrol.destroyblock,godPowers.,godmodegodPowers.,godmodeOnLogingodPowers.,diegodPowers.,slaygodPowers.,jesusgodPowers.,healgodPowers.,maimgodPowers.,infernogodPowers.,superjump,superpowers.use,spawnmob.mspawn.allmobs,spawnmob.kill,cm.init,cm.upload,cm.setbox
                         
    
    
    
    if I could get some help with this I would greatly appreciate it, as i can't get a lot of my plugins to work without permissions...
     
  30. Offline

    woodzy

    i get this error on player login CB#617 permisson#2.5.5 on start up the plugin sems to of loaded just fine
    Code:
    2011-04-07 13:25:11 [SEVERE] Exception in thread "Timer-3"
    2011-04-07 13:25:11 [SEVERE] java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:31)
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcPermissions.axesAbility(mcPermissions.java:77)
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcSkills.monitorSkills(mcSkills.java:272)
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcTimer.run(mcTimer.java:26)
    2011-04-07 13:25:11 [SEVERE]     at java.util.TimerThread.mainLoop(Timer.java:534)
    2011-04-07 13:25:11 [SEVERE]     at java.util.TimerThread.run(Timer.java:484)
    2011-04-07 13:25:11 [SEVERE] Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
    2011-04-07 13:25:11 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    2011-04-07 13:25:11 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-04-07 13:25:11 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    2011-04-07 13:25:11 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    2011-04-07 13:25:11 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    2011-04-07 13:25:11 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    2011-04-07 13:25:11 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    2011-04-07 13:25:11 [SEVERE]     ... 6 more
    2011-04-07 13:25:11 [SEVERE] Exception in thread "Timer-1"
    2011-04-07 13:25:11 [SEVERE] java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcPermissions.permission(mcPermissions.java:31)
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcPermissions.axesAbility(mcPermissions.java:77)
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcSkills.monitorSkills(mcSkills.java:272)
    2011-04-07 13:25:11 [SEVERE]     at com.gmail.nossr50.mcTimer.run(mcTimer.java:26)
    2011-04-07 13:25:11 [SEVERE]     at java.util.TimerThread.mainLoop(Timer.java:534)
    2011-04-07 13:25:11 [SEVERE]     at java.util.TimerThread.run(Timer.java:484)
    2011-04-07 13:25:11 [SEVERE] Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
    2011-04-07 13:25:11 [SEVERE]     at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    2011-04-07 13:25:11 [SEVERE]     at java.security.AccessController.doPrivileged(Native Method)
    2011-04-07 13:25:11 [SEVERE]     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    2011-04-07 13:25:11 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    2011-04-07 13:25:11 [SEVERE]     at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    2011-04-07 13:25:11 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    2011-04-07 13:25:11 [SEVERE]     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    2011-04-07 13:25:11 [SEVERE]     ... 6 more
     
  31. Offline

    RyenDeckard

    Alright, so I hate bugging you developers who are already busy as hell as it is, but I'm having a horrible permissions error. I think I found the problem, but I'm no programmer so I'm not sure.

    This is my config file, I'm RyenDeckard, and the other admin walruspete is also having trouble with permissions. It's like we just don't have admin permissions.

    I ran it through a YML parser and I'm noticing an extra } after the admin build permissions. Since there's only a single opening bracket, I'm thinking that has something to do with it. Could you give me any help?

    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: true
            inheritance:
            permissions:
                - essentials.signs.mail.use
                - essentials.signs.heal.use
                - essentials.compass
                - essentials.tpa
                - essentials.tpaccept
                - essentials.tpdeny
                - essentials.mail.send
                - essentials.spawn
                - ecoCreature.Creature.*
                - lockette.create.*
                - myhome.home.basic.*
                - BOSEconomy.common
                - towny.town.claim
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - bb.admin.*
                - essentials.*
                - lockette.*
                - myhome.admin
                - nocheat.*
                - nocheat.p
                - BOSEconomy.admin.*
                - multiverse.*
                - creaturebox.*
                - towny.*
    
    ##
    # 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:
        RyenDeckard:
            group: Admins
            permissions:
        Newbel:
            group: Moderator
            info:
            permissions:
        Caileigha:
            group: Moderator
            info:
            permissions:
    
        Walruspete:
            group: Admins
            permissions:
    
    Edit: Got it, just installed the entire essentials plugin set when I updated, that was the problem.
     
Thread Status:
Not open for further replies.

Share This Page