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

    Harley

    This latest version just seems way too buggy. I'm a newbie when it comes to Bukkit, I've only had it a few days but from what I've been reading there seems to be lots of issues, and I've got issues too. The problem with my Permissions Install is that it sometimes works and sometimes dosen't, there's no errors.
    My plugins are SpawnList, Permissions, ColorMe, LoginMessage and MyWarp - these all work fine apart from the permissions for SpawnList and ColorMe. The Moderator group used to be able to /item but the other day it just stopped stating "You do not have permission", but for the admin Group it's fine. I'm also having the random [] put in for the users' permissions too.

    I suppose Ill just wait it out.
     
  3. Offline

    Maxis010

    from what I can barely make out it's rejecting multigroup, are you sure you are running permissions 3 not permissions 2
    Redownload permissions from this topic and if the error persists post any errors from your server.log, your users.yml (s) and groups.yml (s)
    *sigh* if you had read the news on the main page of bukkit you would see that any plugin that runs in 818 will work with 860
    If you are having problems then describe the problem, post any errors from your server.log, your users.yml (s) and groups.yml (s) and someone will fix it for you or explain why it can not be fixed
    This is starting to look like I'm responding generic here, anyway post the same stuff as I asked the last 2 people for
    And don't worry about the [], it's permissions way of saying nothing to see here, assume default
     
  4. Offline

    Bloodykittens

    The old permissions worked fine. I just wish I could get those back :(
     
    ToXicFRaGz likes this.
  5. Offline

    Maxis010

    The old permissions still exists, you just won't get any updates from them and I doubt most authors will support the old permissions
     
  6. Offline

    Nick22

    Can you please give me an example of a group that has all permissions except magiccarpet.* Thank You
     
  7. Offline

    Psycho Robot

    Use this:
    Code:
            -'*'
            -'-magiccarpet.*'
     
  8. Offline

    echozhaze

    I am new to permissions. I believe I have everything set up correctly, but none of my groups can build. Is this a known problem?
     
  9. Offline

    Junrall

    Hey everyone....
    Does anybody know which chat plugin works directly with Permission's prefix and suffix settings? I'd like to be able to color each group differently.
    And... can the groups.yml file inherit the prefix and suffix settings from globalgroups.yml?

    Thanks in advance!
     
  10. Offline

    killer987123

    /permissions <target> (w:<world>) promote <parent> (w:<parentworld>) <track>
    help me

    parent? parentworld and track im confused i just wonna promote in game pls help :D
     
  11. Offline

    Ahagen550

    Hello, I am having a weird problem with permissions.

    When a player first logs on, they seem to have no access to any commands and cannot modify any blocks, Even though the default group have build: true

    If I manually add them to the users file in the default group, they are able to change blocks and permissions work just fine.


    If anyone could help me solve this it would be greatly appreciated.

    Here is my global groups file:

    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
    ##
    #   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:
    #
    #       - '*'
    ##
    #   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:
                - 'mcmmo.skills.*'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.ability.*'
                - 'mcmmo.commands.ability'
                - 'mcmmo.commands.party'
                - 'mcmmo.regeneration'
                - 'worldedit.navigation.unstuck'
                - 'commandbook.rules'
                - 'commandbook.who'
                - 'commandbook.motd'
                - 'commandbook.midi'
                - 'commandbook.spawn'
                - 'commandbook.say.me'
                - 'commandbook.msg'
                - 'commandbook.whereami.compass'
                - 'commandbook.debug.info'
                - 'commandbook.debug.clock'
                - 'commandbook.reload'
                - 'worldborder.list'
                - 'stargate.use'
        Mod:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - default
            permissions:
                - 'commandbook.spawnmob'
                - 'commandbook.weather'
                - 'commandbook.teleport'
                - 'commandbook.teleport.other'
                - 'commandbook.return'
                - 'commandbook.mute'
                - 'commandbook.slap.other'
                - 'commandbook.kick'
                - 'commandbook.bans.isbanned'
    
        Op:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Mod
            permissions:
                - 'multiverse.tp'
                - 'multiverse.world.spawn'
                - 'worldedit.*'
                - 'worldguard.*'
                - 'commandbook.*'
                - 'stargate.*'
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
                - '*'
     
  12. Offline

    Javena719

    I have build:true for my admin group but I can't build. I know I am in the group because they are the only ones aloud to use any plugins so far. This is because I want to figure out why I can't build before I waste my time setting up mod and default nodes. Please help. If necessary I will post the group and user files. Thanks in advance.
     
  13. Offline

    Tickety86

    I have a question i ahve all my global commands in palce in the files but how do i inherit FROM the global file what do i type in the inheritance part?
     
  14. Offline

    Bloodykittens

    I'm having yet another problem with permissions. We've finally got everything on our server ready and I reinstalled permissions to see that i've done something wrong apparently.

    Can anyone provide a solution to this?

    http://imgur.com/neQCC

    Looks to me that you have invalid characters in your group permissions. I of course could be wrong, but try
    removing the - infront of your group.

    .yml files are pretty picky about that stuff.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  15. Offline

    fghjconner

    Are you running MyHome (before version 2.0), BigBrother (before build #488), MyWarp (before version 2.0), or Help?
     
  16. Offline

    mickael002

    How to import "YML" config to "MYSQL" ?
     
  17. Offline

    jasonsj10

    Killer u can make it Simpler.

    If u are in the same World as them type
    /pr (User) parents add (Rank)
    /pr (user) parents Remove (Rank)

    It is easy as that! lol if u need any other help just yell
     
  18. Offline

    N0body

    Is there any chat plugin compatible with Permissions 3.1.4 with colors and prefixes? I saw plugins compatible with Permissions 2. Are there any for current version?
     
  19. Offline

    ignitus1

    Hi this problem i have solved.
    But i have an other error i cant add permissions nodes in the groups.yml
    It comes ever an error why
    http://imageshack.us/photo/my-images/684/fehlerex.jpg/
     
  20. Offline

    Revenger

    Essentials chat and i presume others work if have users in the local world files.

    Nothing does global users yet which is annoying.
     
  21. Offline

    zaklampje

    I'm getting this error:

    Code:
    2011-06-17 14:12:15 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-17 14:12:15 [INFO] Loading properties
    2011-06-17 14:12:15 [INFO] Starting Minecraft server on *:25565
    2011-06-17 14:12:15 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
    2011-06-17 14:12:15 [INFO] Preparing level "world"
    2011-06-17 14:12:15 [INFO] Preparing start region for level 0
    2011-06-17 14:12:16 [INFO] Preparing start region for level 1
    2011-06-17 14:12:16 [INFO] Preparing spawn area: 48%
    2011-06-17 14:12:16 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$RefreshTask from class com.nijiko.permissions.ModularControl
    2011-06-17 14:12:16 [SEVERE]     at com.nijiko.permissions.ModularControl.<clinit>(ModularControl.java:45)
    2011-06-17 14:12:16 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    2011-06-17 14:12:16 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:139)
    2011-06-17 14:12:16 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-17 14:12:16 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-17 14:12:16 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-17 14:12:16 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-17 14:12:16 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-06-17 14:12:16 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-17 14:12:16 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-17 14:12:16 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    2011-06-17 14:12:16 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-17 14:12:16 [INFO] [BBROTHER] ------------------------------------
    2011-06-17 14:12:16 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-06-17 14:12:16 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-06-17 14:12:16 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-06-17 14:12:16 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-06-17 14:12:16 [INFO] [BBROTHER] ------------------------------------
    2011-06-17 14:12:17 [INFO] [BBROTHER] Building `bbdata` table...
    2011-06-17 14:12:17 [INFO] [BBROTHER] BBData H2 Driver r1 loaded!
    2011-06-17 14:12:17 [INFO] [BBROTHER] Building `bbworlds` table...
    2011-06-17 14:12:17 [INFO] [BBROTHER] Building `bbusers` table...
    2011-06-17 14:12:17 [INFO] [BBROTHER] Permissions plugin found but disabled. Enabling 'Permissions' (v3.1.5).
    2011-06-17 14:12:17 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-17 14:12:17 [INFO] [BBROTHER] Permissions enabled using: Permissions v3.1.5
    2011-06-17 14:12:17 [WARNING] [BBROTHER] 'Help' isn't detected. No /help support
    2011-06-17 14:12:17 [INFO] [BBROTHER] BigBrother 1.8-SNAPSHOT (build #490) enabled!
    2011-06-17 14:12:17 [INFO] CommandBook 1.5.2 enabled.
    2011-06-17 14:12:17 [INFO] CommandBook: Maximum wrapper compatibility is enabled. Some features have been disabled to be compatible with poorly written server wrappers.
    2011-06-17 14:12:17 [INFO] CommandBook: 7 banned name(s) loaded.
    2011-06-17 14:12:17 [INFO] CommandBook: 1 kit(s) loaded.
    2011-06-17 14:12:17 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [INFO] HelpPages 1.3 enabled
    2011-06-17 14:12:17 [INFO] XXXXXXXXXXXXXXXX Configuration file not found.
    2011-06-17 14:12:17 [INFO] XXXXXXXXXXXXXXXX Configuration file not found.
    2011-06-17 14:12:17 [INFO] XXXXXXXXXXXXXXXX Help Pages reloaded.
    2011-06-17 14:12:17 [INFO] XXXXXXXXXXXXXXXX Help Pages reloaded.
    2011-06-17 14:12:17 [INFO] XXXXXXXXXXXXXXXX Unknown Help Page. Start with /help.
    2011-06-17 14:12:17 [INFO] XXXXXXXXXXXXXXXX Unknown Help Page. Start with /help.
    2011-06-17 14:12:17 [INFO] Help Pages reloaded.
    2011-06-17 14:12:17 [INFO] HelpPages: Permissions detected
    2011-06-17 14:12:17 [INFO] [HeroChat] HeroChat version 4.10.3 enabled.
    2011-06-17 14:12:17 [INFO] [kpcxBukkit] v1.2 is enabled!
    2011-06-17 14:12:17 [INFO] Lockette version 1.3.8 is being enabled!  Yay!  (Core version 1.0)
    2011-06-17 14:12:17 [INFO] Lockette: Detected craftbukkit build [860] ok.
    2011-06-17 14:12:17 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-17 14:12:17 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [INFO] Lockette: Failed to link to Permissions plugin version 3.1.5!
    2011-06-17 14:12:17 [INFO] Lockette: Using ops file for admin permissions.
    2011-06-17 14:12:17 [INFO] Lockette: Ready to protect your containers.
    2011-06-17 14:12:17 [INFO] mxRingplatform v 1.0 enabled
    2011-06-17 14:12:17 [INFO] [MYHOME]: 2 homes loaded
    2011-06-17 14:12:17 [INFO] [MYHOME] Permissions enabled using: Permissions v3.1.5
    2011-06-17 14:12:17 [WARNING] [MYHOME] 'Help' isn't detected. No /help support.
    2011-06-17 14:12:17 [INFO] [MYHOME] MyHome 1.9.5 enabled
    2011-06-17 14:12:17 [INFO] [MYWARP] [MYWARP]: 2 warps loaded
    2011-06-17 14:12:17 [INFO] [MYWARP] Permissions enabled using: Permissions v3.1.5
    2011-06-17 14:12:17 [WARNING] [MYWARP] 'Help' isn't detected. No /help support.
    2011-06-17 14:12:17 [INFO] [MYWARP] MyWarp 2.0 enabled
    2011-06-17 14:12:17 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-17 14:12:17 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [SEVERE] Error occurred while enabling PermissionsPlus v2.3.1 (Is it up to date?): directory
    java.lang.NoSuchFieldError: directory
        at net.codej.permissionsplus.PermissionsPlus.getPath(PermissionsPlus.java:242)
        at net.codej.permissionsplus.PermissionsPlus.loadPermissionsAddon(PermissionsPlus.java:225)
        at net.codej.permissionsplus.PermissionsPlus.onEnable(PermissionsPlus.java:80)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at net.codej.p2aliases.P2Aliases.loadPermissionsPlus(P2Aliases.java:91)
        at net.codej.p2aliases.P2Aliases.onEnable(P2Aliases.java:30)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-17 14:12:17 [INFO] [P2Aliases] 1.1 Enabled.
    2011-06-17 14:12:17 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-17 14:12:17 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [INFO] [Permissions] SQL Interface enabled!
    2011-06-17 14:12:17 [INFO] [VoxelSniper] Config loaded
    2011-06-17 14:12:17 [INFO] VoxelSniper version 4.721 is enabled! Snipe away.
    2011-06-17 14:12:17 [INFO] WorldEdit 4.4 enabled.
    2011-06-17 14:12:17 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-17 14:12:17 [INFO] Done (0,245s)! For help, type "help" or "?"
    2011-06-17 14:12:20 [INFO] [BBROTHER] Removed 0 old records because of age in 0h00m00s.
    
    Do you also need my configfile? Cuz I think it's not an error with that file...
     
  22. Offline

    Maxis010

    Create world specific files, add your groups with settings but No permission nodes and inherit *,groupname
     
  23. Offline

    IRead

    I keep getting THIS every time I try to use a command:

    Unhandled exception executing command 'ds' in plugin DiscoSheep v0.3.1
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:281)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
    at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    at morczor.discosheep.DiscoPermission.pCheck(DiscoPermission.java:125)
    at morczor.discosheep.DiscoPermission.isPermittet(DiscoPermission.java:88)
    at morczor.discosheep.DiscoSheep.onCommand(DiscoSheep.java:134)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    ... 12 more

    Or different things like:

    2011-06-17 14:50:45 [SEVERE] java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    2011-06-17 14:50:45 [SEVERE] at com.sk89q.bukkit.migration.NijiPermissionsResolver.hasPermission(NijiPermissionsResolver.java:61)
    2011-06-17 14:50:45 [SEVERE] at com.sk89q.bukkit.migration.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:102)
    2011-06-17 14:50:45 [SEVERE] at com.sk89q.craftbook.bukkit.BaseBukkitPlugin.hasPermission(BaseBukkitPlugin.java:180)
    2011-06-17 14:50:45 [SEVERE] at com.sk89q.craftbook.bukkit.BukkitPlayer.hasPermission(BukkitPlayer.java:52)
    2011-06-17 14:50:45 [SEVERE] at com.sk89q.craftbook.mech.Cauldron.onRightClick(Cauldron.java:99)
    2011-06-17 14:50:45 [SEVERE] at com.sk89q.craftbook.MechanicManager.dispatchBlockRightClick(MechanicManager.java:168)
    2011-06-17 14:50:45 [SEVERE] at com.sk89q.craftbook.bukkit.MechanicListenerAdapter$MechanicPlayerListener.onPlayerInteract(MechanicListenerAdapter.java:103)
    2011-06-17 14:50:45 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:299)
    2011-06-17 14:50:45 [SEVERE] at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-17 14:50:45 [SEVERE] at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-17 14:50:45 [SEVERE] at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:209)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.Packet15Place.a(SourceFile:57)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-17 14:50:45 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    It's really annoying. Is the problem somewhere in Users or groups?
     
  24. Offline

    ledhead900

    Ok so apprently this thing autoconverts GM now but HOW < Why would u say it does this but not explain where to place the GM groups.yml and user.yml files in order for permissions 3.x to pick it up and start the conversion.

    Even though Permissions 3.x's YAML configuration format is the same as 2.x's, there are some minor changes you need to make first.
    For every world file <world>.yml, create a new directory named <world>, and create users.yml and groups.yml in that folder. In <world>/users.yml, copy all the users from the original <world>.yml into it, and for <world>/groups.yml, copy all the groups from the original into it.
    Also, for every user, change group: <groupname> to
    groups: - <groupname>

    @EVERYONEELSE
    having issue with GlobalUsers and Global worlds - My advice is to NOT use global anything right now not many plugins detect the new global stuff and instead u will get broken permissions, Instead use world MIRRORING and have each world you want to be exactly same mirror the your default world.

    For example In my storageconfig.yml I have
    Code:
    permissions:
        storage:
            type: YAML
            worldcopy:
                world_nether: world
    Since I have two worlds that I want exactly the same ! The above code snippet shows I have Nether duplcating what ever changes are in World

    This method does however require you create a folder for your defualt world if it does not exisit and copy your globalpermissions into a groups.yml and your globalusers into a users.yml under named the same as the default world.
     
  25. Offline

    killer987123

    Thanks for simpler way but what does parents do like what would i put there
     
  26. Offline

    dragonhippie

    Hello guys i need help on the permissions Please D:

    This is the CMD error :
    Code:
    148 recipes
    16 achievements
    23:34:37 [INFO] Starting minecraft server version Beta 1.6.6
    23:34:37 [INFO] Loading properties
    23:34:37 [INFO] Starting Minecraft server on *:25565
    23:34:37 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-
    gb9d0b04-b860jnks (MC: 1.6.6)
    23:34:37 [INFO] Preparing level "world"
    23:34:37 [INFO] Preparing start region for level 0
    23:34:38 [INFO] Preparing spawn area: 81%
    23:34:38 [INFO] Preparing start region for level 1
    23:34:39 [INFO] Preparing spawn area: 89%
    23:34:39 [INFO] LWC     Loading shared objects
    23:34:39 [INFO] Cache   Protection cache: 0/10000
    23:34:39 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    23:34:40 [SEVERE] while scanning for the next token
    found character         '\t' that cannot start any token
     in "<reader>", line 15, column 38:
         ...        - 'iConomy.bank.main.set'
                                             ^
    
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreToken
    s(ScannerImpl.java:360)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:183)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequen
    ceEntry.produce(ParserImpl.java:510)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeSequenceN
    ode(Composer.java:203)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:158)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    23:34:40 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    23:34:40 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:54)
    23:34:40 [SEVERE]       at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:178)
    23:34:40 [SEVERE]       at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:29)
    23:34:40 [SEVERE]       at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:58)
    23:34:40 [SEVERE]       at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    23:34:40 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:93)
    23:34:40 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:84)
    23:34:40 [SEVERE]       at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:105)
    23:34:40 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:186)
    23:34:40 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:139)
    23:34:40 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:112)
    23:34:40 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    23:34:40 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    23:34:40 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    23:34:40 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:283)
    23:34:40 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    23:34:40 [SEVERE] [Permissions] Unable to load permission data.
    23:34:40 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    23:34:40 [INFO] [Permissions] (Yeti) was initialized.
    23:34:40 [INFO] ButtonWeather v1.4 aktiviert.
    23:34:40 [INFO] CommandHelper 3.0.2 enabled
    23:34:40 [INFO] CommandHelper: Permissions plugin detected! Using Permissions pl
    ugin for permissions.
    23:34:40 [INFO] No Aliases were defined.
    23:34:40 [INFO] CraftBookCommon 3.0-alpha2 enabled.
    23:34:40 [INFO] CraftBookCommon: Permissions plugin detected! Using Permissions
    plugin for permissions.
    23:34:40 [INFO] CraftBookCircuits 3.0-alpha2 enabled.
    23:34:40 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permission
    s plugin for permissions.
    23:34:40 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permission
    s plugin for permissions.
    23:34:40 [INFO] CraftBookMechanisms 3.0-alpha2 enabled.
    23:34:40 [INFO] CraftBookMechanisms: Permissions plugin detected! Using Permissi
    ons plugin for permissions.
    23:34:40 [INFO] 1 cauldron recipe(s) loaded
    23:34:40 [INFO] CraftBookVehicles 3.0-alpha2 enabled.
    23:34:40 [INFO] CraftBookVehicles: Permissions plugin detected! Using Permission
    s plugin for permissions.
    23:34:40 [INFO] [DropSpawners] DropSpawners 0.2 has been enabled!
    23:34:40 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    23:34:40 [INFO] iChat (v2.3.0) enabled
    23:34:40 [INFO] [iConomy] Logging is currently disabled.
    23:34:40 [INFO] [iConomy] v5.01 (Eruanna) loaded.
    23:34:40 [INFO] [iConomy] Developed by: [Nijikokun]
    23:34:40 [INFO] [ButtonWeather] iConomy was detected.
    23:34:40 [INFO] LWC     Loaded 134 locale strings (0 overrides)
    23:34:41 [INFO] [Permissions] (Yeti) disabled successfully.
    23:34:41 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permission
    s plugin for permissions.
    23:34:41 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permission
    s plugin for permissions.
    23:34:41 [INFO] LWC     Using Permissions API...
    23:34:41 [INFO] LWC     Loading SQLite
    23:34:41 [INFO] SQLite  Using: Native
    23:34:41 [INFO] LWC     At version: v3.11
    23:34:41 [INFO] [MobBounty] v4.02 (Oxygen) enabled.
    23:34:41 [INFO] [MobBounty] Developed by: [Mattera, Steven (IchigoKyger)].
    23:34:41 [INFO] [MobBounty] Special Thanks to: nijikokun for the Register API.
    23:34:41 [INFO] [MobBounty] Config loaded.
    23:34:41 [INFO] [MobBounty] Payment plugin was found (iConomy v5).
    23:34:41 [INFO] MoveCraft 0.6.8 Final Beta plugin enabled
    23:34:41 [INFO] [Permissions] (Yeti) disabled successfully.
    23:34:41 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permission
    s plugin for permissions.
    23:34:41 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permission
    s plugin for permissions.
    23:34:41 [INFO] [MobBounty] Permission plugin was found (Permissions v3.1.5).
    23:34:41 [INFO] [SignShop] Hooked into Permissions
    23:34:41 [INFO] [SignShop] v1.0 enabled
    23:34:41 [INFO] [SignShop] hooked into iConomy.
    23:34:41 [INFO] WorldEdit 4.4 enabled.
    23:34:41 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin
     for permissions.
    23:34:41 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugi
    n for permissions.
    23:34:41 [INFO] WorldGuard: (world) Single session is enforced.
    23:34:41 [INFO] WorldGuard: (world) TNT ignition is PERMITTED.
    23:34:41 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    23:34:41 [INFO] WorldGuard: (world) Lava fire is blocked.
    23:34:41 [INFO] WorldGuard: (world) Fire spread is UNRESTRICTED.
    23:34:41 [INFO] WorldGuard: Loaded configuration for world 'world"
    23:34:41 [INFO] WorldGuard: (world_nether) Single session is enforced.
    23:34:41 [INFO] WorldGuard: (world_nether) TNT ignition is PERMITTED.
    23:34:41 [INFO] WorldGuard: (world_nether) Lighters are PERMITTED.
    23:34:41 [INFO] WorldGuard: (world_nether) Lava fire is blocked.
    23:34:41 [INFO] WorldGuard: (world_nether) Fire spread is UNRESTRICTED.
    23:34:41 [INFO] WorldGuard: Loaded configuration for world 'world_nether"
    23:34:41 [INFO] WorldGuard 5.0-alpha10 enabled.
    23:34:41 [INFO] Done (0.386s)! For help, type "help" or "?"
    >



    This is my Group YML:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '&2'
                suffix: '&f'
                build: false
            permissions:
                - 'iConomy.bank.deposit'
                - 'iConomy.bank.join.*'
                - 'iConomy.bank.leave'
                - 'iConomy.bank.list'
                - 'iConomy.bank.main'
                - 'iConomy.bank.main.change'
                - 'iConomy.bank.main.set'
                - 'iConomy.bank.main.view'
                - 'iConomy.bank.transfer'
                - 'iConomy.bank.transfer.multiple'
                - 'iConomy.bank.withdraw'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'iConomy.bank.access'
                - 'iConomy.access'
                - 'SignShop.Signs.*'
                - 'mobbounty.collect'
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.create'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.create'
                - 'essentials.signs.sell.use'
                - 'essentials.back.ondeath'
                - 'essentials.home'
                - 'essentials.home.others'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.balance'
                - 'essentials.pay'
                - 'essentials.msg'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail.send'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.whois'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.*'
                - 'essentials.help'
                - 'essentials.back'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.payment'
                - 'iConomy.bank.access'
                - 'iConomy.bank.main'
                - 'iConomy.bank.main.view'
                - 'craftbook.mech.ammeter.use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.bookshelf.use'
                - 'craftbook.mech.cauldron'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.light-switch'
                - 'lwc.protect'
                - 'lwc.blockinventory'
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - 'foo.*'
                - '-foo.test'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            permissions:
                - '*'
    THis i my User YML:
    Code:
    users:
        blazorfire:
            groups:
            - Default
            permissions:
            - herp.derp
        dragonhippie:
            groups:
            - Admin
            permissions:
            - '*'
        joshua_45:
            info:
                prefix: '&4'
            groups:
            - Default
            permissions:
            - -derp.derp
        johnny_2312:
            info:
                prefix: '&4'
            groups:
            - Default
            permissions:
            - -derp.derp
    
    Please answer me ASAP please D:

    Thank You,
    Dragonhippie
     
  27. Offline

    tedmazer

    colors are working but only one is working with the rank name help?
    Edit: By one rank I mean the default is has [newb] other ranks have nothing Ive configured ichat correctly ive checked.
     
    IRead likes this.
  28. Offline

    IRead

    Sorry, Fixed it! I think...
     
  29. Offline

    vildaberper

    Update the source, I dont feel like guessing what arg0, arg1 etc. means.
    Since almost every method is depricated, Id like to stop using them and use the new ones instead.
     
  30. Offline

    Maxis010

    https://github.com/TheYeti/Permissions/tree/experimental
    Last update, 4 days ago
    @rcjrrjcr
    You might want to update the source link with the one I provided above so people stop seeing the v2 source
     
  31. Offline

    Ahagen550

    I did that and got this error message:

    Code:
    2011-06-17 07:51:26 [SEVERE] while scanning an alias
     in "<reader>", line 9, column 15:
                    - *,Default
                      ^
    expected alphabetic or numeric character, but found but found ,
     in "<reader>", line 9, column 16:
                    - *,Default
                       ^
    
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.scanAnchor(ScannerImpl.java:1156)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchAlias(ScannerImpl.java:782)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:313)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.produce(ParserImpl.java:502)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-06-17 07:51:26 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:54)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:93)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:84)
    2011-06-17 07:51:26 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:105)
    2011-06-17 07:51:26 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:186)
    2011-06-17 07:51:26 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:139)
    2011-06-17 07:51:26 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:112)
    2011-06-17 07:51:26 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-17 07:51:26 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-17 07:51:26 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-17 07:51:26 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    2011-06-17 07:51:26 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-17 07:51:26 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-17 07:51:26 [SEVERE] [Permissions] Shutting down Permissions due to error(s).
    
    Any ideas?

    Edit: Forgot to include the groups.yml (Global is unchanged)
    Code:
    groups:
        Default:
            Default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - *,Default
        Mod:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - *,Mod
        Op:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - *,Op
        Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - *,Admin
    
     
Thread Status:
Not open for further replies.

Share This Page