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

    Jeyge

    Spaces in a yml file are usually bad and may not be read the way you would want. I would try changing "Elite Builders" to "EliteBuilders" to see if that fixes things. If it does, then try adding 's around the group.
    Your group Owner is spaced over 1 extra space. Move it back and you should see the errors go away. One other problem I saw in the file that may or may not break things is you don't have a space after a lot of your -. You may want to add those.
    There is a wiki in the original post and sample files in the zip version of the download. Take a look at those and if you run into any problems, post them here.
    You can use your yml files pretty much just like the old ones. Just broken into a groups.yml and users.yml now.
     
  3. Offline

    Bobomaster

    Has anybody found out how to use tracks yet?
    I think it would be way easier to make it like /permissions [username] togglegroup [group]
    It would be simpler and easier to understand...
     
  4. Offline

    riuthamus

    Two problems I have found working with it:

    1) Default group is not assigning to people, and yes its set to default true. So people join and they get null.

    2) globalGroups and globalUsers do nothing. They are pointless right now. I am not sure how you want to use them in the future but right now they are pointless. My assumption is that you will pull from these or something?

    3) Will there be a way to quickly add a user in game to a permissions group? If so, what are your plans for how the command will look?
     
  5. Offline

    macweirdo

  6. Offline

    IlliegalMexican

    Found the problem for those that get "No permissions" error in-game. 3.0.6 only those that have '*' permission can do things. Downgraded to 3.0.4 and it was fixed, but at that version half my plugins break because they detect no permissions.... trying 3.0.5 as we speak.

    EDIT: 3.0.5 gets same error as 3.0.6. This is on Bukkit 815
     
  7. Offline

    Jeyge

    Strangely enough, it is usually the one who received the error who tells us what is wrong and we tell the solution but I'll play along. You don't have any permissions. I'll even go one step further and say that your group in the users.yml file should actually be groups.
    Yep, I did a writeup a few pages back.
    1 - no clue without seeing the files.
    2 - This is being worked on but you are correct in your assumption. As it stands right now, it seems to only pull from the direct group you currently belong to in the globalgroups file but it doesn't respect any inheritance or what the globalusers file says you should have.
    3 - "/permissions (g:)<target> (w:<world>) parents add <groupname> (w:<groupworld>)" will add you to a group.
     
  8. Offline

    Ailenpangwin

    uhm im having problems with this. i used 2.7 or something like that and updated it today. whenever i try to build (regardless of op) it wont let me. i noticed the syntax changed, so i looked into using the link provided in the post, with no prevail. i think i have the users part working out all right, but the groups part is where im having trouble.
    on startup: http://pastebin.com/ZfJ3baU8
    when breaking or logging in: http://pastebin.com/bVt0Rx8B
     
  9. Offline

    Aesran

    Hi, for first, thank's to your job and the time you take to support and manage this plugins.

    For second, i have a little question, i think to installe permission 3.6 with SQL support, but, i scary for the lag, it's potentialy more slow with SQL yeh ?

    Maybe i'm not good, and i'm not competent for improve speed, so i ask to you, have some possibility for develop speed of my dbb ?

    Sorry for my bad english ..
     
  10. Offline

    Jeyge

    Without being able to actually see the files, I can only go by the error but it looks like your spacing is wrong. Yml files want 4 spaces for each indentation level. I know some get away with 2 and even 0 depending on if it is a continuation. In your case, you are trying to use 3 which it doesn't seem to like. I would either go with 2 or 4 and see if that helps.

    There is some potential for plugins to be slower with SQL, but in most cases, it should be faster. A couple reasons it might be slower would be if you are running on a single processor system or you want to use MySQL on an external website. A very big reason it could be faster would be if you have multiple processors and you can run MySQL on another processor.

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

    indigomontoya

    It will handle prefix and suffix but not group. Thats because its looking for the files in the old places. You can get prefix's to work if you define them inside the "users" file itself. I deleted the group part from the ichat config
     
  12. Offline

    Jeyge

    I was actually replying to someone else and not asking why it was happening. Also, it was caused by user.getGroup() returning the wrong group or not returning one at all. I reported this to the dev and he fixed it in the next release and it has been working ever since.
     
  13. Offline

    laneatomic

    Hey all. updated from 2.7.x to 3.0.6, CraftBukkit 803. Not able to issue commands as a member of the Admin group. Receiving the following errors:

    on startup:
    Show Spoiler
    15:38:38 [SEVERE] tried to access class com.nijiko.configuration.NotNullConfiguration$NotNullRepresenter from class com.nijiko.configuration.NotNullConfiguration initializing Permissions v3.0.6 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nijiko.configuration.NotNullConfiguration$NotNullRepresenter from class com.nijiko.configuration.NotNullConfiguration
    at com.nijiko.configuration.NotNullConfiguration.<init>(NotNullConfiguration.java:47)
    at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:112)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:104)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)


    on stop:
    Show Spoiler
    15:45:59 [SEVERE] Error occurred while disabling Permissions v3.0.6 (Is it up to date?): null
    java.lang.NullPointerException
    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)


    On command /who (from General):
    Show Spoiler

    15:39:14 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to General
    java.lang.NullPointerException
    at com.nijikokun.cjcfork.bukkit.General.iListen.onPlayerCommandPreprocess(iListen.java:826)
    at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:271)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:693)
    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)


    globalGroups.yml:
    Show Spoiler

    ##
    # AntiBuild is included with this. To disable a group from being able to build then
    # set the build: flag to false (build: false). If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'foo.bar'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'foo.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    # If you give a group this permissions, do not have the group inherit any permissions
    # from other groups. Any users assigned to this group should NOT be given any additional
    # permissions either.
    ##
    # To exempt a node use the - prefix like so:
    # - '-foo.bar'
    ##
    # prefix: and suffix: do not do anything on their own. You need another outside plugin
    # such as iChat or HeroChat in order for these to do anything.
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    Trusted:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'general.items'
    - 'general.spawn'
    - 'general.player-info'
    - 'general.teleport'
    - 'logblock.me'
    - 'magiccarpet.*'
    - 'general.time'
    - 'landmarks.add'
    - 'landmarks.modify.own'
    - 'landmarks.remove.own'
    - 'myhome.home.basic.*'
    WorldEdit:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - 'Trusted'
    permissions:
    - 'worldedit.clipboard.*'
    - 'worldedit.generation.*'
    - 'worldedit.history.*'
    - 'worldedit.navigation.*'
    - 'worldedit.region.*'
    - 'worldedit.selection.*'
    - 'worldedit.superpickaxe'
    - 'worldedit.superpickaxe.*'
    - 'worldedit.brush.*'
    - 'worldedit.tool.*'
    - 'worldedit.wand'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - 'WorldEdit'
    permissions:
    - 'general.teleport.here'
    - 'general.teleport.to'
    - 'logblock.lookup'
    - 'logblock.tool'
    - 'logblock.toolblock'
    - 'logblock.area'
    - 'logblock.rollback'
    - 'landmarks.modify.all'
    - 'landmarks.remove.all'
    - 'dynmap.render'
    - 'myhome.*'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'


    globalUsers.yml:
    Show Spoiler

    ##
    # 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:
    LaneAtomic:
    groups:
    - Admins
    permissions:
    TabinAhmad:
    groups:
    - Admins
    permissions:
    Osias:
    groups:
    - Admins
    permissions:
    Entity:
    groups:
    - Moderator
    permissions:
    Dwoodhouse:
    groups:
    - Moderator
    permissions:
    KazBlok:
    groups:
    - Moderator
    permissions:
    CitizenkaneMC:
    groups:
    - Moderator
    permissions:
    Dwindlin:
    groups:
    - Trusted
    permissions:
    Kn1nja:
    groups:
    - Trusted
    permissions:
    TheDukeOfFail:
    groups:
    - Trusted
    permissions:
    Sonusem:
    groups:
    - Trusted
    permissions:
    128Hoodmario:
    groups:
    - Trusted
    permissions:
    Nikademus:
    groups:
    - Trusted
    permissions:
    SamuraiZach:
    groups:
    - Trusted
    permissions:
    Hythian:
    groups:
    - Trusted
    permissions:
    Evelgrivion:
    groups:
    - WorldEdit
    permissions:
    Mysticales:
    groups:
    - Trusted
    permissions:
    Josefius:
    groups:
    - Trusted
    permissions:
    Klima:
    groups:
    - Trusted
    permissions:
    Vanderie:
    groups:
    - Trusted
    permissions:
    KarmicDrops:
    groups:
    - Trusted
    permissions:
    Batolemaeus:
    groups:
    - Trusted
    permissions:
    neds81:
    groups:
    - Trusted
    permissions:


    Permissions/world/users.yml and groups.yml match globalUsers.yml and globalGroups.yml respectively.

    storageconfig.yml:
    Show Spoiler

    permissions:
    storage:
    type: YAML
     
  14. Offline

    andune

    Looks like everyone is going to move to this, which I think is fantastic. Lots of great features here! I have a feature request, hopefully not to difficult to add: I'd love the concept of a transient ability (ala the Java keyword) that can be set and will show up as true for all the normal Permissions check, but will never be serialized to cache/disk.

    I have two purposes in mind for those, though I'm sure others can think of more: 1) Revive BuyAbilities mod, allow admins to let their users have controlled access to various mods, without the risk of an ability getting "stuck on" (by being serialized) and 2) Have abilities that tie into WorldGuard regions that are only on for certain areas: again without the risk that a bug could result in the ability getting serialized and stuck "on". It would be the responsibility of folks using the transient perms API to make sure they persist abilities separately (if that's their intent) and turn them on on player login, mod startup, whatever.

    Thanks for considering!

    Edit: I see you have an issue tracker, I've submitted this there as well as a feature request.
     
  15. Offline

    allisgood888

    Code:
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-05-28 16:09:52 [SEVERE] at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-05-28 16:09:52 [SEVERE] at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    2011-05-28 16:09:52 [SEVERE] at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:192)
    2011-05-28 16:09:52 [SEVERE] at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    2011-05-28 16:09:52 [SEVERE] at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:86)
    2011-05-28 16:09:52 [SEVERE] at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:83)
    2011-05-28 16:09:52 [SEVERE] at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:75)
    2011-05-28 16:09:52 [SEVERE] at com.nijiko.permissions.ModularControl.load(ModularControl.java:96)
    2011-05-28 16:09:52 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:161)
    2011-05-28 16:09:52 [SEVERE] at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:118)
    2011-05-28 16:09:52 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:88)
    2011-05-28 16:09:52 [SEVERE] at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:217)
    2011-05-28 16:09:52 [SEVERE] at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:204)
    2011-05-28 16:09:52 [SEVERE] at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:144)
    2011-05-28 16:09:52 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:259)
    2011-05-28 16:09:52 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-28 16:09:52 [SEVERE] [Permissions] Unable to load permission data.
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.help'
                - 'essentials.rules'
                - essentials.motd'
                - 'essentials.helpop'
                - 'turnstile.use'
                - 'turnstile.make'
                - 'turnstile.link'
                - 'turnstile.price'
                - 'iConomy.access'
                - 'iConomy.payment'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'essentials.list'
                - 'essentials.spawn'
                - 'lwc.protect'
                - 'localshops.create'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'lc.level.*'
                - 'lc.shout'
                - 'craftbook.mech.*'
        Mod:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'antihack.canfly'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.tp'
                - 'magiccarpet.mc'
                - 'essentials.tphere'
                - 'essentials.broadcast'
                - 'essentials.ban'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.togglejail'
                - 'essentials.invsee'
                - 'essentials.time'
                - 'vanish.vanish'
                - 'vanish.dont.hide'
                - 'griefalertr.use'
                - 'griefalertr.view'
                - 'lwc.mod'
                - 'signtrader.admin.BreakAnySign'
                - 'colorme.self'
                - 'bb.admin.*'
        Admin:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Owner:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Bronze:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Silver:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Gold:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Platinum:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        l33t:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Uber:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
    Code:
    users:
        allisgood888:
            groups:
                - Owner
            permissions:
        milesokeefe:
            groups:
                - Admin
            permissions:
        Rothbane:
            groups:
                - Silver
            permissions:
                - 'essentials.heal'
                - 'essentials.tp'
                - 'essentials.back'
                - 'essentials.back.ondeath
        kymotsujason:
            groups:
                - Platinum
            permissions:
                - 'magiccarpet.mc'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.heal'
                - 'essentials.tp'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.time'
                - 'essentials.broadcast'
                - 'lwc.protect'
                - 'turnstile.use'
                - 'turnstile.make'
                - 'turnstile.link'
                - 'turnstile.price'
                - 'iConomy.access'
                - 'iConomy.payment'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'localshops.manage'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.helpop'
                - 'SpawnX.spawn'
                - 'lwc.protect'
                - 'essentials.help'
                - 'essentials.list'
                - 'localshops.create'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'lc.level.*'
                - 'lc.shout'
                - 'craftbook.mech.*'
                - 'essentials.ping'
                - 'essentials.kit.donator'
                - 'essentials.kit'
        soundsnsilence:
            groups:
                - Mod
            permissions:
        thechink09:
            groups:
                - Admin
            permissions:
                - 'essentials.tp'
                - 'essentials.heal'
                - 'essentials.kit.donator'
                - 'essentials.kit'
                - 'essentials.tphere'
                - 'colorme.self'
                - 'magiccarpet.mc'
        sjrbaker:
            groups:
                - Default
            permissions:
                - 'magiccarpet.mc'
     
  16. Offline

    Phinary

    is there a way to transfer the old files to the mysql database?
     
  17. Offline

    l104693

  18. Offline

    Retricide

    The guide link is broken...it was working before but isn't now.
    Also, it looks as if the configuration info on the wiki is wrong. I might be wrong because I havn't upgraded to x3 yet, but it looks like x2's config.
     
  19. Offline

    fugue2005

    i'm sorry, but this is just stupid, there have been at least 6 questions about how to configure tracks, and what goes in the blank storageconfig.yml file and not one answer from a plugin dev.

    if you want us to use it, show us how.


    /permissions <target> (w:<world>) demote <parent> (w:<parentworld>) <track>
    simple?
    how about
    /promote <target>
    /demote <target>
    /setgroup <target>
     
  20. Offline

    mmdawg1

    same
     
  21. Offline

    Maxis010

    @vfern_fern
    @mmdawg1

    Globals allow you to set groups and users across all of your worlds without setting them in each file
    The globals are currently deactivated so don'try to use them as they won't work

    @fugue2005
    https://github.com/TheYeti/Permissions/wiki/Storageconfig.yml-Options
    Oh look, something about Storage options, too bad you can't spend 5 minutes searching a wiki because it isn't linked for you just like that guide about tracks requiring you to check back a few pages

    As for the commands, they aren't built for simplicity, they are built for compatability
    In this case EVERYTHING runs off of /permissions, this means there is 1 command to register instead of half a dozen commands which can cause conflicts


    And a question for you, how old are those questions and have they been answers by ANYONE?
    Less than a day and yes they have received answers? Then those people are getting they support they need, or do you think everyone is going "Herpaderp, dunno how to make work, wait for developer"
    I certainly don't and to pick a name of someone that is as helpful as a dev is @Jeyge
    I've seen him in a number of topics helping people out because he knows the common problems and about 70% of the answers of the questions that are being asked, the other 30% are caught by other people or the devs when they get a chance to do something besides get on with their lives

    /rant
     
    Don Redhorse likes this.
  22. Offline

    RustyDagger

    Format you just put that in is so confusing with all the brackets. so an example would be handy from what i can understand its like:

    /permissions RustyDagger parents add Admin

    But the command can also be used to add groups to worlds ect.
     
  23. Offline

    Jeyge

    The format is a little confusing at first but after you add/remove a few permissions, you get the hang of it. Just as a test, I set up a full set of permissions only using the commands and it wasn't hard after a while. As for the brackets (parentheses) they mostly mean somewhat optional items. IE - if you are in the world you want to add someone too, you don't need to include w:<world>. If I want to add Joe to the same worlds Builders group, I would type "/pr Joe parents add Builders". If I were messing around in the Nether and I wanted to add him to the Builders group in World2, I would type "/pr Joe w:World2 parents add Builders w:World2".
    I actually added the information a couple pages back about the track stuff. Either I can look it up or you can but I would rather you do it.
    The transition from 2 to 3 really is as simple as you may have seen in there. It really just requires you to copy your groups to a groups.yml file and your users to a users.yml file and change 1 thing. You have to change all group: <group> in your users.yml file to:
    Code:
            groups:
                - <group>
    
    There is a perl script in the original post showing how to use it to copy everything to your MySQL db. I have a feeling it won't be an easy thing to run though.

    These errors have been caused by a few different plugins so far and I haven't seen anything posted yet about a fix but in your list, it looks like the only 2 that might be suspect would be dynmap and logblock. I would remove dynmap first and see if it clears things up. If it doesn't, try removing logblock. If neither of them fix things, try removing others 1 by 1 and if you find something that fixes it, post back here and I'll add it to my list.
    That was some interesting files. I've fixed a few things for you. Give these a try.

    groups.yml
    Show Spoiler
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mcmmo.skills.*'
                - 'essentials.motd'
                - 'essentials.msg'
                - 'essentials.rules'
                - 'essentials.list'
                - 'essentials.helpop'
                - 'essentials.ping'
                - 'essentials.kit'
                - 'essentials.kit.*'
                - 'essentials.mail'
                - 'essentials.mail.send'
        Member:
            default: false
            info:
                prefix: '&9'
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
        Veteran:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
                - Member
            permissions:
                - 'nocheat.speedhack'
                - 'nocheat.moving'
                - 'nocheat.notify'
                - 'SpawnControl.spawn.use'
        MinusModerator:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
                - 'Veteran'
            permissions:
                - 'bb.admin.info'
                - 'discosheep.mob.sheep'
                - 'discosheep.mob.creeper'
                - 'discosheep.party.one'
                - 'discosheep.party.many'
                - 'discosheep.stop'
                - 'ThunderPort.teleport'
                - 'essentials.back'
                - 'essentials.me'
                - 'advbans.ban'
                - 'advbans.banip'
                - 'advbans.unbanip'
                - 'advbans.unban'
                - 'advbans.kick'
                - 'signlogger.notify'
                - 'lwc.protect'
                - 'vanish.vanish'
                - 'vanish.nopickup'
        PlusModerator:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
                - 'MinusModerator'
            permissions:
                - 'godPowers.heal'
                - 'godPowers.jesus'
                - 'godPowers.superjump'
                - 'bb.admin.rollback'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.tppos'
                - 'essentials.warp'
                - 'essentials.warp.home'
                - 'essentials.warp.*'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.heal'
                - '/heal'
                - '/healother'
                - 'vanish.vanish'
                - 'vanish.list'
                - 'vanish.nopickup'
                - 'vanish.noaggromobs'
                - 'essentials.world'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    

    users.yml
    Show Spoiler
    Code:
    users:
        l104693:
            groups:
            - 'Admin'
            permissions: null
        BalkondeurAlpha:
            groups:
            - 'PlusModerator'
            permissions: null
        Fijngemalen:
            groups:
            - 'Veteran'
            permissions: null
        Chub1337:
            groups:
            - 'Veteran'
            permissions: null
        Nyxusi:
            groups:
            - 'Veteran'
            permissions: null
        rakketakke:
            groups:
            - 'MinusModerator'
            permissions: null
        unknown5:
            groups:
            - 'MinusModerator'
            permissions: null
        boeroeboeroe:
            groups:
            - 'Veteran'
            permissions: null
        Frank:
            groups:
            - 'Member'
            permissions: null
        mario:
            groups:
            - 'Member'
            permissions: null
        kappie7:
            groups:
            - 'Member'
            permissions: null
        larsgrevelin:
            groups:
            - 'Member'
            permissions: null
        ricknubbit:
            groups:
            - 'Member'
            permissions: null
        PicanteKing:
            groups:
            - 'Member'
            permissions: null
        awsomefaceNL:
            groups:
            - 'Member'
            permissions: null
        joeri:
            groups:
            - 'Member'
            permissions: null
        wouter535:
            groups:
            - 'Member'
            permissions: null
        keizertwisk:
            groups:
            - 'Member'
            permissions: null
        ksakilla:
            groups:
            - 'Member'
            permissions: null
        banaan:
            groups:
            - 'Member'
            permissions: null
        sjeesen:
            groups:
            - 'Member'
            permissions: null
        freshq:
            groups:
            - 'Member'
            permissions: null
        martijn18e:
            groups:
            - 'Member'
            permissions: null
        Piggymurderer:
            groups:
            - 'Member'
            permissions:
            - essentials.whois
            - essentials.warp.*
            - SpawnControl.spawn.use
        rustysteelogre:
            groups:
            - 'Member'
            permissions: null
        Player:
            permissions: null
            groups: null
    


    The only thing I saw was a missing opening ' on one line in your groups.yml file and a closing ' in users.yml. Hopefully, that will fix your problems.

    groups.yml
    Show Spoiler
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.help'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.helpop'
                - 'turnstile.use'
                - 'turnstile.make'
                - 'turnstile.link'
                - 'turnstile.price'
                - 'iConomy.access'
                - 'iConomy.payment'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'essentials.list'
                - 'essentials.spawn'
                - 'lwc.protect'
                - 'localshops.create'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'lc.level.*'
                - 'lc.shout'
                - 'craftbook.mech.*'
        Mod:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
                - 'antihack.canfly'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.tp'
                - 'magiccarpet.mc'
                - 'essentials.tphere'
                - 'essentials.broadcast'
                - 'essentials.ban'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.togglejail'
                - 'essentials.invsee'
                - 'essentials.time'
                - 'vanish.vanish'
                - 'vanish.dont.hide'
                - 'griefalertr.use'
                - 'griefalertr.view'
                - 'lwc.mod'
                - 'signtrader.admin.BreakAnySign'
                - 'colorme.self'
                - 'bb.admin.*'
        Admin:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Owner:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Bronze:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Silver:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Gold:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Platinum:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        l33t:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Uber:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:

    users.yml
    Show Spoiler
    Code:
    users:
        allisgood888:
            groups:
                - Owner
            permissions:
        milesokeefe:
            groups:
                - Admin
            permissions:
        Rothbane:
            groups:
                - Silver
            permissions:
                - 'essentials.heal'
                - 'essentials.tp'
                - 'essentials.back'
                - 'essentials.back.ondeath'
        kymotsujason:
            groups:
                - Platinum
            permissions:
                - 'magiccarpet.mc'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.heal'
                - 'essentials.tp'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.time'
                - 'essentials.broadcast'
                - 'lwc.protect'
                - 'turnstile.use'
                - 'turnstile.make'
                - 'turnstile.link'
                - 'turnstile.price'
                - 'iConomy.access'
                - 'iConomy.payment'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'localshops.manage'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.helpop'
                - 'SpawnX.spawn'
                - 'lwc.protect'
                - 'essentials.help'
                - 'essentials.list'
                - 'localshops.create'
                - 'signtrader.MakePersonalSign'
                - 'signtrader.Use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'lc.level.*'
                - 'lc.shout'
                - 'craftbook.mech.*'
                - 'essentials.ping'
                - 'essentials.kit.donator'
                - 'essentials.kit'
        soundsnsilence:
            groups:
                - Mod
            permissions:
        thechink09:
            groups:
                - Admin
            permissions:
                - 'essentials.tp'
                - 'essentials.heal'
                - 'essentials.kit.donator'
                - 'essentials.kit'
                - 'essentials.tphere'
                - 'colorme.self'
                - 'magiccarpet.mc'
        sjrbaker:
            groups:
                - Default
            permissions:
                - 'magiccarpet.mc'


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

    Aesran

    Thank's ! By "external website" you think to a website not in localhost ?
     
  25. Offline

    Jeyge

    Yep. There are many web-services out there that offer MySQL servers for either free or a very low price. Those can be used for this but there is an additional overhead with the calls to the web. I run mine off a different processor on the same machine as my Minecraft server but I did look at an external one.

    Thank you for that Maxis010 but no matter how many questions I answer in here, I don't even come close to the wide variety of questions that you and others answer in a lot of topics every day. I have a few threads that I feel comfortable in and tend to watch but I usually see names like yours showing up in a lot of threads. As for the devs, I think we all try to take some of the burden off of them as they have plenty just from modifying the code. No matter what though, I think we have a really good set of devs and helpers on this forum.

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

    MineFreakz

    Wow this is barely working with any of my plugins!

    Iconomy chest shop gives me this error:
    Code:
    [SEVERE] Could not pass event PLAYER_INTERACT to iConomyChestShop
    java.lang.IllegalArgumentException: Listener already listening
        at net.minecraft.server.Container.a(SourceFile:28)
        at net.minecraft.server.EntityPlayer.syncInventory(EntityPlayer.java:70)
        at org.bukkit.craftbukkit.entity.CraftPlayer.updateInventory(CraftPlayer.java:217)
        at com.Acrobot.iConomyChestShop.Shop.buy(Shop.java:80)
        at com.Acrobot.iConomyChestShop.ShopManager.buy(ShopManager.java:61)
        at com.Acrobot.iConomyChestShop.ShopManager.transaction(ShopManager.java:43)
        at com.Acrobot.iConomyChestShop.iConomyChestShopPlayerListener.onPlayerInteract(iConomyChestShopPlayerListener.java:87)
        at org.bukkit.plugin.java.JavaPluginLoader$9.execute(JavaPluginLoader.java:299)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:162)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:209)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:544)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:215)
        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:396)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:308)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    When im trying to use a shop, it works, but i get this error and thats annoying :)

    And Falsebook doesnt work either, when i have falsebook installed, i have no more buildrights and permissions isnt working properly!

    I dont know which plugin has the mistake but just so you know
     
  27. Offline

    l104693

    Thanks for your help, but this didn't solve my problem...
    I'm now running that .yml files, and I still have the same problem :(
    Anybody else got an idea? or you got another idea?
    Kind regards, l104693
     
  28. In the Permissions 2.7 thread someone said that there will be a setGroup() method in 3.0. The problem is that I didn't find one. Is it hidden somewhere oder possible otherwise to set the group of a player through the API?

    Any anwser is greatly aprecieted.
     
  29. Offline

    Henreezy

    I've arranged the files for my worlds as I would with (phoenix build) but I end up as the lowest rank still :|
     
  30. I, too, failed to get permissions running with 3.0.6, had 2.7 before.

    No-one has any permissions. The file Structure is: /plugins/Permissions/Minetopia/users.yml (Minetopia obviously being the world's name). I have copied and pasted the storageconfic.yml info from GitHub.

    Here's the codes:

    groups:
    Show Spoiler

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'multiverse.*'
                - '-multiverse.world.*'
                - 'essentials.*'
                - '-essentials.signs.*'
                - '-essentials.essentials'
                - '-essentials.reloadall'
                - '-essentials.setspawn'
                - 'worldedit.*'
                - '-worldedit.superpickaxe.*'
                - '-worldedit.superpickaxe'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    


    users:
    Show Spoiler

    Code:
    users:
    
        Cronos988:
            groups: 
                - Admins
            permissions:
            
        WingedTwilight:
            groups: 
                - Moderator
            permissions:
    
        Herpina:
            groups: 
                - Moderator
            permissions:
                - 'herp.derp'
        Derpina:
            groups: 
                - Admins
            permissions:
                - '-derp.derp'
    


    I have no idea what I am doing wrong, everything seems fine (no tabstops either, I used spaces), notepad ++ shows no syntax errors.
     
  31. Code:
    14:51:18 [SCHWERWIEGEND] mapping values are not allowed here
     in "<reader>", line 2, column 15:
        users:    Erik:        groups:            - Ad ...
                      ^
    
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchV
    alue(ScannerImpl.java:745)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchM
    oreTokens(ScannerImpl.java:307)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.checkT
    oken(ScannerImpl.java:183)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlo
    ckMappingKey.produce(ParserImpl.java:564)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl.peekEven
    t(ParserImpl.java:163)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl.checkEve
    nt(ParserImpl.java:148)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeM
    appingNode(Composer.java:228)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeN
    ode(Composer.java:160)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeD
    ocument(Composer.java:122)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.getSingl
    eNode(Composer.java:105)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.constructor.BaseConstructo
    r.getSingleData(BaseConstructor.java:124)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    14:51:18 [SCHWERWIEGEND]        at org.bukkit.util.config.Configuration.load(Con
    figuration.java:74)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.data.YamlUserStorage.reload(YamlUs
    erStorage.java:192)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.data.YamlUserStorage.<init>(YamlUs
    erStorage.java:29)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.data.StorageFactory.getUserStorage
    (StorageFactory.java:86)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.forceLo
    adWorld(ModularControl.java:83)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.loadWor
    ld(ModularControl.java:75)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.load(Mo
    dularControl.java:96)
    14:51:18 [SCHWERWIEGEND]        at com.nijikokun.bukkit.Permissions.Permissions.
    setupPermissions(Permissions.java:161)
    14:51:18 [SCHWERWIEGEND]        at com.nijikokun.bukkit.Permissions.Permissions.
    onLoad(Permissions.java:118)
    14:51:18 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.CraftServer.loadPlugin
    s(CraftServer.java:106)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.e(Minecr
    aftServer.java:229)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.a(Minecr
    aftServer.java:216)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.init(Min
    ecraftServer.java:146)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.run(Mine
    craftServer.java:282)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.ThreadServerApplication.
    run(SourceFile:422)
    14:51:18 [SCHWERWIEGEND] [Permissions] Unable to load permission data.
    14:51:18 [INFO] [Permissions] Shutting down Permissions due to error(s).
    14:51:18 [INFO] [Permissions] (Yeti) was initialized.
    14:51:18 [SCHWERWIEGEND] mapping values are not allowed here
     in "<reader>", line 2, column 15:
        users:    Erik:        groups:            - Ad ...
                      ^
    
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchV
    alue(ScannerImpl.java:745)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchM
    oreTokens(ScannerImpl.java:307)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.scanner.ScannerImpl.checkT
    oken(ScannerImpl.java:183)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlo
    ckMappingKey.produce(ParserImpl.java:564)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl.peekEven
    t(ParserImpl.java:163)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.parser.ParserImpl.checkEve
    nt(ParserImpl.java:148)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeM
    appingNode(Composer.java:228)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeN
    ode(Composer.java:160)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.composeD
    ocument(Composer.java:122)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.composer.Composer.getSingl
    eNode(Composer.java:105)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.constructor.BaseConstructo
    r.getSingleData(BaseConstructor.java:124)
    14:51:18 [SCHWERWIEGEND]        at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    14:51:18 [SCHWERWIEGEND]        at org.bukkit.util.config.Configuration.load(Con
    figuration.java:74)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.data.YamlUserStorage.reload(YamlUs
    erStorage.java:192)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.data.YamlUserStorage.<init>(YamlUs
    erStorage.java:29)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.data.StorageFactory.getUserStorage
    (StorageFactory.java:86)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.forceLo
    adWorld(ModularControl.java:83)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.loadWor
    ld(ModularControl.java:75)
    14:51:18 [SCHWERWIEGEND]        at com.nijiko.permissions.ModularControl.load(Mo
    dularControl.java:96)
    14:51:18 [SCHWERWIEGEND]        at com.nijikokun.bukkit.Permissions.Permissions.
    setupPermissions(Permissions.java:161)
    14:51:18 [SCHWERWIEGEND]        at com.nijikokun.bukkit.Permissions.Permissions.
    onLoad(Permissions.java:118)
    14:51:18 [SCHWERWIEGEND]        at org.bukkit.craftbukkit.CraftServer.loadPlugin
    s(CraftServer.java:106)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.e(Minecr
    aftServer.java:229)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.a(Minecr
    aftServer.java:216)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.init(Min
    ecraftServer.java:146)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.MinecraftServer.run(Mine
    craftServer.java:282)
    14:51:18 [SCHWERWIEGEND]        at net.minecraft.server.ThreadServerApplication.
    run(SourceFile:422)
    14:51:18 [SCHWERWIEGEND] [Permissions] Unable to load permission data.
    14:51:18 [INFO] [Permissions] Shutting down Permissions due to error(s).
    14:51:18 [INFO] [Permissions] (Yeti) was initialized.
    Please Help me
    I don't know what it can be ..
    Before 1.6.5 it worked perfect and know it doesn't work anymore

    My users file is:
    Code:
    
    users:
    
        Erik:
    
            groups: Admins
    
            permissions:
    
    Mose:
    
            groups:
     Moderator
    
            permissions:
    
        Tobi:
    
            groups: Moderator
    
            permissions:
    
        Robert:
    
            groups:
     Moderator
            permissions:
    
        Marc:
    
            groups: Moderator
    
            permissions:
    
        Hunterchen:
    
            groups: Moderator
    
            permissions:
    and my groups file

    Code:
    groups:
    
        Default:
    
            default: true
    
            info:
    
                prefix: ''
    
                suffix: ''
    
                build: true
    
            inheritance:
    
            permissions:
    
        Moderator:
    
            default: false
    
            info:
    
                prefix: ''
    
                suffix: ''
    
                build: true
    
            inheritance:
    
                - Default
    
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.home.others'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.time'
                - 'commandbook.time'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.balance'
                - 'essentials.afk'
                - 'essentials.signs.free.use'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.warp.use'
                - 'fight.user'
                - 'essentials.worth'
                - 'essentials.pay'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.balance.use'
    
        Admins:
    
            default: false
    
            info:
    
                prefix: ''
    
                suffix: ''
    
                build: true
    
            inheritance:
    
            permissions:
    
                - '*'
     
Thread Status:
Not open for further replies.

Share This Page