Inactive [ADMN/DEV] Permissions 3.1.6 - The Plugin of Tomorrow [935]

Discussion in 'Inactive/Unsupported Plugins' started by rcjrrjcr, May 24, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    rcjrrjcr

    Permissions 3.1.6 (Yeti)

    Download:
    Latest Stable (3.1.6) : Full Zip | Main Jar Only | SQL Interface Jar Only

    Previous Versions:
    3.1.5 (JAR|SQL) | 3.1.4 (JAR|SQL) | 3.1.3 (JAR|SQL) | 3.1.2 (JAR|SQL) | 3.1.1 (JAR) | 3.1 (JAR) | More older versions


    COMMAND RESTRUCTURING
    Feel free to comment and give suggestions.


    DO NOT USE GLOBAL CONFIGS FOR NOW. THE GLOBAL CONFIG IS MEANT TO SUPPLEMENT WORLD-SPECIFIC CONFIGS, NOT THE OTHER WAY ROUND. SEE https://github.com/TheYeti/Permissions/wiki/Global-vs-World .I WILL WRITE A PROPER TUTORIAL ON HOW TO USE THE GLOBAL CONFIGS SOON.

    TODO:
    • Revamp commands
    Known plugins that cause IllegalAccessError(s):

    • Help (not fixed yet)
    Temp Fix for IAEs (open)




    1. Open Help's JAR with 7zip.
    2. Find MANIFEST.MF (it can be in the root folder or in the META-INF folder, or both).
    3. Open the MANIFEST.MF file in a text editor
    4. Look for a line that starts with "Class-Path:".
    5. Delete "Permissions.jar" from that line.
    6. Save the manifest.
    7. 7zip will prompt you to save changes back into the archive. Accept.
    8. Restart server.





    Plugin Authors: How to hook into Permissions

    Due to @TheYeti being busy in RL for now, I have created a new thread for Permissions 3.x. TheYeti is still part of the Permissions team.

    Permissions... Reborn.
    This is a continuation of the work that was originally done by Nijikokun. All original credit goes to them as without their work this plugin would not have been possible. This plugin does not provide any commands or additional functionality beyond what is described in this post. That means that you need another plugin to provide colored names, chat prefixes, and op commands such as /give and /time.​

    The Permissions Team

    The team consists of myself @rcjrrjcr and @TheYeti currently with contributions from @Nijikokun as well on occasion. There are also several other members of the community who frequently assist with providing code changes, bug fixes, patches, support, feedback, and beta testing. Special thanks to @flames and the Dynmap & Wormhole X-Treme teams for the hosting of Permissions on their Jenkins server.

    What's new in 3.x?

    Taken from the GitHub page:
    1. In-game commands. For a long time, users have been pestering, nagging, demanding and/or screaming for an way to manage Permissions via commands. Now, in 3.0, in-game commands are available to manage permissions and groups.
    2. SQL storage. This allows web interfaces to manage Permissions by updating the SQL database Permissions uses.
    3. Promotion/demotion tracks. With a simple command, users can be promoted/demoted along a preconfigured track, allowing RP servers with ranks to promote the player along a class track and other possibilities.
    4. Multigroup.
    5. Weightage. Plugins are able to compare users via their weight, which is inherited from their groups. For example, SlapPlugin can check if Player A is higher-weighted than Player B when A tries to slap B (Not IRL, obviously).
    6. Improved world mirroring. Config files are now split into a group file and a user file. Also, by editing storageconfig.yml, you can configure the mirroring of entire worlds, or just its users/groups. You also do not have to create files for worlds that mirror another world. Also, two different worlds can use different storage types, like YAML and SQL.
    7. Global permissions. Instead of having to resort to cross-world group inheritance, now all worlds inherit groups and users from the global permissions file. Also, the inherited groups/users can be overridden via editing the specific world's file.
    Upgrading from 2.x to 3.x







    I have written a guide on GitHub. This demonstrates how to convert 2.x-style configs to 3.0. The YAML-to-SQL converter are still in testing, but it can be downloaded from here. It's written in Perl. @Zgred has created a web version of the script located here. @omgneeq is working on an Web UI for SQL databases (Sorry about the previous statement that he was making a converter.)​


    Install (open)
    For the admins

    In case you missed the link above, the Setup Guide on GitHub will help you quite a bit

    Samkio has updated his tutorial for P3:


    First thing that you will need to do is download the plugin. Place it in your plugins/ folder and unzip it. This should create the folder Permissions and a Permissions.jar file in your plugins folder. Next, go into Permissions/ and create a folder named the same as your world. So if your world name from server.properties is Foo you will need to create the folder plugins/Permissions/Foo. You MUST rename it to whatever your world's name is or it will not work.

    Note, if you have your server maps all saved into a single directory then the initial setup will be somewhat different. Say your maps are arranged in the main directory like so: bukkit/mapfolder/world1, bukkit/mapfolder/world2, etc. Then inside of the plugin/Permissions directory you will need to create a folder called mapfolder and inside of that put the directories containing users.yml and groups.yml in there.

    Next, you will need to go in and add yourself to the users, just replace the user that is in there with your name. Make any other modifications that you need to. While making modifications make sure that you do NOT use tabs. These will break the YAML format and cause issues. Instead, each indent should be four spaces. If you want people who aren't in the Admin group to be able to reload the permissions plugin you need to give them 'permissions.reload' permissions within the config file.

    Permissions gives server admins great control, mostly in-game reloading. More info about commands can be found here.


    FAQ (open)

    [FAQ]

    [Q] What is with the version numbers? I can't keep up, it seems like every time I look there is a new version!
    [A] I use the GNU versioning system for my version numbers. So what this means is the version number should be read as Major.Minor.Revision. So for version 2.5.2 this would mean it is the 2nd Major version, the 5th Minor release in this version, and the 2nd revision. I tend to release bug fixes and anything that doesn't add functionality or will not break things as revisions. So generally you should be safe with just watching the major & minor numbers and only getting the revision if it fixes a bug specific to you. Technically 2.5.2 should have been released as 2.6 as it did add functionality, but this was below even a minor change so I released it as a revision.

    [Q] I am getting an error that it can't pass BLOCK_PLACED or BLOCK _BREAK events to Permissions. Fix it!
    [A] That's not a question. The reason why it can't place these is probably because the syntax of your Permissions file is all whacked out, or it is a different world and you don't have a config file for that world.

    [Q] What am I suppose to name the config file?
    [A] You need to name it the same as your world. So if you look in server.properties at "level-name" you will see a world name there. Rename your config file to the same thing as that. Make sure you keep the .yml extension at the end.

    [Q] Permissions are broken. Why can no one use commands? Why am I not an admin?
    [A] First off, make sure that your formatting is correct. Look at the format that the default config file uses. Yours should look like that. Do NOT use tabs. Use 4 spaces (IE. " " <-- Four of those things.). Also, whichever group you give the permission '*' to, do not have that group inherit permissions from anyone else. That is called overloading and it will break things. Also, this.


    [Q] Which one am I suppose to download and unzip to install this?
    [A] Download the main package, not the JAR only. Unzip the ZIP file. The JAR only downloads are simply there for people who are UPGRADING and do not need the default config file.

    [Q] I have done all of this and this doesn't work! I'm going back to GroupManager!
    [A] Well, there is probably the problem. Make sure that you delete EssentialsGroupManager.jar and EssentialsGroupBridge.jar as these don't play well with Permissions and will cause headache.

    [Q] When are you going to add <blah> <feature/command> into this already? You suck! Do what I want NAU PL0X!
    [A] Feature requests should be posted on the GitHub tracker. Stupid suggestions like adding teleportation functionality and other less ludicrous stuff will be rejected.



    Changelog
    • 3.1.6
      • Major fixes.
      • Simplify tracks
    Changelog (open)





    • 3.1.5
      • Fix several minor bugs.
      • Autoconvert 2.x/GM format (only works if you split them into groups.yml and users.yml, but leave the rest untouched)
    • 3.1.4
      • Fix YAML locking bugs.
    • 3.1.3
      • Fix another SQL data and inheritance issue.
    • 3.1.2
      • Fix SQL data issues.
      • Added user/group name autocomplete
      • Separated SQL interface into separate plugin
    • 3.1.1
      • Fix prefix/suffix issues.
      • Added ON UPDATE CASCADE to the SQL foreign [/SIZE]
    • 3.1
      • Tons of fixes.
    • 3.0.6
      • Fix SQLite issues due to misimplementation of methods.
    • 3.0.5
      • Fix cache-related NPEs
      • Fixed quoted worlds (thanks again @Jeyge !)
    • 3.0.4
      • Fix LinkageError caused by ServiceManager not unloading the PermissionHandler class.
      • Added cache
      • Fix index not being incremented when promoting (thanks @Jeyge !)
    • 3.0.3
      • Fixed another getGroup bug.
    • 3.0.2
      • Fixed getGroup bug.
    • 3.0.1
      • Fixed some NPE bugs.
    • 3.0
      • Total overhaul of Permissions. Adds many new features (see What's new in 3.0?).
    • 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








    Credits (open)


    TheYeti:
    Nijikokun - Without their original work this plugin would not be possible.​
    All of the members of the community that regularly provide support in this thread for Permissions​
    Rigby, Kainzo, DThielke, GoMySQL, sk89q, RightLegRed - For hanging out with me in IRC, tons of testing, and pushing me to improve on the code constantly and make changes to make this plugin constantly better and better, and in general being entertaining.​
    Everyone else on here and in IRC who provides support, feedback, assistance, plugins that have continued to support and integrate this, and in general makes my life a bit easier, THANK YOU!​

    rcjrrjcr:
    I would like to thank Joy , jamesg and omgneeq for staying in #permissions for long periods of time to test out 3.0, and help me find many coding mistakes I made, patiently waiting for the next build while I fixed the bugs. I appreciate SvenBrnn 's and GoMySQL(Geoff Winans on this forum) 's help that allow me to design and code the SQL interface, and the HeroCraft coding team for providing support and some priceless IRC quotes (Dgco). Also, I would like to thank Lycano for helping me in many different aspects. Last but not least, I would like to thank Nijikokun and TheYeti for developing P2, which was one of my core plugins when I was still a 14-year-old server admin that didn't understand Java, and was the base for 3.0. Without these people, 3.0 would never be possible.​


    If after reading through all of that you are still having issues do one of two things. If it is a provable bug, and you have things like screenshots or copies of startup, steps to reproduce, your craftbukkit build and the version this is running along with your config files then submit the bug on the issue tracker. If it is general help or support you are needing then post a reply to this thread and someone will try to help you.

    Old thread: Permissions v2.7.4
     
  2. Offline

    ambientmf

    Hey, I'm still on 766 cB and was wondering what version of Permissions from this thread was compatible with that build. I tried using 2.7.4 from TheYeti's previous post but i'm getting constant errors.
    Any help is appreciated. I'm not updating my server until there's a stable 1.6 CB. Don't know why anyone updated to 800+ builds when 1.6 was right around the corner lol...
     
  3. Offline

    Tim Andersen

    ok. we really need help with this.
    the '*' permission is missing, i dont have permissions for everything with this command. why is this?....
     
  4. Offline

    Malkierian

    It's not missing, lol. But you're right, it's not actually covering all the permissions, at least not all the new permissions ones.
     
  5. Offline

    driftgoat

    I'm sure this is a great plugin, but I still have not the slightest idea how it work's even after watching your video. Hopefully when this new version is a little more stable I can at least try out in game commands.
     
  6. Offline

    Zooey105

    When I reload manually, I get a slew of Permissions errors deny rights to all of my plugins.

    When I stop and start the server I get no errors. I'm running the newest version with 814.
     
  7. Offline

    vfern_fern

    Good stuff, I think I may have fixed it:

    Code:
    ##
    # 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: '&8'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.msg'
                - 'essentials.spawn'
        - <Miner>:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.signs.mail.use'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.sell.create'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.buy.use'
                - 'essentials.sell'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.pay'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kit'
                - 'essentials.kit.tools'
                - 'essentials.signs.free.use'
                - 'essentials.balance'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.home'
        - <Builder>:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
                - Miner
            permissions:
                - 'essentials.depth'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.tptoggle'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.time'
                - 'essentials.help'
        - <Mod>:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.protection.override'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.buy.create'
                - 'essentials.teleport.cooldown.bypass'
                - 'essentials.teleport.timer.bypass'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.tppos'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essemtials.kickall'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.seen'
                - 'essentials.tempban'
                - 'essentials.protect'
                - 'essentials.protect.admin'
                - 'essentials.protect.alerts'
                - 'essentials.protect.exemptplacement'
                - 'essentials.protect.exemptusage'
        - <Admin>:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'

    Code:
    ##
    # 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:
        vfern005:
            group: Admin
            info:
                prefix: ''
                suffix: ''
            permissions:
        monty0526:
            group: Miner
            info:
                prefix: ''
                suffix: ''
            permissions:
        the_dave123:
            group: Mod
            info:
                prefix: ''
                suffix: ''
            permissions:
        floran98:
            group: Builder
            info:
                prefix: ''
                suffix: ''
            permissions:
        igmarx:
            group: Miner
            info:
                prefix: ''
                suffix: ''
            permissions:
        Kelthagas:
            group: Miner
            info:
                prefix: ''
                suffix: ''
            permissions:
        Randis316:
            group: Mod
            info:
                prefix: ''
                suffix: ''
            permissions:
        DoctorKpuffy:
            group: Mod
            info:
                prefix: ''
                suffix: ''
            permissions:
                - 'essentials.item'
        WUMBOL0GY:
            group: Builder
            info:
                prefix: ''
                suffix: ''
            permissions:
        h3llbound11:
            group: Miner
            info:
                prefix: ''
                suffix: ''
            permissions:
        Endosymbiosis:
            group: Miner
            info:
                prefix: ''
                suffix: ''
            permissions:
        TheSubtleKnife:
            group: Miner
            info:
                prefix: ''
                suffix: ''
            permissions:
    Also are we supposed to do something with our old .yml file? I just moved it out of the folder.
     
  8. This may be the plug-in of the future, but I think I'll stay with the plug-ins of the past until some of the bugs are ironed out.
     
  9. Offline

    leslieliang

    It's not loading my donor and nether world's configs, but it loads the default world fine. My worlds are in my root folder and the names are donor, nether, and world. I have plugins/Permissions/donor, plugins/Permissions/nether, and plugins/Permissions/world. All 3 have their own users.yml and groups.yml, but only world's permissions get loaded.
     
  10. Offline

    Hyphe

    Honestly, I find the 2.7 a lot less complicated.

    Please have a full coverage guide ASAP. Thanks.
     
  11. Offline

    Malkierian

    OK, little update. Nothing is working with perms 3. In fact the only thing I can do is /permissions and /permissions -reload...
     
  12. Offline

    Jeyge

    BLOCK_BREAK/BLOCK_PLACE errors mean that your permissions.yml file is incorrectly named or in the wrong location. Make sure the file is in plugins\permissions and named <world name>.yml. If you have file extensions turned off, the name will be <world name>. Also, make sure you only have version 2.7.4 and you don't have GroupManager.

    You can either load your groups.yml and users.yml with the default files in the zip or fill them by hand based on what has been posted in this thread.

    Strange, the only 2 I've had problems with are promote and demote but that is a bug I logged on GitHub for them. I've filled out a set of permissions files using just the commands as a test.

    Just a couple more changes:

    groups.yml
    Code:
    ##
    # 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: '&8'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.msg'
                - 'essentials.spawn'
        Miner:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.signs.mail.use'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.sell.create'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.buy.use'
                - 'essentials.sell'
                - 'essentials.worth'
                - 'essentials.sell'
                - 'essentials.pay'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.kit'
                - 'essentials.kit.tools'
                - 'essentials.signs.free.use'
                - 'essentials.balance'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.home'
        Builder:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
                - Miner
            permissions:
                - 'essentials.depth'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.tptoggle'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.time'
                - 'essentials.help'
        Mod:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.protection.override'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.buy.create'
                - 'essentials.teleport.cooldown.bypass'
                - 'essentials.teleport.timer.bypass'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tpo'
                - 'essentials.tpohere'
                - 'essentials.tppos'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essemtials.kickall'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.seen'
                - 'essentials.tempban'
                - 'essentials.protect'
                - 'essentials.protect.admin'
                - 'essentials.protect.alerts'
                - 'essentials.protect.exemptplacement'
                - 'essentials.protect.exemptusage'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users.yml
    Code:
    users:
        vfern005:
            groups:
            - Admin
            info:
                prefix: ''
                suffix: ''
            permissions: null
        monty0526:
            groups:
            - Miner
            info:
                prefix: ''
                suffix: ''
            permissions: null
        the_dave123:
            groups:
            - Mod
            info:
                prefix: ''
                suffix: ''
            permissions: null
        floran98:
            groups:
            - Builder
            info:
                prefix: ''
                suffix: ''
            permissions: null
        igmarx:
            groups:
            - Miner
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Kelthagas:
            groups:
            - Miner
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Randis316:
            groups:
            - Mod
            info:
                prefix: ''
                suffix: ''
            permissions: null
        DoctorKpuffy:
            groups:
            - Mod
            info:
                prefix: ''
                suffix: ''
            permissions:
            - essentials.item
        WUMBOL0GY:
            groups:
            - Builder
            info:
                prefix: ''
                suffix: ''
            permissions: null
        h3llbound11:
            groups:
            - Miner
            info:
                prefix: ''
                suffix: ''
            permissions: null
        Endosymbiosis:
            groups:
            - Miner
            info:
                prefix: ''
                suffix: ''
            permissions: null
        TheSubtleKnife:
            groups:
            - Miner
            permissions: null
    
    If you are having trouble getting Permissions 3.0 to work, make sure you post any errors along with your users.yml, groups.yml, globalusers.yml, globalgroups.yml and storageconfig.yml files.

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

    Lanuk

    Well I am not sure if someone has answered this already, but one of the things leading to problems is probably the fact that you have the ranks in brackets in the prefixes. (That may not have made much sense). I might not know what I am doing here, but with iChat all you need to do is simply type in the color code (like &2 or something) WITHOUT the rank in brackets. So your

    Player:
    default: true
    info:
    prefix: '&f[Player] '
    suffix: ''
    build: true
    inheritance:
    permissions:

    I think should be

    Player:
    default: true
    info:
    prefix: '&f '
    suffix: ''
    build: true
    inheritance:
    permissions:

    Now, as for changing 1 mods title to carpenter... well... I kind of forget how to do it the easy way (if there is an easy way). Since I am too lazy to go look it up, I would just copy the mod permissions, paste it under, rename it to carpenter, and add the dudes name under it. Like this:

    I'd copy this:

    Moderator:
    default: false
    info:
    prefix: '&b[Moderator] '
    suffix: ''
    build: true
    inheritance:
    - Player
    permissions:
    - 'essentials.tpa'
    - 'essentials.kick'
    - 'mcmmo.whois'
    - 'logblock.lookup'
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'essentials.kit.mod'
    - 'jail.command.jailcheck'
    - 'jail.command.jaillist'
    - 'essentials.back.ondeath'
    - 'essentials.tpahere'

    And paste it under the original. Then change the name to carpenter and the prefix to say... green?

    Carpenter:
    default: false
    info:
    prefix: '&2 '
    suffix: ''
    build: true
    inheritance:
    - Player
    permissions:
    - 'essentials.tpa'
    - 'essentials.kick'
    - 'mcmmo.whois'
    - 'logblock.lookup'
    - 'jail.command.jail'
    - 'jail.command.unjail'
    - 'essentials.kit.mod'
    - 'jail.command.jailcheck'
    - 'jail.command.jaillist'
    - 'essentials.back.ondeath'
    - 'essentials.tpahere'

    And then add the moderators name to that group. If you don't already have PermissionsPlus, get it, makes life much easier. You could also, instead of copying that giant list, just set the inheritance to Mod of course.

    Sorry that I couldn't exactly tell you what you needed. Also, sorry if you were doing the prefix stuff right. I just know that with my iChat (Dunno what you use), that is how I would do it.

    I'll come visit the server soon by the way Awesomeo, I miss you all ;)
     
  14. Offline

    TACTICALboom

    OMGKOOL
    However, Im a little pissed off about this update. I would have have been fine if the config was the same. BUT THE IN GAME COMMANDS WERE ESSENTIAL
    :D no moar permissions plus!
     
  15. Offline

    Rocky

    Essentially, all you need to do is copy and paste the groups you already have, including the permissions, into the group yml file that was created inside of the folder that you SHOULD HAVE created for your world. SO, for example. My server's configuration is like so.
    that is the folder you make name the same as your world
    v
    Bukkit>Plugins>Permissions>Shred>groups.yml

    Now, after copying the groups. Open users, and copy ONLY YOUR name in there,
    and make sure that its formatted like so..

    dimerah:
    permissions:
    - '*'
    groups:
    - Owner
    ^
    THAT is the change there. In format. It HAS to be that way or it will not work.

    SO make sure that with each person you add, you make sure the dash is right under the (P) in groups. And then reload. And it should be fine.
     
  16. Offline

    rcjrrjcr

    3.0.4 released. Fixes permissions checking errors , LinkageError, and command array index bug (pointed out by Jeyge). Adds a cache to speed things up.
     
  17. Offline

    Jeyge

    I ran into a couple problems with the 3.0.4. Pastebin.com is down right now so I'll have to paste this here.

    Whole server.log
    Show Spoiler
    Code:
    2011-05-26 21:29:06 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-26 21:29:06 [INFO] Loading properties
    2011-05-26 21:29:06 [INFO] Starting Minecraft server on *:25565
    2011-05-26 21:29:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-753-g34e310c-b803jnks (MC: 1.5_02)
    2011-05-26 21:29:06 [INFO] Preparing level "world"
    2011-05-26 21:29:06 [INFO] Preparing start region
    2011-05-26 21:29:07 [INFO] [Permissions] (Yeti) was initialized.
    2011-05-26 21:29:07 [INFO] iChat (v2.3.0) enabled
    2011-05-26 21:29:07 [INFO] [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    2011-05-26 21:29:07 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
    2011-05-26 21:29:07 [INFO] [MagicCarpet] Using Permissions.
    2011-05-26 21:29:07 [INFO] [MultiVerse] Permissions Found
    2011-05-26 21:29:07 [INFO] [MultiVerse] - Version 1.6.4 Enabled
    2011-05-26 21:29:07 [INFO] [MultiVerse] Loading World & Settings - 'world' - NORMAL
    2011-05-26 21:29:07 [INFO] [MultiVerse] Loading World & Settings - 'Nether' - NETHER
    2011-05-26 21:29:08 [INFO] Preparing spawn area for Nether, 81%
    2011-05-26 21:29:08 [INFO] [MultiVerse] Loading World & Settings - 'world2' - NORMAL
    2011-05-26 21:29:09 [INFO] Preparing spawn area for world2, 89%
    2011-05-26 21:29:09 [INFO] [MultiVerse] 3 - World(s) loaded.
    2011-05-26 21:29:09 [INFO] [MultiVerse] Loading Portals
    2011-05-26 21:29:09 [INFO] [MultiVerse] 0 - Portal(s) loaded.
    2011-05-26 21:29:09 [INFO] [Permissions] version [3.0.4] (Yeti)  loaded
    2011-05-26 21:29:09 [INFO] [iChat] Found Permissions (v3.0.4)
    2011-05-26 21:29:09 [INFO] [MultiVerse] Found Permissions, enabling commands.
    2011-05-26 21:29:09 [INFO] Done (0.358s)! For help, type "help" or "?"
    2011-05-26 21:29:25 [WARNING] Unexpected exception while parsing console command
    org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.0.4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:271)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at com.nijiko.permissions.Entry.removeParent(Entry.java:53)
        at com.nijiko.permissions.User.removeParent(User.java:66)
        at com.nijiko.permissions.User.promote(User.java:90)
        at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:791)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 6 more
    2011-05-26 21:32:06 [INFO] [Permissions] No such group.
    2011-05-26 21:34:24 [INFO] Jeyge [/127.0.0.1:3308] logged in with entity id 279 at (-68.5, 65.62000000476837, -62.5)
    2011-05-26 21:34:34 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'mvlist' in plugin MultiVerse v1.6.4
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        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:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: java.lang.NullPointerException
        at com.nijiko.permissions.Entry.cache(Entry.java:98)
        at com.nijiko.permissions.Entry.has(Entry.java:77)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:259)
        at com.onarandombox.Rigby.MultiVerse.MultiVerse.onCommand(MultiVerse.java:259)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    2011-05-26 21:34:44 [INFO] Connection reset
    2011-05-26 21:34:44 [INFO] Jeyge lost connection: disconnect.quitting
    


    Trying to promote myself using "/pr Jeyge w:TestWorld promote Foo One".
    Show Spoiler
    Code:
    2011-05-26 21:29:25 [WARNING] Unexpected exception while parsing console command
     org.bukkit.command.CommandException: Unhandled exception executing command 'pr' in plugin Permissions v3.0.4
         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
         at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:271)
         at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:401)
         at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:386)
         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
         at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     Caused by: java.lang.NullPointerException
         at com.nijiko.permissions.Entry.removeParent(Entry.java:53)
         at com.nijiko.permissions.User.removeParent(User.java:66)
         at com.nijiko.permissions.User.promote(User.java:90)
         at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:791)
         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
         ... 6 more
     


    Trying to promote myself using "/pr Jeyge w:TestWorld promote Foo w:TestWorld One". I think the parentWorld was incorrectly read causing the group to be not found.
    Show Spoiler
    Code:
    2011-05-26 21:32:06 [INFO] [Permissions] No such group.
     


    Trying to use a command I have permissions to in game.
    Show Spoiler
    Code:
    2011-05-26 21:34:34 [SEVERE] null
     org.bukkit.command.CommandException: Unhandled exception executing command 'mvlist' in plugin MultiVerse v1.6.4
         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
         at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
         at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
         at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
         at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
         at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
         at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
         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:377)
         at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
         at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
     Caused by: java.lang.NullPointerException
         at com.nijiko.permissions.Entry.cache(Entry.java:98)
         at com.nijiko.permissions.Entry.has(Entry.java:77)
         at com.nijiko.permissions.Entry.has(Entry.java:82)
         at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
         at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
         at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
         at com.nijiko.permissions.ModularControl.has(ModularControl.java:259)
         at com.onarandombox.Rigby.MultiVerse.MultiVerse.onCommand(MultiVerse.java:259)
         at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
         ... 12 more
     
     
  18. Offline

    Ratchet

    can you not have permissions 3 generate some empty files with some example format? i'm following the conversion guide exactly but I just can't get my permissions to work at all but can't see what i'm doing wrong without any default example to follow
     
  19. Offline

    Jeyge

    If you download the zip version of Permissions, you will get the templates. Also, feel free to post them on here in code tags and we can help.
     
  20. Offline

    Rocky


    Im a bit curious, as i can't get the promoting correct in my head. You use.


    /pr (user) w:(world) promote (Group Currently in) (Group TO be in) -- ?

    im so utterly confused with this Tracks shit.
     
  21. Offline

    Jeyge

    I'm trying to figure it out myself. I think I have the tracks stuff down now but one error is preventing me from posting what I have. As for the command, what you posted is correct with the exception that "(Group TO be in)" will actually be the track.
     
  22. Offline

    Ratchet

    oh! thanks
     
  23. Offline

    Rocky

    Yeah, but you specify the track within the permissions node correct?

    the permissions.track.(name) - thts probably not the exact node, but just an example.

    Because, i made all the tracks, the same names as the group prefixes. And it just says, that track doesn't exist on that world. BUt no console errors.
     
  24. Offline

    Jeyge

    You will need the permissions for it and what you have there is correct. I've just been using the console to test on mine for now so I haven't needed any yet.

    As for the actual nodes, they come at the end of the groups.yml file. You will need a "tracks:" node at the same level as "groups:".
     
  25. Offline

    vfern_fern

    Thanks Jeyge ^.^
     
  26. Offline

    Rocky

    Shit are you serious? could you post an example of your configuration perhaps?
     
  27. Offline

    Jeyge

    I haven't quite figured it all out yet but I think it will be something like this:
    Code:
    tracks:
        TrackOne:
            - Group1
            - Group3
            - Group5
        TrackTwo:
            - Group1
            - Group2
            - Group4
    
    Once the bug I reported earlier is fixed, I'll be able to finish up my testing and post the whole results.
     
  28. Offline

    ARasputin

    I am getting the following error when I shut down my server:
    Show Spoiler

    Code:
    2011-05-26 23:06:09 [SEVERE] Error occurred while disabling Permissions v3.0.4 (Is it up to date?): null
    java.lang.NullPointerException
        at com.nijiko.permissions.ModularControl.closeAll(ModularControl.java:112)
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:126)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:121)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:246)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:322)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    

    and this error whenever I try to issue a command, though I suspect it is commandbook giving the error, I can't make heads or tails of it and it says "permissions" a lot...:
    Show Spoiler

    Code:
    2011-05-26 23:05:52 [SEVERE] java.lang.NullPointerException
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.Entry.cache(Entry.java:98)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.Entry.has(Entry.java:77)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
    2011-05-26 23:05:52 [SEVERE]     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.hasPermission(NijiPermissionsResolver.java:61)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.hasPermission(CommandBookPlugin.java:442)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.checkPermission(CommandBookPlugin.java:457)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.commands.GeneralCommands.time(GeneralCommands.java:224)
    2011-05-26 23:05:52 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2011-05-26 23:05:52 [SEVERE]     at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    2011-05-26 23:05:52 [SEVERE]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    2011-05-26 23:05:52 [SEVERE]     at java.lang.reflect.Method.invoke(Unknown Source)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.executeMethod(CommandsManager.java:343)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.minecraft.util.commands.CommandsManager.execute(CommandsManager.java:256)
    2011-05-26 23:05:52 [SEVERE]     at com.sk89q.commandbook.CommandBookPlugin.onCommand(CommandBookPlugin.java:241)
    2011-05-26 23:05:52 [SEVERE]     at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-05-26 23:05:52 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:127)
    2011-05-26 23:05:52 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:279)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:699)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:666)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:377)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
    2011-05-26 23:05:52 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    


    Here are my YAML files just in case you need them to look over:

    globalGroups.yml
    Show Spoiler

    Code:
    groups:
        Newbies:
            default: true
            info:
                prefix: '&f[&dNewbie&f] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.kit.list'
                - 'commandbook.kit.kits.starter'
                - 'commandbook.say'
                - 'commandbook.say.me'
                - 'craftbook.mech.cauldron'
                - 'worldedit.navigation.unstuck'
        Members:
            default: false
            info:
                prefix: '&f[&6Member&f] '
                suffix: ''
                build: true
            inheritance:
                - Newbies
            permissions:
                - 'citizens.basic.create'
                - 'citizens.basic.settext'
                - 'citizens.basic.help'
                - 'citizens.general.setname'
                - 'citizens.general.remove.singular'
                - 'citizens.help'
                - 'citizens.general.color'
                - 'citizens.general.colour'
                - 'citizens.general.setitem'
                - 'citizens.general.move'
                - 'citizens.general.getid'
                - 'citizens.general.select'
                - 'citizens.general.talkwhenclose'
                - 'citizens.general.lookatplayers'
                - 'citizens.trader.help'
                - 'citizens.trader.create'
                - 'citizens.trader.stock'
                - 'citizens.trader.viewmoney'
                - 'citizens.trader.balance'
                - 'citizens.blacksmith.repair'
                - 'citizens.healer.help'
                - 'citizens.heal.status'
                - 'citizens.wizard.help'
                - 'citizens.wizard.locations'
                - 'citizens.wizard.useteleport'
                - 'commandbook.spawn'
                - 'commandbook.return'
                - 'commandbook.call'
                - 'commandbook.msg'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.clear'
                - 'commandbook.whois'
                - 'commandbook.whois.other'
                - 'craftbook.mech.*'
                - 'craftbook.ic.safe'
                - 'herochat.create'
                - 'herochat.color'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.bank.*'
                - 'myhome.home.basic.*'
                - 'myhome.home.soc.*'
                - 'worldedit.fixlava'
                - 'worldedit.fixwater'
                - 'worldguard.slay'
                - 'worldguard.locate'
                - 'worldguard.region.claim'
                - 'worldguard.region.info'
                - 'logblock.lookup'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.me'
                - 'logblock.area'
                - 'lockchest.*'
        Moderators:
            default: false
            info:
                prefix: '&f[&bMod&f] '
                suffix: ''
                build: true
            inheritance:
                - Members
            permissions:
                - 'citizens.healer.create'
                - 'citizens.wizard.create'
                - 'citizens.blacksmith.create'
                - 'citizens.wizard.addloc'
                - 'citizens.wizard.removeloc'
                - 'citizens.wizard.changeteleport'
                - 'citizens.healer.level'
                - 'citizens.general.tp'
                - 'commandbook.give'
                - 'commandbook.more'
                - 'commandbook.spawnmob'
                - 'commandbook.teleport'
                - 'commandbook.mute'
                - 'commandbook.clear.other'
                - 'commandbook.kick'
                - 'commandbook.bans.*'
                - 'craftbook.ic.*'
                - 'worldedit.brush.*'
                - 'worldedit.clipboard.*'
                - 'worldedit.navigation.*'
                - 'worldedit.history.*'
                - 'worldedit.region.*'
                - 'worldedit.regen'
                - 'worldedit.scripting.*'
                - 'worldedit.selection.*'
                - 'worldedit.wand'
                - 'worldedit.wand.toggle'
                - 'worldedit.analysis.*'
                - 'worldedit.snapshots.*'
                - 'worldedit.superpickaxe'
                - 'worldedit.tool.info'
                - 'worldedit.fill'
                - 'worldedit.extinguish'
                - 'worldedit.remove'
                - 'worldguard.heal'
                - 'worldguard.region.define'
                - 'worldguard.region.redefine'
                - 'worldguard.region.select'
                - 'worldguard.region.list'
                - 'worldguard.region.flag'
                - 'worldguard.region.setpriority'
                - 'worldguard.region.setparent'
                - 'worldguard.region.remove'
                - 'worldguard.region.addmember'
                - 'worldguard.region.addowner'
                - 'worldguard.region.removemember'
                - 'worldguard.removeowner'
                - 'logblock.rollback'
                - 'backup.canbackup'
        SemiAdmins:
            default: false
            info:
                prefix: '&f[&cSemiAdmin&f] '
                suffix: ''
                build: true
            inheritance:
                - Moderators
            permissions:
                - 'citizens.admin.unlimitedstock'
                - 'commandbook.give.*'
                - 'commandbook.more.infinite'
                - 'commandbook.intro'
                - 'commandbook.midi'
                - 'commandbook.kit.kits.*'
                - 'commandbook.setspawn'
                - 'commandbook.time'
                - 'commandbook.spawnmob.more'
                - 'commandbook.weather'
                - 'commandbook.weather.thunder'
                - 'commandbook.teleport.other'
                - 'commandbook.broadcast'
                - 'commandbook.reload'
                - 'herochat.admin'
                - 'iConomy.admin.*'
                - 'myhome.admin'
                - 'myhome.convert'
                - 'worldedit.generation.*'
                - 'worldedit.chunkinfo'
                - 'worldedit.listchunks'
                - 'worldedit.delchunks'
                - 'worldedit.superpickaxe.*'
                - 'worldedit.tool.*'
                - 'worldedit.fill.recursive'
                - 'worldedit.drain'
                - 'worldedit.removeabove'
                - 'worldedit.removebelow'
                - 'worldedit.removenear'
                - 'worldedit.replacenear'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.butcher'
                - 'worldedit.reload'
                - 'worldguard.god'
                - 'worldguard.god.other'
                - 'worldguard.heal.other'
                - 'worldguard.slay.other'
                - 'worldguard.fire-toggle.stop'
                - 'worldguard.reload'
                - 'worldguard.report'
                - 'xauth.admin.*'
        Admins:
            default: false
            info:
                prefix: '&f[&4Admin&f] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-xauth.exclude'
    


    globalUsers.yml
    Show Spoiler

    Code:
    users:
        ARasputin:
            groups:
                - Admins
            permissions:
        khadji:
            groups:
                - SemiAdmins
            permissions:
        Mr_Cotton_Candy:
            groups:
                - Moderators
            permissions:
        candy_commando:
            groups:
                - Moderators
            permissions:
        cymi:
            groups:
                - Newbies
            permissions:
        caelan:
            groups:
                - Newbies
            permissions:
        ilovefred:
            groups:
                - Members
            permissions:
        ixitacosixi:
            groups:
                - Members
            permissions:
        sleeping_panda:
            groups:
                - Members
            permissions:
        deitylink:
            groups:
                - Members
            permissions:


    storageconfig.yml
    Show Spoiler

    Code:
    permissions:
        storage:
            type: YAML


    Also, I would like to use MySQL storage but I haven't heard back a reply on my previous post on page 3.
     
  29. Offline

    Rocky

    Yeah , i think that you guys need to get some better documentation after those bugfixes. A forum page full of, (HOW TO DO...) is annoying.
     
  30. Offline

    GmK

    It seems like globalgroups/users isnt used yet (or at least not in a way I'd expect it to) - you currently (in my case) still need the groups and users YAMLs in their respective world folder.

    I dont have any problem with Permissions 3.0.4 so far, except that I cant get the global yamls to work. Am still experimenting with storageconfigs copy functions and the tracks. But the basic functionality works splendid.
     
  31. Offline

    vfern_fern

    Hey everybody, can anyone tell me if this is permissions or ichat doing this:

    Code:
    01:14:36 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at com.nijiko.permissions.Entry.cache(Entry.java:98)
        at com.nijiko.permissions.Entry.has(Entry.java:91)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:259)
        at net.TheDgtl.iChat.iChat.hasPerm(iChat.java:265)
        at net.TheDgtl.iChat.iChat.censor(iChat.java:189)
        at net.TheDgtl.iChat.iChat.parseChat(iChat.java:227)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:39)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:671)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        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:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    
    Happened when a player logged in. I am on cbukkit 803, Permissions 3.0.4, Essentials. 2.2.22, iChat 2.3.0

    This error occurs when a player sends text:

    Code:
    01:30:31 [SEVERE] Could not pass event PLAYER_CHAT to iChat
    java.lang.NullPointerException
        at com.nijiko.permissions.Entry.cache(Entry.java:98)
        at com.nijiko.permissions.Entry.has(Entry.java:77)
        at com.nijiko.permissions.Entry.has(Entry.java:82)
        at com.nijiko.permissions.Entry.hasPermission(Entry.java:57)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:277)
        at com.nijiko.permissions.ModularControl.permission(ModularControl.java:266)
        at com.nijiko.permissions.ModularControl.has(ModularControl.java:259)
        at net.TheDgtl.iChat.iChat.hasPerm(iChat.java:265)
        at net.TheDgtl.iChat.iChat.censor(iChat.java:189)
        at net.TheDgtl.iChat.iChat.parseChat(iChat.java:227)
        at net.TheDgtl.iChat.playerListener.onPlayerChat(playerListener.java:39)
        at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:278)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:671)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:660)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        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:377)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:292)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Thanks guys ^.^
     
Thread Status:
Not open for further replies.

Share This Page