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

    LeetPowerCraft

    Try downgrading to Permissions 2.7.4 and see if that helps. Alot of plugins haven't been updated to work with Permissions 3 yet. At least that's my 2 cense on it.
     
  3. Offline

    firewalled

    Jeyge: Not sure what you ask if I have or not.
    I tried removing all plugins adding them one by one, it is MyWarp causing it - but I don't understand - MyWarp just worked for several hours with RB#819 and Permissions 3.1.1

    Edit: Oh - that error message? YES I do, actually - what does that mean?
    Server.log: http://pastebin.com/PLw0Y49Y

    That would probably work, as I used 2.7.4 before, but the new version just worked for some hours.

    Edit #2: 2.7.4 does work, but yet again - 3.1.1 really just worked for some hours.
     
  4. Offline

    Jeyge

    We don't know what it means yet but hopefully there will be a fix for it all.
     
  5. Offline

    firewalled

    Aha, okay - I'll stick with 2.7.4 for now - lucky I kept a backup of the old files etc., so easy to revert.
    Thanks for the info you two.
     
    Don Redhorse likes this.
  6. Offline

    proJohnRH

    I can't seem to get the error mentioned in the FAQ to go away. The following is popping up when I place or destroy a block:

    Show Spoiler

    2011-06-02 20:05:59 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:61)
    at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)


    My config files look good, I think. I attached a zip containing the \plugins\permissions\ folder with structure intact. My world name is "tms", and I have "tms_nether" as well. Could someone take a look and see if anything looks wrong?
     

    Attached Files:

  7. Offline

    Shooty

    Hey, how can i do if i juste need change the groups of a player and not add a group to him ? Because with /pr <playername> parents add <groupsname> this is add a group to the player, don't change the player group :( If anyone can help me thanks !:)
     
  8. Offline

    Jeyge

    Take a look here.
     
  9. Offline

    proJohnRH

    CRAP I'M A DUMB! I never pulled the jar out of the zip.
     
  10. Offline

    Windwaker

    Is it too much to ask for just a simple /demote and /promote command? Please?
     
  11. Offline

    Jeyge

    What world and group would you like it to work on? And with Permissions being multi-group aware now, which direction would you like it to go? How about something like "/pr <user> w:<world> promote <group> <track>" which can become "/pr <user> promote <group> <track>" if you are on the same world as them.
     
  12. Offline

    Windwaker

    Or you could just have it follow the line of inheritance...

    /promote <player> [world]

    /demote <player> [world]

    Without the world it would promote the user in the world that you are in. Yes, it should really be this simple.
     
    txtsd likes this.
  13. Offline

    rcjrrjcr

  14. Offline

    gothroach

    Does anyone have a workaround for this yet, or do I just need to go back to YAML files from MySQL for now?
     
  15. Offline

    Mister_H

    Okay here is the problem, Permissions(3.1.1) will not work at all, it will not recognize me as an admin(in this case 1337) and it will recognize new players as a griefer, but if i try the reload all command it just wrecks it all, Hopefully its just a stupid error

    Here is what im running, Bukkit(818) Win7
    The Console error i get is attached via pic

    My mods/permmisions folder is at file beam(Zip, filename= PLG), http://filebeam.com/802f215d6b01888d758aacb74f6beeea

    Hope you can fix it, ive already spent a solid 5 hours trying to
    Thanks, Lemoneysnicket
     

    Attached Files:

  16. Offline

    Takel

    Your users.yml file is in the wrong format.

    Group definitions must use the following format:
    Code:
    <Player Name>
        permissions:
        groups:
            - <GroupName>
    You may want to take a look at your tracks as well since that's completely wrong.
     
  17. Offline

    rcjrrjcr

    For the group 1337, put its name in quotes, like:
    Code:
        '1337':
            default: false
            info:
                prefix: '&5'
                suffix: '1337'
                build: true
            inheritance:
            permissions:
            - '*'
    
    Then, change LemonySnicket's entry to this:
    Code:
        Lemoneysnicket:
            permissions:
            groups:
                - '1337'
    
    You want
    Code:
    /pr g:Default w:world info set build b:true
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  18. Offline

    Tungsten

    I did this, and I'm not getting any errors now! But I still can't break blocks ?! I don't know what I'm doing wrong here.

    groups:

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Tourist:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Journeyman:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.home'
                - 'essentials.info'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.seen'
                - 'essentials.whois'
                - 'essentials.suicide'
                - 'preciousstones.benefit.*'
                - 'preciousstones.whitelist.*'
        Praetor:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: Journeyman
            permissions:
                - 'essentials.tpo'
                - 'essentials.home.others'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.togglejail'
                - 'essentials.jail.exempt'
                - 'essentials.invsee'
                - 'essentials.thunder'
                - 'essentials.spawn'
                - 'essentials.chat.spy'
                - 'preciousstones.admin.*'
                - 'bb.admin.info'
                - 'bb.admin.watch'
        Confidant:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: Praetor
            permissions:
                - 'essentials.setjail'
                - 'essentials.deljail'
                - 'essentials.antioch'
                - 'essentials.burn'
                - 'essentials.clearinventory.others'
                - 'essentials.reloadall'
                - 'essentials.ban'
                - 'essentials.weather'
                - 'preciousstones.bypass.*'
                - 'bb.admin.rollback'
                - 'bb.admin.cleanse'
        tungsten:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
                - '*'
    Users:
    Code:
    users:
        tungsten:
            permissions:
            group:
                - tungsten
    So in summation: No errors, yml is parsed correctly, but the users don't seem to be grabbing permissions. what do ;~;
     
  19. Offline

    MCreation

    I do not know what is wrong...

    Code:
    C:\Documents and Settings\Administrator\Desktop\SmsServer>java -Xmx1300M -Xms130
    0M -jar craftbukkit.jar nogui
    148 recipes
    16 achievements
    20:39:28 [INFO] Starting minecraft server version Beta 1.6.6
    20:39:28 [INFO] Loading properties
    20:39:28 [INFO] Starting Minecraft server on *:25565
    20:39:28 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    20:39:28 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    20:39:28 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    20:39:28 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    20:39:29 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-
    g3fc0460-b818jnks (MC: 1.6.6)
    20:39:29 [INFO] Preparing level "world"
    20:39:29 [INFO] Preparing start region for level 0
    20:39:30 [INFO] Preparing spawn area: 48%
    20:39:31 [INFO] Preparing start region for level 1
    20:39:31 [INFO] Preparing spawn area: 16%
    20:39:33 [SEVERE] while scanning a simple key
     in "<reader>", line 7, column 5:
            Sammaxis
            ^
    could not found expected ':'
     in "<reader>", line 8, column 15:
                groups:
                      ^
    
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleS
    impleKeys(ScannerImpl.java:400)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens
    (ScannerImpl.java:231)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:182)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gValue.produce(ParserImpl.java:592)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:132)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    20:39:33 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    20:39:33 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:52)
    20:39:33 [SEVERE]       at com.nijiko.data.YamlUserStorage.reload(YamlUserStorag
    e.java:179)
    20:39:33 [SEVERE]       at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorag
    e.java:29)
    20:39:33 [SEVERE]       at com.nijiko.data.StorageFactory.getUserStorage(Storage
    Factory.java:92)
    20:39:33 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:89)
    20:39:33 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:81)
    20:39:33 [SEVERE]       at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:102)
    20:39:33 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:171)
    20:39:33 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:128)
    20:39:33 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:106)
    20:39:33 [SEVERE]       at net.minecraft.server.MinecraftServer.e(MinecraftServe
    r.java:232)
    20:39:33 [SEVERE]       at net.minecraft.server.MinecraftServer.a(MinecraftServe
    r.java:219)
    20:39:33 [SEVERE]       at net.minecraft.server.MinecraftServer.init(MinecraftSe
    rver.java:146)
    20:39:33 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:285)
    20:39:33 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    20:39:33 [SEVERE] [Permissions] Unable to load permission data.
    20:39:33 [INFO] [Permissions] Shutting down Permissions due to error(s).
    20:39:33 [INFO] [Permissions] (Yeti) was initialized.
    20:39:34 [INFO] Loaded Essentials build 2.3.1 by Zenexer, ementalo, Aelux, Brett
    flan, KimKandor, snowleo, ceulemans and Xeology
    20:39:34 [INFO] Loaded EssentialsSpawn build 2.3.1 by Zenexer, ementalo, Aelux,
    Brettflan, KimKandor, snowleo, ceulemans and Xeology
    20:39:34 [INFO] NoExplode version 1.5 is enabled!
    20:39:34 [INFO] [Permissions] version [3.1.1] (Yeti)  loaded
    20:39:34 [INFO] SimpleSave: Parts of config file are blank, but not null. Possib
    le errors might happen.
    20:39:34 [INFO] SimpleSave: Parts of config file are blank, but not null. Possib
    le errors might happen.
    20:39:34 [INFO] SimpleSave: 3.11 Initialized
    20:39:34 [INFO] [VoxelSniper] Config loaded
    20:39:34 [INFO] VoxelSniper version 4.721 is enabled! Snipe away.
    20:39:34 [INFO] Done (0.513s)! For help, type "help" or "?"
    >reloade
    20:40:01 [INFO] Unknown console command. Type "help" for help.
    >reload
    20:40:03 [INFO] NoExplode version 1.5 is disabled!
    20:40:03 [INFO] [Permissions] (Yeti) saved all data.
    20:40:03 [INFO] [Permissions] (Yeti) disabled successfully.
    20:40:03 [INFO] SimpleSave: Powered down
    20:40:04 [SEVERE] Error occurred while selecting permissions user config type. R
    everting to YAML.
    20:40:04 [SEVERE] Error occurred while selecting permissions group config type.
    Reverting to YAML.
    20:40:04 [SEVERE] Error occurred while selecting permissions user config type. R
    everting to YAML.
    20:40:04 [SEVERE] while scanning a simple key
     in "<reader>", line 7, column 5:
            Sammaxis
            ^
    could not found expected ':'
     in "<reader>", line 8, column 15:
                groups:
                      ^
    
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleS
    impleKeys(ScannerImpl.java:400)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens
    (ScannerImpl.java:231)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(Sca
    nnerImpl.java:182)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappin
    gValue.produce(ParserImpl.java:592)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(Parser
    Impl.java:163)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(Parse
    rImpl.java:148)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:132)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeMappingNo
    de(Composer.java:230)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeNode(Comp
    oser.java:160)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.composeDocument(
    Composer.java:122)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.composer.Composer.getSingleNode(Co
    mposer.java:105)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.constructor.BaseConstructor.getSin
    gleData(BaseConstructor.java:124)
    20:40:04 [SEVERE]       at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    20:40:04 [SEVERE]       at com.nijiko.configuration.NotNullConfiguration.load(No
    tNullConfiguration.java:52)
    20:40:04 [SEVERE]       at com.nijiko.data.YamlUserStorage.reload(YamlUserStorag
    e.java:179)
    20:40:04 [SEVERE]       at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorag
    e.java:29)
    20:40:04 [SEVERE]       at com.nijiko.data.StorageFactory.getUserStorage(Storage
    Factory.java:92)
    20:40:04 [SEVERE]       at com.nijiko.permissions.ModularControl.forceLoadWorld(
    ModularControl.java:89)
    20:40:04 [SEVERE]       at com.nijiko.permissions.ModularControl.loadWorld(Modul
    arControl.java:81)
    20:40:04 [SEVERE]       at com.nijiko.permissions.ModularControl.load(ModularCon
    trol.java:102)
    20:40:04 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.setupPer
    missions(Permissions.java:171)
    20:40:04 [SEVERE]       at com.nijikokun.bukkit.Permissions.Permissions.onLoad(P
    ermissions.java:128)
    20:40:04 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftS
    erver.java:106)
    20:40:04 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.reload(CraftServer
    .java:339)
    20:40:04 [SEVERE]       at org.bukkit.command.SimpleCommandMap$ReloadCommand.exe
    cute(SimpleCommandMap.java:247)
    20:40:04 [SEVERE]       at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCo
    mmandMap.java:128)
    20:40:04 [SEVERE]       at org.bukkit.craftbukkit.CraftServer.dispatchCommand(Cr
    aftServer.java:273)
    20:40:04 [SEVERE]       at net.minecraft.server.MinecraftServer.b(MinecraftServe
    r.java:430)
    20:40:04 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:415)
    20:40:04 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:311)
    20:40:04 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    20:40:04 [SEVERE] [Permissions] Unable to load permission data.
    20:40:04 [INFO] [Permissions] Shutting down Permissions due to error(s).
    20:40:04 [INFO] [Permissions] (Yeti) was initialized.
    20:40:05 [INFO] Loaded Essentials build 2.3.1 by Zenexer, ementalo, Aelux, Brett
    flan, KimKandor, snowleo, ceulemans and Xeology
    20:40:05 [INFO] Loaded EssentialsSpawn build 2.3.1 by Zenexer, ementalo, Aelux,
    Brettflan, KimKandor, snowleo, ceulemans and Xeology
    20:40:05 [INFO] NoExplode version 1.5 is enabled!
    20:40:05 [INFO] [Permissions] version [3.1.1] (Yeti)  loaded
    20:40:05 [INFO] SimpleSave: Parts of config file are blank, but not null. Possib
    le errors might happen.
    20:40:05 [INFO] SimpleSave: Parts of config file are blank, but not null. Possib
    le errors might happen.
    20:40:05 [INFO] SimpleSave: 3.11 Initialized
    20:40:05 [INFO] [VoxelSniper] Config loaded
    20:40:05 [INFO] VoxelSniper version 4.721 is enabled! Snipe away.
    20:40:05 [INFO] Reload complete.
    >
    
     
  20. Offline

    Jeyge

    Your group: in users.yml still needs to be groups:

    I'm assuming that Sammaxis is a user and if so, it should be Sammaxis: and the groups: line should start on column 9. Anything else will require you to post your permissions files.

    Damn all those people who wanted multi-group support. :) What I was hoping for would be a command that would check if the user only has 1 group and default that and if there was only 1 group, see if there was only 1 track that matched it and default to that. That way the command would end up being "/pr <name> promote" and just fill in the rest as necessary.

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

    Asphodan

    I agree.

    Goodness, I'm used to a simple "/perm-add <name> <group>".

    This is just overly complicated.
     
  22. Offline

    Trevor_

    @rcjrrjcr

    /permissions Jeyge w:TestWorld promote Guest w:TestWorld BuilderTrack

    Simple.
    Are you out of your fucking mind? I refuse to update just for this reason, good day sir.
     
  23. Offline

    MCreation

    That is solved, i no longer get that error. But instead i, nor the rest of the people on the server, can build/destroy blocks.
     
  24. Offline

    gothroach

    Well, Permissions accepted that command and inserted a row into the database properly. Using the get variation on that command shows 'true' now. Unfortunately, users in that group still cannot build or break blocks. Permissions is the only plugin on the server while I'm testing it, I'm really not sure what could be causing the issue now.

    Thanks for your help, though! :)
     
  25. Offline

    Asphodan

    I may be missing something. How do I turn on Global Users and Groups? I don't intend to have by-world permissions, and I can just foresee Nether being a problem when I turn it on.

    I'm already on 819, I just have the Nether disabled.
     
  26. Offline

    Tungsten

    ...
    :O
    I missed that. sorry. It works. Derpin hard here.
    Thank you for the help!

    Edit:
    Now that I have permissions working properly, I'm able to see that it lags my server a bunch. I'm testing with one player (me) with 1GB of memory, and it seems to check my permission for every block (that's good!), significantly lagging every action.
    I'm not getting any errors either. Is there a way of managing this?
    Edit 2:
    I got the problem licked! The memory issue was a connection issue on my part, I got some players to test it and they have no lag! Everything is good here.
     
  27. Offline

    AFakeman

    Sorry for n00bing, but I don't understand promote/denote command syntax. What means parent ant parentworld?
     
  28. Offline

    Redbyte

    Hello,
    I just up-graded (Went fairly smooth). I use Ichat and for the config to make it look nice i use Var's like "Var1". I am aware of the pre and suffix commands but is there anything for this?
    Thanks,
    Redbyte
     
  29. Offline

    Mister_H

    I knew it was something stupid on my part haha, thanks alot works like a charm
     
  30. Offline

    Jeyge

    You should be able to use "/pr g:<group> w:<world> info set Var1 <string variable>". It doesn't look like it is being escaped correctly though. Strings aren't ending up inside of quotes.

    Parent is the group that the user currently belongs to. I'm not quite sure what the parent world is for though.

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

    Ashens

    Same issue here. The command works, the entry is made, used a MySQL GUI to check, too; But it has no effect. I still can't build.
    Prefixes and suffixes work, though (used iChat to test), so I'm not sure what's wrong.
     
Thread Status:
Not open for further replies.

Share This Page