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

    tassox33

    Hey my files keep doing this:
    Code:
    users:
        tassox33:
            groups:
                - Admins
        Heat79:
            groups:
                - Moderator
        toashtman:
            groups:
                - Moderator
        l3g3ndary963:
            groups:
                - Moderator
        nxsupert:
            groups:
                - Moderator
        bobman666:
            groups:
                - Gatekeeper
        DeltaVanguard:
            groups:
                - Gatekeeper
        dylan9971:
            groups:
                - Gatekeeper
        lunarliam:
            groups:
                - Gatekeeper
        genocide90:
            groups:
                - Gatekeeper
        Jedi_BabyJesus:
            groups:
                - Gatekeeper
        ArcherRanger:
            groups:
                - Gatekeeper
        Rawrunext9:
            groups:
                - Gatekeeper
        CocaCola31:
            groups:
                - Gatekeeper
        UniverseBear:
            groups:
                - Gatekeeper
        Kiiopp:
            groups:
                - Gatekeeper
        sGMarvin:
            groups:
                - Gatekeeper
        K1LL3N4L1F3:
            groups:
                - Gatekeeper
        EiB_inc:
            groups:
                - Gatekeeper
        DJfunkymuffinz:
            groups:
                - Gatekeeper
        chase77cool:
            groups:
                - Gatekeeper
        Fuey500:
            groups:
                - Gatekeeper
        bloodheart143:
            groups:
                - Gatekeeper
        tdawg123:
            groups:
                - Gatekeeper
        thblockster:
            groups:
                - Gatekeeper
        Thalan79:
            groups:
                - Gatekeeper
        junglehunter1:
            groups:
                - Gatekeeper
        1337MineCrafter:
            groups:
                - Gatekeeper
        stealthsprinter:
            groups:
                - Gatekeeper
    Code:
    users:
        tassox33:
            groups:
            - Admins
            permissions: []
        Heat79:
            groups:
            - Moderator
        toashtman:
            groups:
            - Moderator
        l3g3ndary963:
            groups:
            - Moderator
        nxsupert:
            groups:
            - Moderator
        bobman666:
            groups:
            - Gatekeeper
        DeltaVanguard:
            groups:
            - Gatekeeper
        dylan9971:
            groups:
            - Gatekeeper
        lunarliam:
            groups:
            - Gatekeeper
        genocide90:
            groups:
            - Gatekeeper
        Jedi_BabyJesus:
            groups:
            - Gatekeeper
        ArcherRanger:
            groups:
            - Gatekeeper
        Rawrunext9:
            groups:
            - Gatekeeper
        CocaCola31:
            groups:
            - Gatekeeper
        UniverseBear:
            groups:
            - Gatekeeper
        Kiiopp:
            groups:
            - Gatekeeper
        sGMarvin:
            groups:
            - Gatekeeper
        K1LL3N4L1F3:
            groups:
            - Gatekeeper
        EiB_inc:
            groups:
            - Gatekeeper
        DJfunkymuffinz:
            groups:
            - Gatekeeper
        chase77cool:
            groups:
            - Gatekeeper
        Fuey500:
            groups:
            - Gatekeeper
        bloodheart143:
            groups:
            - Gatekeeper
        tdawg123:
            groups:
            - Gatekeeper
        thblockster:
            groups:
            - Gatekeeper
        Thalan79:
            groups:
            - Gatekeeper
        junglehunter1:
            groups:
            - Gatekeeper
        1337MineCrafter:
            groups:
            - Gatekeeper
        stealthsprinter:
            groups:
            - Gatekeeper
    any idea why? (the second code is neat on the forum, but on my text file its all jumbled)
     
  3. Offline

    Merdril

    Well, I figured out my own issue, and as I guessed, it was something that I did. To save face, I will not post the details of my failure here.
     
  4. Offline

    rmb938

    Were is the source for 3.x -.-
     
  5. Offline

    MCxWillyxP

    Hey folks.
    I used to have an older version of this plugin but it started messing up. (Can't remember what version it was but in the plugin.yml, there was stuff about derp.herp and users called Derpin and herpin or something similar if that helps.)

    I downloaded the 3.1.4 version and I don't have a clue how to use it. Basically, I run an SMP server for me a a few friends to build on. I use 7 other plugins on the server to help build, spawn items, teleport etc. and they almost all require Permissions to let you do anything.

    I am now stuck being unable to even break blocks on my own server and I was hoping someone could give me step by step help with it as I am pretty dumb with plugins.

    Any help would be greatly appreciated.
     
  6. Offline

    Merdril

    @MCxWillyxP

    Under your groups.yml or users.yml for your world, you include the catgeory:
    Code:
    info:
        build: true
    The info line is on the indentation after the declaration of the group or user.
     
  7. Offline

    TheGildur

    First of all I want to thank you for your great plugin! Its awesome! =)

    Secondly I got a problem. Short story: I've got 2 worlds, both shall have the same permissions. I've setup my permissions for the first world, works perfectly. Now I wanted to mirror the permissions to my second world via the storageconfig.yml: doesnt work. Alright, lets try to inherit it: doesnt work either. Well lets try GlobalGroups then! Doesnt work either. If it helps you: all those 3 files (globalGroups, globalUsers, storageconfig) got created but didnt have any data in it. It seems to me that the plugin completely ignores those files because it doesnt through any errors in the console.

    I hope you can help me. Plugins I'm using:

    Code:
    WorldGuard
    Worldedit
    ChopTree
    BlackSmith
    InventorySort
    MineMail
    SimpleSignEdit
    PlayerList
    dynmap
    ControllerBlock
    Multiverse
    iChat
    SimpleSave
    SphereWorld
    Permissions
    Greetings,

    TheGildur
     
  8. Offline

    basman93

    help: Server start with lot of errors and nothing realy work

    Code:
    2011-06-05 18:32:17 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-767-g14a36a7-b819jnks (MC: 1.6.6)
    2011-06-05 18:32:17 [INFO] Preparing level "world"
    2011-06-05 18:32:17 [INFO] Preparing start region for level 0
    2011-06-05 18:32:18 [INFO] Preparing start region for level 1
    2011-06-05 18:32:19 [INFO] Preparing spawn area: 73%
    2011-06-05 18:32:19 [INFO] DataSourcePool [iConomyChestShop] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-06-05 18:32:19 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-06-05 18:32:19 [INFO] Entities enhanced[0] subclassed[1]
    2011-06-05 18:32:20 [INFO] LWC    Loading shared objects
    2011-06-05 18:32:20 [INFO] LWC    Native library: plugins/LWC/lib/native/Linux/amd64/libsqlitejdbc.so
    2011-06-05 18:32:20 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
    2011-06-05 18:32:20 [SEVERE]     at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:54)
    2011-06-05 18:32:20 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:182)
    2011-06-05 18:32:20 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    2011-06-05 18:32:20 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    2011-06-05 18:32:20 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-05 18:32:20 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-05 18:32:20 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-05 18:32:20 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-05 18:32:20 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 18:32:20 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-05 18:32:20 [INFO] [Permissions] Shutting down Permissions due to error(s).
    2011-06-05 18:32:20 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-05 18:32:20 [INFO] CraftBookMechanisms 3.0-alpha2 enabled.
    2011-06-05 18:32:20 [INFO] CraftBookMechanisms: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 18:32:20 [INFO] 1 cauldron recipe(s) loaded
    2011-06-05 18:32:20 [INFO] AutoHelp version 0.2 is enabled!
    2011-06-05 18:32:20 [INFO] [Permissions] version [3.1.4] (Yeti)  loaded
    
    [...]
    
    2011-06-05 18:34:33 [INFO] basman93 [/188.96.191.220:65223] logged in with entity id 119 at (-104.15625, 68.0, -79.625)
    2011-06-05 18:34:33 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:438)
    2011-06-05 18:34:33 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-05 18:34:33 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-05 18:34:33 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 18:34:33 [SEVERE] java.lang.NoSuchMethodError: com.nijiko.permissions.PermissionHandler.inGroup(Ljava/lang/String;Ljava/lang/String;)Z
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.bukkit.migration.NijiPermissionsResolver.inGroup(NijiPermissionsResolver.java:77)
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.bukkit.migration.PermissionsResolverManager.inGroup(PermissionsResolverManager.java:106)
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlugin.inGroup(WorldGuardPlugin.java:219)
    2011-06-05 18:34:33 [SEVERE]     at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerJoin(WorldGuardPlayerListener.java:442)
    2011-06-05 18:34:33 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
    2011-06-05 18:34:33 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-05 18:34:33 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.Packet1Login.a(SourceFile:43)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-05 18:34:33 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 18:34:33 [SEVERE] [BBROTHER] onPlayerJoin(org.bukkit.event.player.PlayerJoinEvent@74b5ddbf)
    java.lang.NullPointerException
        at me.taylorkelly.bigbrother.BBPermissions.permission(BBPermissions.java:52)
        at me.taylorkelly.bigbrother.BBPermissions.watch(BBPermissions.java:71)
        at me.taylorkelly.bigbrother.listeners.BBPlayerListener.onPlayerJoin(BBPlayerListener.java:95)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:243)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:123)
        at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:96)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:74)
        at net.minecraft.server.Packet1Login.a(SourceFile:43)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
        at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:91)
        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)
    2011-06-05 18:34:46 [INFO] [xAuth] Player 'basman93' has authenticated
    2011-06-05 18:35:42 [INFO] basman93: Stopping the server..
    2011-06-05 18:35:42 [INFO] Stopping server
    2011-06-05 18:35:42 [INFO] [AutoHelp] 'Help' support disabled.
    2011-06-05 18:35:42 [INFO] [Tele++] saving configuration
    2011-06-05 18:35:42 [INFO] [NoCheat] version [1.01a] is disabled.
    2011-06-05 18:35:42 [INFO] [iConomyChestShop] version 2.74 distabled!
    2011-06-05 18:35:42 [INFO] [DropEdit] Goodbye.
    2011-06-05 18:35:42 [INFO] WorldGuard 5.0-alpha10 disabled.
    2011-06-05 18:35:42 [SEVERE] Error occurred while disabling Permissions v3.1.4 (Is it up to date?): null
    java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.onDisable(Permissions.java:148)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:771)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:269)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:262)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:123)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:260)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:341)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 18:35:42 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 18:35:42 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    
    [...]
    
    2011-06-05 18:35:42 [INFO] [Permissions] SQL Interface disabled!
    
     
  9. Offline

    mavbear

    Temporarily remove all your plugins EXCEPT for Permissions 3, then reboot the server. If you still get errors, you didn't set up groups / users properly. If it runs fine, start adding plugins one by one and see what the logs say. Any errors that come up will be towards THOSE plugins in particular, as they won't play nice with P3 just yet.

    Check out my video for more information, in case you're unfamiliar with setting up your users.yml and groups.yml files. http://www.youtube.com/watch?v=MIuZjByi8Q4
     
  10. Offline

    msw1

    Hi. I have always set build to true, but even admins can't break blocks! Help please?
     
  11. Offline

    NoMad

    Ok, time for some config fun!
    SQL Doesn't really seem to work for me, or i'm just too stupid for it.
    On a blank bukkit818 server with Permissions 3.1.4 and essentials 2.3.1 and a MySQL server (xampp for local testing, it works):
    I can't build. Altough I added the following data to the (of the plugin successfully created tables):
    (yes, I edited storageconfig.yml, the plugin seems to be working as it creates the tables)
    DB: Permissions
    Table: prdata
    Row: dataid=1, entryid=1, path=prefix, data=&e
    Row: dataid=2, entryid=1, path=suffix, data=
    Row: dataid=3, entryid=1, path=build, data=true

    Table: prentries
    Row: entryid=1, name=Default, worldid=1

    Table: prpermissions
    Row: permid=1, permstring=essentials.help, entryid=1
    * and so on, for essentials.motd, essentials.list, essentials.rules, essentials.spawn*

    Table: prworldbase
    Row: worldid=1, defaultid=1

    Table: prworlds
    Row: worldid=1, worldname=*
    Row: worldid=2, worldname=world
    Row: worldid=3, worldname=world_nether

    As i think this should do:
    Create the group "Default" (applying to worldid1, so all worlds)
    Assign some permissions to the Default group
    Set the Group Data (as it was in my old yaml config, to gain build rights)
    Set the group Default as default group for all Worlds (worldid1)
    When I connect, I can't build anything... What am I doing wrong? I tried to follow the sql schema on github.
    An example table or a concrete Tutorial would be very helpful. If i figure out the problem, I'll create a guide (if not already happened).
    Could it be that mysql doesn't store the build data correctly? in MySQL it's a string, but yaml configs have a bool.


    -NoMad
     
  12. Offline

    Merdril

    @msw1

    It could be another plugin that's preventing you from building, or that the region has been set to OP editable only. You can try removing permissions, and if that fixes the problem, then it's an issue with your configuration file. You can't just declare build: true, it must be:

    Code:
    info:
        build: true
     
  13. Offline

    nanashiRei

    Quick question: Do i have to use SQL/MySQL to make stuff like "/pr Player promote Guest PlayerTrack" actually work? And if so, is there an actual Permissions 3 (GroupManager~ alike) format converter? Because i just switched over from GroupManager to this and the converter appearantly is for the old permissions format........... *sigh*

    Thanks in advance
     
  14. Offline

    Gritania

    I've spent 3ish hours trying to sort out my Permissions files, and they still make me in Default group and I don't even have a group called default!

    Can someone please correct my errors

    Show Spoiler
    GlobalUsers
    Code:
    users:
        s1imjimmy:
            groups:
                - Admins
            permissions:
        ZeeDarkMiner:
            groups:
                - Admins
            permissions:
    
    GlobalGroups
    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7'
                suffix: '&f'
                build: false
            permissions:
                - 'foo.bar'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.spawn'
        Member:
            default: false
            info:
                prefix: '&2'
                suffix: '&f'
                build: true
            permissions:
                - 'foo.bar'
                - 'essentials.help'
                - 'essentials.signs.mail.use'
                - 'essentials.signs.protection.create'
                - 'essentials.signs.protection.use'
                - 'essentials.signs.free.use'
                - 'essentials.signs.disposal.use'
                - 'essentials.signs.heal.use'
                - 'essentials.signs.warp.use'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.balance.use'
                - 'essentials.signs.trade.use'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.portal'
                - 'essentials.world'
                - 'essentials.tptoggle'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.balance'
                - 'essentials.pay'
                - 'essentials.info'
                - 'essentials.msg'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.realname'
                - 'essentials.seen'
                - 'essentials.jails'
                - 'lc.level*'
                - 'lc.shout'
                - 'ichat.color'
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - 'foo.*'
                - 'essentials.signs.disposal.create'
                - 'essentials.signs.warp.create'
                - 'essentials.signs.trade.create'
                - 'essentials.signs.buy.create'
                - 'essentials.signs.sell.create'
                - 'essentials.signs.balance.create'
                - 'essentials.signs.heal.create'
                - 'essentials.signs.mail.create'
                - 'essentials.tp'
                - 'essentials.tppos'
                - 'essentials.tpall'
                - 'essentials.home.others'
                - 'essentials.warp.otherplayers'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.worth'
                - 'essentials.balance.others'
                - 'essentials.helpop.receive'
                - 'essentials.whois'
                - 'essentials.nick'
                - 'essentials.nick.others'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.gc'
                - 'essentials.plugin'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory'
                - 'essentials.broadcast'
                - 'essentials.burn'
                - 'essentials.ext'
                - 'essentials.backup'
                - 'essentials.ban'
                - 'essentials.tempban'
                - 'essentials.banip'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.kickall'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.togglejail'
                - 'essentials.togglejail'
                - 'essentials.deljail'
                - 'essentials.invsee'
                - 'essentials.give'
                - 'essentials.item'
                - 'essentials.kit.*'
                - 'essentials.time'
                - 'essentials.god'
                - 'essentials.god.others'
                - 'essentials.heal'
                - 'essentials.heal.others'
                - 'essentials.heal.cooldown.bypass'
                - 'essentials.suicide'
                - 'essentials.powertool'
                - 'essentials.weather'
                - 'essentials.lightning'
                - 'lc.admin'
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            permissions:
                - '*' 


    The World files Users.yml and groups.yml are the same as globalUsers and GlobalGroups
     
  15. Offline

    maetthew

    Could someone please help me with this?
     
  16. Offline

    basman93

    hmm, the funny thing is just - if i try it at my pc it works perfect, but if I try it on the server it gives this errors.
     
  17. Offline

    Dragonntiger

    There is no error message, it says Player has been promoted on the track, and then in the console there arent any error... for the sql i have the sql.jar in my lib folder i believe, so do i need permissionssql.jar?
     
  18. Offline

    SevFTW

    rjc I always get this error when I use this.
    What do?
     
  19. Offline

    Merdril

    @Gritania

    Could this line in your GlobalGroups:
    Code:
    - 'lc.level*'
    be the issue?
     
  20. Offline

    Nonin

    Code:
    05.06 09:00:32 [Server] SEVERE     ... 10 more
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:489)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:91)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
    05.06 09:00:32 [Server] INFO                    ^
    05.06 09:00:32 [Server] INFO                 - 'towny.town.claim
    05.06 09:00:32 [Server] INFO  in "<reader>", line 51, column 16:
    05.06 09:00:32 [Server] INFO expected <block end>, but found Scalar
    05.06 09:00:32 [Server] INFO                 ^
    05.06 09:00:32 [Server] INFO                 - 'bar.foo'
    05.06 09:00:32 [Server] INFO  in "<reader>", line 22, column 13:
    05.06 09:00:32 [Server] SEVERE Caused by: while parsing a block collection
    05.06 09:00:32 [Server] SEVERE     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    05.06 09:00:32 [Server] SEVERE     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    05.06 09:00:32 [Server] SEVERE     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
    05.06 09:00:32 [Server] SEVERE     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
    05.06 09:00:32 [Server] SEVERE     at net.rarobertson.fishpeople.FishPeopleAirRestoration.run(FishPeopleAirRestoration.java:52)
    05.06 09:00:32 [Server] SEVERE     at net.rarobertson.fishpeople.FishPeople.PlayerHasExtendedAir(FishPeople.java:624)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.has(ModularControl.java:300)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:307)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:315)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.getUsr(ModularControl.java:571)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:491)
    05.06 09:00:32 [Server] SEVERE java.lang.Exception: Error creating user noninn in world world due to storage problems!
    05.06 09:00:32 [Server] SEVERE     ... 10 more
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:489)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:91)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    05.06 09:00:32 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
    05.06 09:00:32 [Server] INFO                    ^
    05.06 09:00:32 [Server] INFO                 - 'towny.town.claim
    05.06 09:00:32 [Server] INFO  in "<reader>", line 51, column 16:
    05.06 09:00:32 [Server] INFO expected <block end>, but found Scalar
    05.06 09:00:32 [Server] INFO                 ^
    05.06 09:00:32 [Server] INFO                 - 'bar.foo'
    05.06 09:00:32 [Server] INFO  in "<reader>", line 22, column 13:
    05.06 09:00:32 [Server] SEVERE Caused by: while parsing a block collection
    05.06 09:00:32 [Server] SEVERE     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    05.06 09:00:32 [Server] SEVERE     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    05.06 09:00:32 [Server] SEVERE     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:388)
    05.06 09:00:32 [Server] SEVERE     at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:138)
    05.06 09:00:32 [Server] SEVERE     at net.rarobertson.fishpeople.FishPeopleAirRestoration.run(FishPeopleAirRestoration.java:37)
    05.06 09:00:32 [Server] SEVERE     at net.rarobertson.fishpeople.FishPeople.PlayerHasInfiniteAir(FishPeople.java:615)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.has(ModularControl.java:300)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:307)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.permission(ModularControl.java:315)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.getUsr(ModularControl.java:571)
    05.06 09:00:32 [Server] SEVERE     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:491)
    05.06 09:00:32 [Server] SEVERE java.lang.Exception: Error creating user noninn in world world due to storage problems!
    05.06 09:00:31 [Server] SEVERE     ... 10 more
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:489)
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:91)
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    05.06 09:00:31 [Server] SEVERE     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    05.06 09:00:31 [Server] SEVERE     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:520)
    05.06 09:00:31 [Server] INFO                    ^
    05.06 09:00:31 [Server] INFO                 - 'towny.town.claim
    05.06 09:00:31 [Server] INFO  in "<reader>", line 51, column 16:
    05.06 09:00:31 [Server] INFO expected <block end>, but found Scalar
    05.06 09:00:31 [Server] INFO                 ^
    05.06 09:00:31 [Server] INFO                 - 'bar.foo'
    05.06 09:00:31 [Server] INFO  in "<reader>", line 22, column 13:
    05.06 09:00:31 [Server] SEVERE Caused by: while parsing a block collection
    
    Comes up when I try to use /permissions in console.

    Any Thoughts?
    Groups and User files below.

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '[G]'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
                - 'warpz0r.warp'
                - 'warpz0r.list'
        Builder:
            default: false
            info:
                prefix: '[B]'
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'bar.foo'
                - 'chaircraft.sit'
                - 'craftbook.mech.ammeter.use'
                - 'craftbook.mech.bridge'
                - 'craftbook.mech.bookshelf.use'
                - 'craftbook.mech.cauldron'
                - 'craftbook.mech.elevator'
                - 'craftbook.mech.elevator.use'
                - 'craftbook.mech.gate'
                - 'craftbook.mech.light'
                - 'craftbook.ic.safe.*'
                - 'craftbook.ic.restricted.mcxxxx'
                - 'craftbook.ic.restricted.*'
                - 'craftbook.ic.safe.mcxxxx'
                - 'craftbook.ic.restricted.mcxxxx'
                - 'DailyBonus.getVIP'
                - 'EasyShout.shout'
                - 'iConomy.access'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iConomy.rank'
                - 'lockette.user.create.*'
                - 'minecartmania.signs.*'
                - 'SignShop.Signs.Buy'
                - 'SignShop.Signs.Sell'
                - 'SignShop.Signs.Donate'
                - 'SignShop.Signs.Slot'
                - 'SignShop.Signs.Redstone'
                - 'towny.town.new
                - 'towny.town.claim
                - 'towny.nation.new
                - 'towny.wild.build
                - 'towny.wild.destroy
                - 'towny.wild.switch
                - 'towny.wild.item_use
                - 'towny.spawntp
                - 'towny.publicspawntp
                - 'warpz0r.warp
                - 'warpz0r.list
                - 'warpz0r.home
                - 'warpz0r.sethome
        Veteran Builder:
            default: false
            info:
                prefix: '[VB]'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'fishpeople.infiniteair'
        Advanced:
            default: false
            info:
                prefix: '[A]'
                suffix: ''
                build: true
            inheritance:
                - Veteran Builder
            permissions:
                - 'magiccarpet.mc'
        Moderator:
            default: false
            info:
                prefix: '[Mod]'
                suffix: ''
                build: true
            inheritance:
                - Donator
            permissions:
                - '*'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'magiccarpet.mc'
                - 'lockette.admin.create.*'
                - 'lockette.admin.break'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'iConomy.admin.grant'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.lookup'
                - 'logblock.rollback'
                - 'logblock.clearlog'
                - 'logblock.hide'
                - 'EasyShout.shout4free'
        Admins:
            default: false
            info:
                prefix: '[Admins]'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'magiccarpet.mc'
                - 'lockette.admin.create.*'
                - 'lockette.admin.break'
                - 'lockette.admin.bypass'
                - 'lockette.admin.snoop'
                - 'iConomy.admin.grant'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.lookup'
                - 'logblock.rollback'
                - 'logblock.clearlog'
                - 'logblock.hide'
                - 'EasyShout.shout4free'
    tracks:
        Build:
            - Default
            - Builder
            - Veteran
            - Advanced
        Mods:
            - Moderator
            - Admins
    Code:
    users:
        noninn:
            groups:
                - Admins
            permissions:
                - '*'
        ir0nsides:
            groups:
                - Admins
            permissions:
                - '*'
    
    You are missing closing quotes on the following lines and perhaps more:
    Code:
                - 'towny.town.new
                - 'towny.town.claim
                - 'towny.nation.new
                - 'towny.wild.build
                - 'towny.wild.destroy
                - 'towny.wild.switch
                - 'towny.wild.item_use
                - 'towny.spawntp
                - 'towny.publicspawntp
                - 'warpz0r.warp
                - 'warpz0r.list
                - 'warpz0r.home
                - 'warpz0r.sethome
    
    [/quote]
    Thanks wow ya I should have seen that, but I do thank you.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 15, 2019
  21. Offline

    UnLoGiiCaL

    Alright I have my server working pretty much all the way. But I cannot give permissions. Like "commandbook.give"
    I put it in default, Just to see if i can get it to work.
    And it doesn't.
    Here is the code:
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    -commandbook.spawn
    What am I doing wrong?
    This isn't my complete groups.yml
    Also I have a global groups but it's always empty.
    I was wondering if that was somehow messing it up?
    Thanks in advance guys.
     
  22. Offline

    Gritania

    I doubt it because even when i use the setup in the Wiki guide it still doesnt work on the server =/
     
  23. Offline

    Gr33nNiTrO

    How can i change the group of someone like in the Plugin "PermissionsPlus" ??
     
  24. Offline

    JacKlink01

    /pr JoeShmo promote Guest maintrack <That is what I have to type to promote someone!

    Way too much typing. Why do i have to type their current rank anyway? Shouldn't that be obvious to the plugin?

    Please make a "Default Track" and make a command like /promote [username] or /pr promote [username]

    :)
     
  25. Offline

    Jeyge

    Take a look at the post here.
    You need a space after the -. It should be "- commandbook.spawn".
    You are missing closing quotes on the following lines and perhaps more:
    Code:
                - 'towny.town.new
                - 'towny.town.claim
                - 'towny.nation.new
                - 'towny.wild.build
                - 'towny.wild.destroy
                - 'towny.wild.switch
                - 'towny.wild.item_use
                - 'towny.spawntp
                - 'towny.publicspawntp
                - 'warpz0r.warp
                - 'warpz0r.list
                - 'warpz0r.home
                - 'warpz0r.sethome
    
     
  26. Offline

    Painvp

    I got some problems with the permissions , but well , there is two folders in my plugins directory , one called world and another called permissions , and in the permissions there is all those globaluser and globalgroup and all , and i wrote me in the user as admin , and i made a Admin group with '*' and i also did it for that in the world directory in there , and i have done the same with the world directory , but still i when i connect to my server it say's [default]Minebuilder00: i really need you're help ):
     
  27. Offline

    Gritania

    I have the same problem as you
     
  28. Offline

    rambo828

    so for some reason i cannot seem to get tags to work for permissions, or colors for that.

    any one wanna toss some help my way, maybe im doing it wrong.
     
  29. Offline

    Jeyge

    You never have to use the SQL version of the Permissions plugin but if you are, make sure you run both Permissions.jar and PermissionsSql.jar.
    I have no clue about the SQL part of this. The files are just too small to gain any benefit from using SQL unless you have another use for the data.
    Can't do much without you permissions files and the server.log.
    There are problems right now with the global files but it will get fixed at some point. For now, I would just copy the information to all the worlds.
    You'll need to post your files if you want any help.
    It is under the experimental branch.
    When we look at things in notepad, we see a carriage return/linefeed combo making a document look really nice and neat. When some code writes to a file, it only adds a linefeed to keep things simple. If notepad only finds a linefeed, it shows you what you see in the second file. I would suggest not opening any yml files in notepad but instead use notepad++ which understands lines that only have a linefeed at the end.

    TLDR - don't open the file in notepad.
    What chat plugin are you using and are you on Multiplay? If Multiplay, you have to convert the color codes to their internal format.
    You'll have to wait for some fixes before the global files work as they should but for your answers:
    1 - By default it should or you can add a '*,<group>' to your users group to force it to use the global file. The * says to pull that user from global.
    2 - You can't promote in all the worlds or at least not that I know of but you will eventually be able to just have users in global and promote those and every world would use the same information.
    3 - I think the permission is permissions.promote.<track>.
    You'll need to post your files.

    @ everyone with ModularControl problems. You will need to remove plugins one at a time until you find the one that Permissions doesn't like. Start with MyHome and MyWarp. Or switch back to 2.7.4 until it is fixed.

    Permissions 3.x is multi-group aware so you have to tell it which group you are promoting.
    Don't use the global files for now and you'll need to post your files so we can see what is wrong.
    Do you have a chat plugin? Adding a prefix/suffix only works with one.
    In your users.yml file, your groups: Admins needs to look like:
    Code:
            groups:
                - Admins
    
    That is good to know. Thanks for sharing this information. I'll point people to this post and see if it fixes it for them too.

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

    Supersam654

    Hey guys, I just installed permissions and tried setting up my users.yml and groups.yml files under my current world. However, my MOTD still says that I am in the group "Default" and I can't build anything.

    Here is my groups.yml file
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'foo.*'
                - '-foo.test'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            permissions:
                - '*'
    And here is my groups.yml file
    Code:
    users:
        Two_Whales:
            permissions:
            groups: Admins
        liamwykes1:
            permissions:
            groups: Admins
    My globalusers and groups files are both empty.
     
  31. Offline

    serenewaffles

    Using CB818 and Permissions 3.1.4, it appears that I get load errors whenever I try to use more than 12 plugins. I understand that other people aren't having this issue, but no matter which 13 I use, as long as Permissions 3.1.4 is one of them, I get this error:
    Code:
    16:03:51 [SEVERE] java.lang.IllegalAccessError: tried to access class com.nijiko.permissions.ModularControl$1RefreshTask from class com.nijiko.permissions.ModularControl
    16:03:51 [SEVERE] 	at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:54)
    16:03:51 [SEVERE] 	at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:182)
    16:03:51 [SEVERE] 	at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    16:03:51 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    16:03:51 [SEVERE] 	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    16:03:51 [SEVERE] 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    16:03:51 [SEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    16:03:51 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    16:03:51 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    16:03:51 [SEVERE] [Permissions] Unable to load permission data.
    16:03:51 [INFO] [Permissions] Shutting down Permissions due to error(s).
    16:03:51 [INFO] [Permissions] (Yeti) was initialized.
    Plugins:

    • BetterShop 1.6.5.6
    • ControllerBlock 1.18
    • CraftBukkitUpToDate 2.5.5
    • Dynmap 0.17
    • General 2.2.11
    • Help 0.2.4.1
    • iChat 2.3.0
    • iConomy 5.0
    • iWatch 0.6
    • Landmarks 0.2
    • LightningControl 1.1
    • LimitSpawns 1.11
    • MCDocs 9.5
    • quickbelt 0.1.8
    • WorldEdit 4.5
    EDIT: Changing it to zPermissions.jar fixed the problem. I'm using Linux for my server, so that might be affecting the load order of things. Hope this helps.
     
    1born2kill likes this.
Thread Status:
Not open for further replies.

Share This Page