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

    rambo828

    to the guy who posed above me
    Im using a linux server too, and the help plugin seemed to be throwing my server amuck.
    Maybe this will help
     
  3. Offline

    Jeyge

    All I see are the same comments with the same errors. I guess it is just different views though. Mine from answering the same questions all day long.
    I found just as many redundant questions in the 2.x thread and honestly found the problems to be much harder with 2.x. I'm loving the ease of answering questions on 3.x.
    He will actually have the default permissions even though it doesn't say Guest and the reason it isn't automatically assigning him to Guest, is so that the admins can pick where he should be. If he were to be put in Guest but he was meant to be an Admin, you would have to remove Guest and add Admin. Now you just add him to Admin.
    You didn't convert your users.yml file to be the new format. - group: Admins need to look like:
    Code:
            groups:
                - Admins
    
    Do this for all of your users and you should see some better results.
    You should stay away from the global files for now. They aren't working as well as they could. Try adding everything to the world files.
    Post your storageconfig.yml file but understand that you don't have to use SQL. The yml files still work just fine.
    Understandable but what really changed was 1 file became 2 and group became groups. The rest is just optional.
    You are missing a closing quote on:
    Code:
                - 'essentials.jump
    
     
    Supersam654 likes this.
  4. Offline

    Fuzzwolf

    Could you add a command to promote somebody in whatever world you are standing in? I cannot get promoting nor demoting to work and this seems a little too complicated for something I would do on a regular basis... I am spammed with errors like everyone else.
     
  5. Offline

    Supersam654

    @Jeyge I would just like to thank you for putting up with everyone's redundant questions. Not surprisingly, your fix worked flawlessly. My only recommendation for you is to make a larger FAQ to avoid all of the questions.
     
    Don Redhorse likes this.
  6. Offline

    Painvp

    This is my Groups.yml
    Code:
    groups:
        Default:
            permissions:
            inheritance:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - '*'
    
    this is my users.yml
    Code:
    users:
        Minebuilder00:
            group: Admins
            permissions:
        Deathcloser:
            group: Admins
            permissions:
        blockslayer7:
            group: Admins
            permissions:
        oska0660:
            group: Admins
            permissions:
     
  7. Offline

    Jeyge

    I do wish a FAQ would work for a lot of this but even though the problems are all the same, they are in different places and it is sometimes hard to see them or even know where to start looking. Once the rest of the new features of 3.x get ironed out, I have a feeling there will be a lot less questions here. This version will make things much easier to use eventually.

    In your users file, your group: Admins needs to look like:
    Code:
            groups:
                - Admins
    
    I've asked for a more simple command but I'm not sure how much he can take away from the current commands. But the dev of PermissionsPlus has said he is making a version for 3.x.

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

    Painvp

    like this?
    Code:
    users:
        Minebuilder00:
            groups:
            - Admins
            permissions:
        Deathcloser:
            groups:
            - Admins
            permissions:
        blockslayer7:
            groups:
            - Admins
            permissions:
        oska0660:
            groups:
            - Admins
            permissions:
     
  9. Offline

    Jeyge

    That should work.
     
  10. Offline

    slyswat

    Okay, well. I've been trying to get this working for two days, and I finally gave up. I cannot destroy or place blocks anywhere in my world, no matter how far it is from spawn. I get no Permission errors in the console, and have all of my Groups set to Build:True, as well as my Users. I've done extensive testing, and it has shown that Permissions is in fact the problem. Here are my groups.yml and my users.yml.
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'foo.bar'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    Code:
    users:
        TheNo1Yeti:
            groups:
                - Admins
            permissions:
        Herpina:
            groups:
                - Moderator
            permissions:
                - 'herp.derp'
        Derpina:
            groups:
                - Admins
            info:
                prefix: '&4'
            permissions:
                - '-derp.derp'
        slyswat:
            groups:
                - Admins
            info:
                prefix: '&4'
                build:true
            permissions:
                - '*'        
     
  11. Offline

    Jeyge

    Well, first thing is that you aren't getting any errors. That tells me that Permissions isn't reading your users.yml file. Perhaps it is in the wrong directory? The reason I say that is that your users.yml file has errors in it. Your "build:true" should be "build: true". And on top of that is that build doesn't belong in the users file that that wouldn't cause any errors. The other thing is that you seem to have a couple tabs in the users.yml file which isn't allowed.

    There are a couple reasons your users.yml file might not be read. There is the one I already said but another might be that you are trying to run a 2.x version of Permissions with the 3.x files. Post your server.log and I will be able to tell you more.
     
  12. Offline

    IT_Hamsteri

    I have too problem with Default group. Nu permission for build, but I set in config true! :-/
     
  13. Offline

    drburke

    I can't manage to download 2.7.x on GitHub. It keeps denying me access: "You do not have permissions to update this wiki."
     
  14. Offline

    slyswat

    Alright. Here's my server.log.
    Code:
    2011-06-05 13:44:26 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-05 13:44:26 [INFO] Loading properties
    2011-06-05 13:44:26 [INFO] Starting Minecraft server on 5.240.234.226:25565
    2011-06-05 13:44:26 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-05 13:44:26 [INFO] Preparing level "world"
    2011-06-05 13:44:27 [INFO] Preparing start region for level 0
    2011-06-05 13:44:27 [INFO] Preparing start region for level 1
    2011-06-05 13:44:28 [INFO] Preparing spawn area: 44%
    2011-06-05 13:44:28 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-05 13:44:28 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-05 13:44:29 [INFO] Loaded Essentials build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:44:29 [INFO] Loaded EssentialsChat build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:44:29 [INFO] Loaded EssentialsGeoIP build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:44:29 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    2011-06-05 13:44:29 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-06-05 13:44:29 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    2011-06-05 13:44:29 [INFO] Loaded EssentialsProtect build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:44:29 [INFO] Loaded EssentialsSpawn build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:44:29 [INFO] [Permissions] version [3.1.4] (Yeti)  loaded
    2011-06-05 13:44:29 [INFO] WorldEdit 4.6 enabled.
    2011-06-05 13:44:29 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:44:29 [INFO] [Permissions] version [2.7.2] (Yeti)  loaded
    2011-06-05 13:44:29 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:44:29 [INFO] Done (0.254s)! For help, type "help" or "?"
    2011-06-05 13:44:35 [INFO] slyswat [/5.240.234.226:61313] logged in with entity id 87 at (14.521668550527, 77.0, 219.96902826155113)
    2011-06-05 13:44:35 [INFO] Creating user slyswat
    2011-06-05 13:44:48 [INFO] Connection reset
    2011-06-05 13:44:48 [INFO] slyswat lost connection: disconnect.quitting
    2011-06-05 13:44:54 [INFO] Stopping the server..
    2011-06-05 13:44:54 [INFO] Stopping server
    2011-06-05 13:44:54 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
    2011-06-05 13:44:54 [INFO] GroupManager version 1.0(alpha-5) is disabled!
    2011-06-05 13:44:54 [INFO] [Permissions] (Yeti) saved all data.
    2011-06-05 13:44:54 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-05 13:44:54 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:44:54 [INFO] [Permissions] (Yeti) saved all data.
    2011-06-05 13:44:54 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-05 13:44:54 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:44:54 [INFO] Saving chunks
    2011-06-05 13:44:54 [INFO] Saving chunks
    2011-06-05 13:46:31 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-05 13:46:31 [INFO] Loading properties
    2011-06-05 13:46:31 [INFO] Starting Minecraft server on 5.240.234.226:25565
    2011-06-05 13:46:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-05 13:46:31 [INFO] Preparing level "world"
    2011-06-05 13:46:31 [INFO] Preparing start region for level 0
    2011-06-05 13:46:32 [INFO] Preparing start region for level 1
    2011-06-05 13:46:32 [INFO] Preparing spawn area: 40%
    2011-06-05 13:46:33 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-05 13:46:33 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-05 13:46:34 [INFO] Loaded Essentials build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:46:34 [INFO] Loaded EssentialsChat build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:46:34 [INFO] Loaded EssentialsGeoIP build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:46:34 [INFO] This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/.
    2011-06-05 13:46:34 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10 minutes!
    2011-06-05 13:46:34 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    2011-06-05 13:46:34 [INFO] Loaded EssentialsProtect build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:46:34 [INFO] Loaded EssentialsSpawn build 2.3.1 by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo, ceulemans and Xeology
    2011-06-05 13:46:34 [INFO] [Permissions] version [3.1.4] (Yeti)  loaded
    2011-06-05 13:46:34 [INFO] WorldEdit 4.6 enabled.
    2011-06-05 13:46:34 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:46:34 [INFO] [Permissions] version [2.7.2] (Yeti)  loaded
    2011-06-05 13:46:34 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:46:34 [INFO] Done (0.270s)! For help, type "help" or "?"
    2011-06-05 13:46:35 [INFO] slyswat [/5.240.234.226:61354] logged in with entity id 87 at (14.521668550527, 77.0, 219.96902826155113)
    2011-06-05 13:46:35 [INFO] Creating user slyswat
    2011-06-05 13:46:40 [INFO] <§cslyswat§f§f> wat
    2011-06-05 13:46:46 [INFO] Connection reset
    2011-06-05 13:46:46 [INFO] slyswat lost connection: disconnect.quitting
    2011-06-05 13:46:50 [INFO] Stopping the server..
    2011-06-05 13:46:50 [INFO] Stopping server
    2011-06-05 13:46:50 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
    2011-06-05 13:46:50 [INFO] GroupManager version 1.0(alpha-5) is disabled!
    2011-06-05 13:46:50 [INFO] [Permissions] (Yeti) saved all data.
    2011-06-05 13:46:50 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-05 13:46:50 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:46:50 [INFO] [Permissions] (Yeti) saved all data.
    2011-06-05 13:46:50 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-05 13:46:50 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 13:46:50 [INFO] Saving chunks
    2011-06-05 13:46:50 [INFO] Saving chunks
    As for what directory my users.yml is located in? It's located in: Plugins\Permissions\ It's located in the Permissions folder itself. Should it be located in my World folder?

    New problem. I get this in console now.
    Code:
    (SourceFile:422)
    2011-06-05 14:39:35 [SEVERE] Caused by: while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 33, column 1:
    
        ^
    
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-06-05 14:39:35 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:201)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.data.YamlCreator.getUserStorage(YamlCreator.java:34)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:76)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:90)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    2011-06-05 14:39:35 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetGroup(ModularControl.java:506)
    2011-06-05 14:39:35 [SEVERE]     ... 16 more
    2011-06-05 14:39:37 [SEVERE] java.lang.Exception: Error creating user slyswat in world world due to storage problems!
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:491)
    2011-06-05 14:39:37 [SEVERE]     at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:62)
    2011-06-05 14:39:37 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoader.java:475)
    2011-06-05 14:39:37 [SEVERE]     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    2011-06-05 14:39:37 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.ItemInWorldManager.c(ItemInWorldManager.java:156)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:118)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:462)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.NetworkManager.b(NetworkManager.java:217)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:401)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-05 14:39:37 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 14:39:37 [SEVERE] Caused by: while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 33, column 1:
    
        ^
    
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingValue.produce(ParserImpl.java:592)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:132)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-06-05 14:39:37 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:201)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.data.YamlCreator.getUserStorage(YamlCreator.java:34)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:76)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:90)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    2011-06-05 14:39:37 [SEVERE]     at com.nijiko.permissions.ModularControl.safeGetUser(ModularControl.java:489)
    2011-06-05 14:39:37 [SEVERE]     ... 14 more
    
    Whenever I try to destroy a block.

    And this on startup.
    Code:
    2011-06-05 14:34:03 [SEVERE] while scanning for the next token
    found character     '\t' that cannot start any token
     in "<reader>", line 33, column 18:
                    - '*'
                         ^
    
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:360)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.produce(ParserImpl.java:502)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-06-05 14:34:03 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.data.YamlUserStorage.reload(YamlUserStorage.java:201)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.data.YamlUserStorage.<init>(YamlUserStorage.java:29)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.data.YamlCreator.getUserStorage(YamlCreator.java:34)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.data.StorageFactory.getUserStorage(StorageFactory.java:76)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:90)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    2011-06-05 14:34:03 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:103)
    2011-06-05 14:34:03 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    2011-06-05 14:34:03 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    2011-06-05 14:34:03 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    2011-06-05 14:34:03 [SEVERE]     at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    2011-06-05 14:34:03 [SEVERE]     at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    2011-06-05 14:34:03 [SEVERE]     at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    2011-06-05 14:34:03 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    2011-06-05 14:34:03 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-06-05 14:34:03 [SEVERE] [Permissions] Unable to load permission data.
    2011-06-05 14:34:03 [INFO] [Permissions] Shutting down Permissions due to error(s).
    2011-06-05 14:34:03 [INFO] [Permissions] (Yeti) was initialized.
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 15, 2019
  15. Offline

    Adondriel

    This is unacceptable... permissions 3.X doesnt work with LOGBLOCK or BIGBROTHER!!! the two most emportant plugins ever.... i want my old permissions(pheonix) build back... why would you ever go and change the code. 1. It makes it harder to update from pheonix build and 2. i had to redo my permissions because of this AND it doesnt work with griefer prevention plugins. This update sucks and you need to get the conflict with either BB or LB to work SOON. PLEASE
     
  16. Offline

    Jeyge

    Yep, they have to be in the plugins\permissions\<world> directory. And you can't run both GroupManager and Permissions at the same time.
     
  17. Offline

    Adondriel

    Also, why don't you implement permissionsplus? i really would like to be able to use /promote (name) to promote people from guest to builder... will this be added? or no??
     
  18. Offline

    Jeyge

    This has to be the best one of these I've seen here so far.
    Makes me laugh.

    Haha, got you before the edit. :)

    Oops, not an edit but another post. My mistake.

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

    Lupus

    Hey,

    I am the Co-Admin of a server and my main job is to code the server. But when coding permissions, everything runs smoothly except build permissions. You MUST be an Admin to build, nothing lower. I have tried everything but this, so if you could take a look at my permissions file... Oh and by the way if the spacing seems off, its not. all the permissions work fine, it is just the building. When someone who isn't an admin tries to build/delete/open.close a door ect. it dosent work! Help.
    Code:
        Default:
            default: true
            info:
                prefix: '&aDefault&f'
                suffix: ''
                build: true
            permissions:
               - dc.help
               - dc.home.self
               - dc.sethome.self
               - dc.message.all
               - iConomy.access
               - iConomy.bank.transfer
               - commandSigns.use
               - foo.bar
               - dc.teleport.self.*
               - dc.warp.self.*
               - dc.spawn.self.*
               - -dc.warp.self.Random
               - dc.online
               - foo.bar
               - dc.teleport.self.*
               - dc.warp.self.*
               - dc.spawn.self.*
               - -dc.warp.self.Random
               - dc.online
    
        Builder:
            default: false
            info:
                prefix: '&5Builder&f'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'foo.*'
                - '-foo.test'
                - dc.give.self
                - dc.warps
        Donator:
            default: false
            info:
                prefix: '&6Donator&f'
                suffix: '&f'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'foo.*'
                - '-foo.test'
                - dc.fly.self
                - dc.god.self
                - dc.creative.self
                - dc.weather.*
                - commandSigns.create
    
        Moderator:
            default: false
            info:
                prefix: '&eMod&f'
                suffix: ''
                build: true
            inheritance:
                - Donator
            permissions:
                - 'foo.*'
                - '-foo.test'
                - dc.spawnmob.*
                - dc.setwarp
                - dc.time.*
                - dc.inventory
                - dc.freeze.other
                - dc.mute.other
                - mcbans.*
                - p2.*
        Moderator[WE]:
            default: false
            info:
                prefix: '&eModerator[WE]&f
                suffix: ''
                build: true
            inheritance:
                - null
            permissions:
                - '*'
        Admins:
            default: false
            info:
                prefix: '&2Admin&f'
                suffix: ''
                build: true
            permissions:
                - '*'
     
  20. Offline

    MCxWillyxP

    Here's my server.log if that helps:

    Code:
    [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-05 22:05:57 [INFO] Loading properties
    2011-06-05 22:05:57 [INFO] Starting Minecraft server on *:25565
    2011-06-05 22:05:57 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-05 22:05:57 [INFO] Preparing level "Region"
    2011-06-05 22:05:57 [INFO] Preparing start region for level 0
    2011-06-05 22:05:58 [INFO] Preparing spawn area: 97%
    2011-06-05 22:05:58 [INFO] Preparing start region for level 1
    2011-06-05 22:05:59 [INFO] Preparing spawn area: 97%
    2011-06-05 22:05:59 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-06-05 22:06:00 [INFO] CommandBook 1.5.1 enabled.
    2011-06-05 22:06:00 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-06-05 22:06:00 [INFO] CommandBook: 1 kit(s) loaded.
    2011-06-05 22:06:00 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 22:06:00 [INFO] HigherExplosives 1.6 primed and ready
    2011-06-05 22:06:00 [INFO] [MagicCarpet] MagicCarpet version 1.5.5 is enabled!
    2011-06-05 22:06:00 [INFO] [MagicCarpet] Take yourself wonder by wonder, using /magiccarpet or /mc.
    2011-06-05 22:06:00 [INFO] [MagicCarpet] Using Permissions.
    2011-06-05 22:06:00 [INFO] [Permissions] version [2.7.3] (Phoenix)  loaded
    2011-06-05 22:06:00 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 22:06:00 [INFO] MobSpawn version 0.2 loaded
    2011-06-05 22:06:00 [INFO] RocketBoots v0.2.3 enabled
    2011-06-05 22:06:00 [INFO] WorldEdit 4.4 enabled.
    2011-06-05 22:06:00 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 22:06:00 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region) Single session is enforced.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region) TNT ignition is PERMITTED.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region) Lighters are PERMITTED.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region) Lava fire is blocked.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region) Fire spread is UNRESTRICTED.
    2011-06-05 22:06:00 [INFO] WorldGuard: Loaded configuration for world 'Region"
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region_nether) Single session is enforced.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region_nether) TNT ignition is PERMITTED.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region_nether) Lighters are PERMITTED.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region_nether) Lava fire is blocked.
    2011-06-05 22:06:00 [INFO] WorldGuard: (Region_nether) Fire spread is UNRESTRICTED.
    2011-06-05 22:06:00 [INFO] WorldGuard: Loaded configuration for world 'Region_nether"
    2011-06-05 22:06:00 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-06-05 22:06:00 [INFO] Done (0.276s)! For help, type "help" or "?"
    2011-06-05 22:06:10 [INFO] MCxWillyxP [/86.164.160.96:1024] logged in with entity id 29 at (58.28125, 71.0, 464.25)
    2011-06-05 22:06:10 [INFO] CommandBook: No intro.mid; not playing intro song.
    2011-06-05 22:06:13 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-06-05 22:06:29 [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)
    2011-06-05 22:06:33 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:620)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:43)
        at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.java:419)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:84)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(CraftEventFactory.java:68)
        at net.minecraft.server.ItemBlock.a(ItemBlock.java:76)
        at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:219)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:556)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        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)
    2011-06-05 22:06:36 [INFO] Connection reset
    2011-06-05 22:06:36 [INFO] MCxWillyxP lost connection: disconnect.quitting
    2011-06-05 22:18:24 [INFO] Stopping the server..
    2011-06-05 22:18:24 [INFO] Stopping server
    2011-06-05 22:18:24 [INFO] HigherExplosives 1.6 defused and disabled
    2011-06-05 22:18:24 [INFO] Magic Carpet disabled. Thanks for trying the plugin!
    2011-06-05 22:18:24 [INFO] MobSpawn version 0.2 unloaded
    2011-06-05 22:18:24 [INFO] [Permissions] (Phoenix) saved all data.
    2011-06-05 22:18:24 [INFO] [Permissions] (Phoenix) disabled successfully.
    2011-06-05 22:18:24 [INFO] CommandBook: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 22:18:24 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 22:18:24 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-06-05 22:18:24 [INFO] WorldGuard 5.0-alpha10 disabled.
    2011-06-05 22:18:24 [INFO] Saving chunks
    2011-06-05 22:18:24 [INFO] Saving chunks
    2011-06-05 22:18:24 [INFO] Stopping server
    2011-06-05 22:18:24 [INFO] Saving chunks
    
    What else do you need?
     
  21. Offline

    Jeyge

    Your permissions file would have been good but this tells me enough. It looks like your current file isn't in the right location. Make sure you permissions.yml file is named exactly <world name>.yml and is in the plugins\permissions directory. If you have file extensions turned off, your permissions.yml file will be named <world name>. (been a while since I have had to type that)
     
  22. Offline

    Maxis010

    How about you go ask them to update to perm 3 instead of bitching about the plugin which would effectively revert to give support
    GuestPrev is a Griefer prevention, not permissions reliant (although it is helpful) and that still works so your argument is incomplete

    There is, it's just confusing as hell as it's all based off of 1 command (/pr)
    PP is building a P3 version to simplify this
     
  23. Offline

    Jeyge

    But what if the spacing is what causes it to not work? Also, I'm going to need a little more information. You say they can't build but not what actually happens when they try to build. Any error message? Do they just end up with the blocks back in their inventory? And which version of Permissions? The file you posted above seems incomplete too. At a minimum, it is missing the groups: from the top.

    As I said already, you have tabs in your file. Not the easiest thing to catch when you don't actually post your errors either.

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

    MCxWillyxP

    1.) Which file do you want? There are loads of .yml files in the Permissions folder.
    2.) My file is already in the right location (\plugins\Permissions\Region)
    3.) I know I said I was stupid, but I'm not stupid enough to not have file extensions ;)
     
  25. Offline

    Lupus

    We have added the group:
    Running Permissions 3.1.4
    They get this message: You do not have permission to do that
    My other admin had changed something recently, i am going to post the FULL coding of the globalGroups.yml. With spacing and all. But now it doesent even use permissions, nothing works. ahhhhh

    Code:
    groups:
       Default:
            default: true
            info:
                prefix: '&aDefault&f'
                suffix: ''
                build: true
            permissions:
               - dc.help
               - dc.home.self
               - dc.sethome.self
               - dc.message.all
               - iConomy.access
               - iConomy.bank.transfer
               - commandSigns.use
               - foo.bar
               - dc.teleport.self.*
               - dc.warp.self.*
               - dc.spawn.self.*
               - -dc.warp.self.Random
               - dc.online
               - foo.bar
               - dc.teleport.self.*
               - dc.warp.self.*
               - dc.spawn.self.*
               - -dc.warp.self.Random
               - dc.online
    
        Builder:
            default: false
            info:
                prefix: '&5Builder&f'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'foo.*'
                - '-foo.test'
                - dc.give.self
                - dc.warps
        Donator:
            default: false
            info:
                prefix: '&6Donator&f'
                suffix: '&f'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'foo.*'
                - '-foo.test'
                - dc.fly.self
                - dc.god.self
                - dc.creative.self
                - dc.weather.*
                - commandSigns.create
    
        Moderator:
            default: false
            info:
                prefix: '&eMod&f'
                suffix: ''
                build: true
            inheritance:
                - Donator
            permissions:
                - 'foo.*'
                - '-foo.test'
                - dc.spawnmob.*
                - dc.setwarp
                - dc.time.*
                - dc.inventory
                - dc.freeze.other
                - dc.mute.other
                - mcbans.*
                - p2.*
        Moderator[WE]:
            default: false
            info:
                prefix: '&eModerator[WE]&f
                suffix: ''
                build: true
            inheritance:
                - null
            permissions:
                - '*'
        Admins:
            default: false
            info:
                prefix: '&2Admin&f'
                suffix: ''
                build: true
            permissions:
                - '*'
     
  26. Offline

    Αρρεν

    I am using P3 with MySQL database.
    How I should add default group using commands???
    Can not imagine how I should do it, can someone explain? I've searches in manuals and haven't found anything about flags.
     
  27. Offline

    OrtwinS

    Hi there,

    First of all: Thanks for the great work that is being put into this; Permissions now comes in sight as a possible replacement for GM...(which is slowly dieing).

    A question though, it says multigroups in the OP, I guess this is similar to GM subgroups, thats great because my server wouldn't work without them.
    But can they be added/removed from ingame? There are no commands listed in the command reference... could it have been forgotten? or does it simply not exist so I will have to wait until they are added before I migrate back to Permissions.

    Also, the in the reference the command to remove a permission node is listed as '/permissions (g:)<target> (w:<world>) perms add <node>', I think that is supposed to be 'remove' :p
     
  28. Offline

    Frozen91

    I'm getting strange issues using the new version of Permissions

    Code:
    [SEVERE] mapping values are not allowed here
     in "<reader>", line 59, column 13:
                info:
                    ^
    
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:228)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    2011-06-06 00:14:50 [SEVERE]     at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:52)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.data.YamlGroupStorage.reload(YamlGroupStorage.java:178)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.data.YamlGroupStorage.<init>(YamlGroupStorage.java:29)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.data.YamlCreator.getGroupStorage(YamlCreator.java:58)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.data.StorageFactory.getGroupStorage(StorageFactory.java:129)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.permissions.ModularControl.forceLoadWorld(ModularControl.java:91)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.permissions.ModularControl.loadWorld(ModularControl.java:82)
    2011-06-06 00:14:50 [SEVERE]     at com.nijiko.permissions.ModularControl.load(ModularControl.java:102)
    2011-06-06 00:14:50 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:184)
    2011-06-06 00:14:50 [SEVERE]     at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:140)
    2011-06-06 00:14:50 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    2011-06-06 00:14:50 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:339)
    2011-06-06 00:14:50 [SEVERE]     at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:247)
    2011-06-06 00:14:50 [SEVERE]     at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
    2011-06-06 00:14:50 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:273)
    2011-06-06 00:14:50 [SEVERE]     at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:430)
    2011-06-06 00:14:50 [SEVERE]     at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:415)
    2011-06-06 00:14:50 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:311)
    2011-06-06 00:14:50 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Here is the users.yml file:
    Code:
    users:
        gotyagood157:
            groups:
            -Admin
        frozen91:
            groups:
            -Modo
            permissions:
            - '*'
        lenglais:
            groups:
            -Visiteur
        dada57920:
            groups:
            -Membre
        sleli:
            groups:
            -Membre
            info:
                prefix: '&d'
        cr4k3rd:
            groups:
            -Membre
        kamasoutrick:
            groups:
            -Membre
        dada87920:
            groups:
            -Membre
        entrivax:
            groups:
            -Membre
            permissions:
            - falsebook.ic.*
        thom57920:
            groups:
            -Membre
        cpt_gloomy:
            groups:
            -Visiteur
        jeromej:
            groups:
            -Membre
        piiu:
            groups:
            -Membre
        alexdu82:
            groups:
            -Membre
        chlamine:
            groups:
            -Membre
        johnnymarc:
            groups:
            -Visiteur
        dayusuke:
            groups:
            -Membre
        whivy:
            groups:
            -Membre
        atsuhiko:
            groups:
            -Membre
        Ze_mouarf:
            groups:
            -Membre
        Membre:
            groups:
            -Membre
        Polochons:
            groups:
            -Membre
        didine10270:
            groups:
            -Membre
        sadafi:
            groups:
            -Membre
        drlock:
            groups:
            -Membre
        ja2r0d:
            groups:
            -Membre
        overmine97:
            groups:
            -Membre
        sal0prie:
            groups:
            -Visiteur
        twindu:
            groups:
            -Modo
        moja102:
            groups:
            -Visiteur
        zayrios:
            groups:
            -Architecte
        _K3nt_:
            groups:
            -Membre
        x_tracker_frag:
            groups:
            -Membre
    and the group.yml file
    Code:
    groups:
        Visiteur:
            default: true
            info:
                prefix: '&7'
                suffix: ''
                build: false
            inheritance: null
            permissions: null
        Membre:
            default: false
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - SimpleAlias.*
            - minecraft.tell
            - minecraft.list
            - kit.kit
            - kit.outils
            - turnstile.use
            - iConomy.list
    
        VIP:
            default:false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance: Membre
            permissions:
            -minecraft.give
            -minecraft.tp
            -minecraft.time
            -worldedit.navigation.*
    
        Architecte:
            default:false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance: VIP
            permissions:
    
        Modo:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
            - Membre
            permissions:
            - minecraft.help
            - minecraft.kick
            - minecraft.time
            - minecraft.tp
            - minecraft.give
            - bukkit.plugins
            - worldedit.navigation.*
        Admin:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
    tracks:
        Membres:
        -Membre
        -VIP
        -Architecte
        Admins:
        -Modo
        -Admin
     
  29. Offline

    Jeyge

    You are running 2.7.x which requires the file to be named <world name> and not be in a world directory. You will need to run 3.x if you want to use the world directories.

    The global files aren't quite working right now. You will want to use the groups.yml and users.yml in the world folders.

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

    MCxWillyxP

    ...I'm not with you :/
     
  31. Offline

    Jeyge

    All commands can be found here but I would suggest not using the SQL version if this is confusing. It is really meant to allow you to access the information with a website or something like that.

    There needs to be a space after the continuation (-). It looks like you have it in some places but not in others. This would be in both your groups.yml and users.yml.

    Well, lets say you have a world called foo. Back in the 2.x days you would create your permissions file like this - plugins\permissions\foo.yml. Then with 3.0, you would have 2 files called - plugins\permissions\foo\users.yml and plugins\permissions\foo\groups.yml. You are currently running 2.7.3 so you need to have a file like - plugins\permissions\foo.yml but yet you have the other files. You can either update your plugin to 3.x or downgrade your files to 2.7.x.

    Groups are called parents in the wiki so the commands you would want are:
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
Thread Status:
Not open for further replies.

Share This Page