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

    Silarn

    I think it is a misconception that default users do not inherit default permissions. In my experience players DO get their default permissions. The only thing I have noticed is that they won't properly receive build rights on worlds that inherit from (not copy, as copy worlds seem to work perfectly) other worlds.

    Moreso, the issues I see have to do with the way inheritance works between worlds. Worlds literally only inherit the permissions of a parent world. All info tags, group names, etc do not inherit down the tree.

    YAML configuration checklist:

    worldcopy: works
    world-inheritance: partial
    group inheritance: partial​
    permissions inheritance: works​
    info inheritance: broken (all worlds must redefine group info entries or they do not exist)​
    user inheritance: partial​
    assigned group (inherited): partial​
    permissions checks: works​
    group name checks: broken (goes to default group)​
    info checks: broken (goes to default group)​
    build rights: works (but what if the default group doesn't have build rights? untested)​
    assigned group (defined): works​
    unassigned (default) group: partial​
    permissions checks: works​
    group name checks: works​
    info checks: works​
    build rights: partial​
    parent worlds: works (inherit from none or global - none not fully tested)​
    child worlds: broken​
     
  3. 148 recipes
    16 achievements
    15:51:32 [INFO] Starting minecraft server version Beta 1.6.6
    15:51:32 [INFO] Loading properties
    15:51:32 [INFO] Starting Minecraft server on *:25565
    15:51:32 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    15:51:32 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    15:51:32 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    15:51:32 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    15:51:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
    15:51:33 [INFO] Preparing level "world"
    15:51:33 [INFO] Preparing start region for level 0
    15:51:34 [INFO] Preparing spawn area: 81%
    15:51:34 [INFO] Preparing start region for level 1
    15:51:35 [INFO] Preparing spawn area: 73%
    15:51:35 [SEVERE] Could not load 'plugins/Permissions.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:167)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
    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)
    15:51:36 [INFO] Loaded Essentials build 2.1.38 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    15:51:36 [INFO] Done (0.290s)! For help, type "help" or "?"

    SOMEONEEE HELPPP!! =\ only essentials seems to be working every other plugin says.. error bad version =\ and i get the latest version yet it still says that.. =\

    Code:
    148 recipes
    16 achievements
    15:51:32 [INFO] Starting minecraft server version Beta 1.6.6
    15:51:32 [INFO] Loading properties
    15:51:32 [INFO] Starting Minecraft server on *:25565
    15:51:32 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    15:51:32 [WARNING] The server will make no attempt to authenticate usernames. Beware.
    15:51:32 [WARNING] While this makes the game possible to play without internet access, it also opens up the ability for hackers to connect with any username they choose.
    15:51:32 [WARNING] To change this, set "online-mode" to "true" in the server.settings file.
    15:51:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-gb9d0b04-b860jnks (MC: 1.6.6)
    15:51:33 [INFO] Preparing level "world"
    15:51:33 [INFO] Preparing start region for level 0
    15:51:34 [INFO] Preparing spawn area: 81%
    15:51:34 [INFO] Preparing start region for level 1
    15:51:35 [INFO] Preparing spawn area: 73%
    15:51:35 [SEVERE] Could not load 'plugins/Permissions.jar' in folder 'plugins':
    java.lang.UnsupportedClassVersionError: Bad version number in .class file
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
            at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
            at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
            at java.lang.Class.forName0(Native Method)
            at java.lang.Class.forName(Class.java:242)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:167)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:194)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:117)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
            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)
    15:51:36 [INFO] Loaded Essentials build 2.1.38 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    15:51:36 [INFO] Done (0.290s)! For help, type "help" or "?"
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  4. Offline

    Flayr

    Please HELP

    I am setting up a server and am having issues with permissions. I have tried everything to fix it looked at the faq but it wont work. I have iChat and my config is this

    Code:
    message-format: '+prefix[+group] +name&f: +message'
    In my permissions folder I have the three global files empty no nether folder just one folder with the same name as my world. Here is my groups


    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:
        Player:
            default: true
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'showcase.basic'
                - 'showcase.buy.*'
                - 'showcase.exchange'
                - 'showcase.finite'
                - 'essentials.help'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.disposal.*'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.depth'
                - 'essentials.back'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.list'
                - 'essentials.mail.*'
                - 'craftbook.mech.*'
                - 'creaturebox.dropspawner'
                - 'creaturebox.placespawner'
                - 'creaturebox.placespawner'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'localshops.create'
                - 'localshops.move'
                - 'localshops.destroy'
                - 'phatloots.use'
                - 'towny.spawntp'
                - 'mcmmo.skills.*'
                - 'mcmmo.commands.ability'
                - 'mcmmo.ability.*'
                - 'falsebook.blocks.*'
                - 'essentials.me'
                - 'essentials.clearinventory'
                - 'essentials.suicide'
                - 'essentials.whois'
                - 'essentials.seen'
                - 'stargate.use'
                - 'stargate.create.personal'
                - 'stargate.destroy.owner'
                - 'stargate.use'
                - 'essentials.me
        VIP:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
                - Player
            permissions:
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.me'
                - 'portalstick.placeportal'
                - 'stargate.hidden'
        Moderator:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
                - 'essentials.jump'
                - 'essentials.teleport.cooldown.bypass'
                - 'essentials.teleport.timer.bypass'
                - 'essentials.signs.mail.create'
                - 'worldguard.region'
                - 'citizens.basic.create'
                - 'citizens.basic.settext'
                - 'citizens.general.setname'
                - 'citizens.general.setitem'
                - 'citizens.general.talkwhenclose'
                - 'citizens.general.lookatplayers'
                - 'citizens.general.getid'
                - 'citizens.general.remove.singular'
                - 'creaturebox.set'
                - 'localshops.create.free'
                - 'localshops.move.free'
                - 'showcase.admin'
                - 'essentials.kill'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.ktempban'
                - 'essentials.weather'
                - 'essentials.banip'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'stargate.*'
        SuperMod:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.give'
                - 'essentials.item'
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        BoAdmin:
            default: false
            info:
                prefix: '&5'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        EpicAdmin:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    and my users

    Code:
    users:
        Flayr:
            groups:
            - EpicAdmin
            permissions:
        Starius65:
            groups:
            - EpicAdmin
            permissions:
        BototheB:
            groups:
            - BoAdmin
            permissions:
    When I talk my name comes up as just <Flayr> and I don't have permission to use commands. Could you please help.
     
  5. Offline

    pitbully

    I don't really know what you mean as I have not dealt with this yet. I use my default rank as a blacklist/whitelist so that new players have to be promoted to my first rank before they can build. I guess what you want is for the default rank to have certain permissions and when they log in, the acct is created but they arn't getting the permissions of that rank. If that is the case then it is probably out of our control and might require a plugin update to fix. I would also like the PrData Path 'default' node to be fixed as it does not set a group as the new default group either. Everything will be fixed sooner or later and until then, just try to work around it.
     
  6. Will do and you stated it perfectly... Thanks
     
  7. Offline

    pitbully

    Show Spoiler


    Use MySQL... :D
    If you are against learning how to use MySQL then answer a few questions for me.
    What program did you use to edit your config files?
    Are you sure that there are NO tabs in your config files? Tabs DESTROY the YAML format and will cause errors.
    YAML is ENTIRELY dependent on the formatting you use and that is almost certainly your problem. Thus I suggest using MySQL. It will improve server performance and be much more reliable.


    You can try throwing your code into the YAML Online Parser HERE.

    Why would you want someone in both a Trusted group and Builder group? I have players in a Builder group and Moderator group but that is kind of different. You can set priority in MySQL Database PrInheritance Table but I am not sure how to do so otherwise. Usually, the oldest parent added using in-game commands for me would stay as primary one because when a new parent is added to a player, its priority in the database goes up 1 from the last one. (this is a lower priority overall because 1 is higher priority then 2). So if you wanted a long way to go about doing what you want to do in-game, you COULD remove their old parent group, add the new parent group and then add the old one OR remove the old parent group, add the new parent group and allow the new parent to inherit the permissions of the old one. There are a few ways around this. If you have MySQL set up, its as easy as going into the database and choosing the order you want the groups to be prioritized in.

    EDIT: I want to add that in YAML Users File, the top group of the two gets precedence.

    I need more information then that. Are you running MySQL or YAML storage. If you are using MySQL, you have to go to the PrData table in your database and set the path 'build' to 'true'. or in game use
    /pr g:group info set build true

    if you are using YAML, make sure you are not using TABS but instead are using 4 spaces and make sure build is true

    To me, your formatting looks all correct. My next suggestion would be to make sure that your groups and users files are located inside a folder that is correctly named after the world you want the permissions on.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Nov 10, 2018
  8. Offline

    xlilcasper

    If I have a user in 2 groups, how do I set which one is his "primary" group in game or via api? Example I have a group Trusted and Builder. I just added builder to the persons groups. Now I want to make it so that it is the first group he inherits from so that his chat info (under the info node) changes.
     
  9. Offline

    cjbh1996

    Dude please update Permissions to 860... it's currently shitting its pants on my server.
     
  10. Offline

    Flayr

    no tabs in the yml any other thoughts?
     
  11. Offline

    ACStache

    if it worked on 818 it should work on 860. what errors are you getting? what's not working?
     
  12. Offline

    theaptpupil

    I am finding that even though users are in groups with building enabled in Pemrissions, they actually can not build.

    I am using Pemrissions 3.1.5b and bukkit build 860
     
  13. Offline

    exrook

    Is there any way to changes a user's group from within a plugin?
     
  14. Offline

    Chuck67322

    I'm having a couple of issues...
    Even though I like quintuple-checked that the players' names are on the Builder list, they STILL can't build or pick up items.
    I made it so the default players are guests who can't build at all.
    Here's my YML file for the groups for my world file AND global which are the same:
    Show Spoiler
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: '[Guest] '
                suffix: ''
                build: false
            inheritance:
            permissions:
                - dc.motd
                - dc.rules
                - dc.who
        Builder:
            default: false
            info:
                prefix: '[Builder] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - dc.motd
                - dc.rules
                - magiccarpet.*
                - dc.who
        Moderator:
            default: false
            info:
                prefix: '[Mod] '
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
        Admins:
            default: false
            info:
                prefix: '[Admin] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
        Owner:
            default: false
            info:
                prefix: '[Owner] '
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'

    The additional plugins I have are these:
    Show Spoiler
    AimCannon
    ArrowWall
    BigBrother
    BlockRemover
    DefaultCommands
    Humiliation
    MagicCarpet
    PlayerList
    SpawnMob
    Spyer
    Stackable
    WeatherGod
    WorldEdit

    EDIT: Never mind, it turns out it was the stupid spawn point protection doing it -.-
     
  15. Offline

    theaptpupil

    I am using YAML, since my server host doesnt have SQL installed.

    and I have gone over the parsing plenty of times. I am the only one who can build, no one else in the builders or Admins group can build, but the other commands work fine- for the Admins at least. The other thing that is also funny is that I am the only one who can open doors.

    The only other plugin I have running currently is essentials 2.3.3
     
  16. Offline

    Flayr

    Thanks for the help I found the issue. In the line
    Code:
                - 'essentials.me
    I forgot the second ' and apparently that was breaking it.
    I am happy :)
     
  17. Offline

    theaptpupil

    oh the fun of YAML eh?
    even though the name says it isn't markup, it reminds me of XHTML strict
     
    Olof Larsson likes this.
  18. Offline

    pitbully

    NO WAY! O man, I thought I checked each line to make sure the quotes were there. Sorry! :(
    Glad you found the error though. That's why I stress to switch to MySQL if you can because it prevents stupid formatting errors.
     
  19. Offline

    DrBreadgun

    When ever I hit a block or say a command, this pops up:
    Code:
    10:44:27 [SEVERE] java.lang.Exception: Error creating user DrBreadgun in world C
    opperWorld due to storage problems!
     
  20. Offline

    pitbully

    Post your storageconfig file.
     
  21. Offline

    DrBreadgun

    I can't reply it but I'll type it in what it says
    Code:
    permissions:
        Storage:
            Type:YAML
    
    It also says this in the config:
    Code:
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    11:11:24 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:52)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:162)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:29)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:58)
    11:11:24 [SEVERE]       at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:91)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:82)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.safeGetGroup(Mo
    dularControl.java:506)
    11:11:24 [SEVERE]       ... 18 more
    11:11:24 [SEVERE] java.lang.Exception: Error creating user DrBreadgun in world B
    ronzeWorld due to storage problems!
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.safeGetUser(Mod
    ularControl.java:491)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.getUsr(ModularC
    ontrol.java:571)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.permission(Modu
    larControl.java:315)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.permission(Modu
    larControl.java:307)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.has(ModularCont
    rol.java:300)
    11:11:24 [SEVERE]       at com.sk89q.bukkit.migration.NijiPermissionsResolver.ha
    sPermission(NijiPermissionsResolver.java:59)
    11:11:24 [SEVERE]       at com.sk89q.bukkit.migration.PermissionsResolverManager
    .hasPermission(PermissionsResolverManager.java:102)
    11:11:24 [SEVERE]       at com.sk89q.worldedit.bukkit.BukkitPlayer.hasPermission
    (BukkitPlayer.java:111)
    11:11:24 [SEVERE]       at com.sk89q.worldedit.WorldEdit.getSession(WorldEdit.ja
    va:144)
    11:11:24 [SEVERE]       at com.sk89q.worldedit.WorldEdit.handleBlockLeftClick(Wo
    rldEdit.java:974)
    11:11:24 [SEVERE]       at com.sk89q.worldedit.bukkit.WorldEditPlayerListener.on
    PlayerInteract(WorldEditPlayerListener.java:112)
    11:11:24 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$10.execute(Ja
    vaPluginLoader.java:306)
    11:11:24 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    11:11:24 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:310)
    11:11:24 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callPl
    ayerInteractEvent(CraftEventFactory.java:166)
    11:11:24 [SEVERE]       at net.minecraft.server.ItemInWorldManager.dig(ItemInWor
    ldManager.java:63)
    11:11:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:453)
    11:11:24 [SEVERE]       at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    11:11:24 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    11:11:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:75)
    11:11:24 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    11:11:24 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:399)
    11:11:24 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:309)
    11:11:24 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    11:11:24 [SEVERE] Caused by: while parsing a block mapping
     in "<reader>", line 2, column 5:
            Visitors:
            ^
    expected <block end>, but found BlockEntry
     in "<reader>", line 10, column 5:
            - 'essentials.sethome'
            ^
    
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gKey.produce(ParserImpl.java:576)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:228)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    11:11:24 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:52)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:162)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:29)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:58)
    11:11:24 [SEVERE]       at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:91)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:82)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.safeGetUser(Mod
    ularControl.java:489)
    11:11:24 [SEVERE]       ... 23 more
    11:11:24 [SEVERE] java.lang.Exception: Error creating user DrBreadgun in world B
    ronzeWorld due to storage problems!
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.safeGetUser(Mod
    ularControl.java:491)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.getUsr(ModularC
    ontrol.java:571)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.getPrimaryGroup
    (ModularControl.java:390)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.getGroup(Modula
    rControl.java:881)
    11:11:24 [SEVERE]       at com.earth2me.essentials.PlayerExtension.getGroup(Play
    erExtension.java:58)
    11:11:24 [SEVERE]       at com.earth2me.essentials.PlayerExtension.canBuild(Play
    erExtension.java:82)
    11:11:24 [SEVERE]       at com.earth2me.essentials.protect.EssentialsProtectPlay
    erListener.onPlayerInteract(EssentialsProtectPlayerListener.java:38)
    11:11:24 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$10.execute(Ja
    vaPluginLoader.java:306)
    11:11:24 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    11:11:24 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:310)
    11:11:24 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callPl
    ayerInteractEvent(CraftEventFactory.java:166)
    11:11:24 [SEVERE]       at net.minecraft.server.ItemInWorldManager.dig(ItemInWor
    ldManager.java:63)
    11:11:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:453)
    11:11:24 [SEVERE]       at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    11:11:24 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    11:11:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:75)
    11:11:24 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    11:11:24 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:399)
    11:11:24 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:309)
    11:11:24 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    11:11:24 [SEVERE] Caused by: while parsing a block mapping
     in "<reader>", line 2, column 5:
            Visitors:
            ^
    expected <block end>, but found BlockEntry
     in "<reader>", line 10, column 5:
            - 'essentials.sethome'
            ^
    
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gKey.produce(ParserImpl.java:576)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:228)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    11:11:24 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:52)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:162)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:29)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:58)
    11:11:24 [SEVERE]       at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:91)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:82)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.safeGetUser(Mod
    ularControl.java:489)
    11:11:24 [SEVERE]       ... 19 more
    11:11:24 [SEVERE] java.lang.Exception: Error creating group Default in world Bro
    nzeWorld due to storage problems!
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.safeGetGroup(Mo
    dularControl.java:508)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.getGrp(ModularC
    ontrol.java:585)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.canGroupRawBuil
    d(ModularControl.java:435)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.canGroupBuild(M
    odularControl.java:896)
    11:11:24 [SEVERE]       at com.earth2me.essentials.PlayerExtension.canBuild(Play
    erExtension.java:82)
    11:11:24 [SEVERE]       at com.earth2me.essentials.protect.EssentialsProtectPlay
    erListener.onPlayerInteract(EssentialsProtectPlayerListener.java:38)
    11:11:24 [SEVERE]       at org.bukkit.plugin.java.JavaPluginLoader$10.execute(Ja
    vaPluginLoader.java:306)
    11:11:24 [SEVERE]       at org.bukkit.plugin.RegisteredListener.callEvent(Regist
    eredListener.java:58)
    11:11:24 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:310)
    11:11:24 [SEVERE]       at org.bukkit.craftbukkit.event.CraftEventFactory.callPl
    ayerInteractEvent(CraftEventFactory.java:166)
    11:11:24 [SEVERE]       at net.minecraft.server.ItemInWorldManager.dig(ItemInWor
    ldManager.java:63)
    11:11:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:453)
    11:11:24 [SEVERE]       at net.minecraft.server.Packet14BlockDig.a(SourceFile:42
    )
    11:11:24 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.
    java:226)
    11:11:24 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHand
    ler.java:75)
    11:11:24 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile
    :105)
    11:11:24 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:399)
    11:11:24 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:309)
    11:11:24 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    11:11:24 [SEVERE] Caused by: while parsing a block mapping
     in "<reader>", line 2, column 5:
            Visitors:
            ^
    expected <block end>, but found BlockEntry
     in "<reader>", line 10, column 5:
            - 'essentials.sethome'
            ^
    
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gKey.produce(ParserImpl.java:576)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:228)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    11:11:24 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    11:11:24 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:52)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStor
    age.java:162)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStor
    age.java:29)
    11:11:24 [SEVERE]       at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreat
    or.java:58)
    11:11:24 [SEVERE]       at com.nijiko.data.StorageFactory.getGroupStorage(Storag
    eFactory.java:129)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:91)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:82)
    11:11:24 [SEVERE]       at com.nijiko.permissions.ModularControl.safeGetGroup(Mo
    dularControl.java:506)
    11:11:24 [SEVERE]       ... 18 more
    >
     
  22. Offline

    dak393

  23. Offline

    SymphonyX

    hey guys i have still my little problem sometimes the user.yml crashes after that i have to replace the jar's and the user.yml i looked in the console for some errors the only thing is permissions has been disabled
    for example
    user xyz joins the server .... everyone is guest again (wtf ) ok stoped server looked in console permission disabled after restart hmm ok checked user.yml = empty (wtf again)
    ok replaced jars and user.yml reloaded everything is fine for 10/20/30/40 minutes its different then it happens again
    and i have to redo it again someone maybe now a fix or something like that ? some other people got this problem aswell but dont got a answere so please help :)
    sorry for my wierd english xD i m tired xD
    btw bukkit version 860
     
  24. Offline

    AegisZephyr

    Does anyone else get an issue with permissions being randomly reverted with no error whatsoever in the console?
    I'm on 860 with permissions 3.1.5b.
    Everything seems to work fine, then suddenly permissions for certain people will just randomly revert. No warning, no errors, no nothing. I am not using the SQL or MYSQL settings either.
    Everything else is fine. No console errors from any other plugins, no start up errors from permissions or anything else for that matter. This is a mystery to me that I cannot solve.
     
  25. Offline

    vapid2323

    @Zgred

    Would it be possible to update your web script to use the more recent SQL table structure? It works fine with 3.0.6 but not with 3.1.5
     
  26. Offline

    Frenzyx

    for what I've seen, there a problem when there is too many plugins installed. I have like 20 plugins and each one with the permissions 3.x works fine but when I put them all together it gives me an error and permissions shuts down. It can hold like 10 plugins together at max
     
  27. Offline

    Bloodykittens

    That shouldn't be the case. I've got over 40 plugins currently and they all work. I was having problems with Region Market though. Just break down your list and add 1 plugin in at a time (Starting with permissions) and when you add one that gives you errors. You'll know what plugin is causing all the problems.

    I hope thats what you were talking about and hopefully that will help :D
     
  28. Offline

    Diaz9943

    Is it just me or is this terribly unstable?
    I rank someone upp in the config file (cause the command way dosent work, will get to that later), reload and they are ranked.. but on the next reload, the entry is deleated and they again become unregistered..
    example..
    Code:
    Before 2nd reload:
        someusername:
            groups:
            - Actuallgroupname
            info:
                prefix: ''
            permissions: []
    
    After 2nd reload:
        diaz9943:
            permissions:
            groups:

    Also, the commands for promotion seems not to work..

    Here is some of my config file:
    Code:
    groups:
        Unregistered:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
            - commandbook.who
        Apprentice:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
                - Unregistered
            permissions:
            - commandbook.slap
    
    tracks:
        Apprentice:
        - Unregistered
        - Apprentice
    And upon doing "/permissions [username of someone that has the default thingie that appeas in the config file when they first log on] w:world promote Apprentice", it says that the user is not in a group or something..

    Also, I am seeing Permissions randomly breake down quite often..
     
  29. Offline

    saltire

    Why not? If there's no specific user or group entry in a particular world's config file, shouldn't the plugin just look for it in the global file instead? That includes looking for a default group to assign to users that aren't explicitly given a group.
     
  30. Offline

    vapid2323

    Would it be possible to get this updated to the new table structure?
     
  31. Offline

    Ricu

    Is this multi-world compatible? Because I am working with MultiVerse but I don't know how to change the permissions for the knew created world. It doesn't show me the new worlds permissions folder.
     
Thread Status:
Not open for further replies.

Share This Page