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

    JukkaTibbs

    Okay when I type in /plugin permissions in game I get nothing then when I type in /plugins I get the list and they all appear in a light green except for the permissions plug. I am assuming that is the folder that I created and did something wrong,
    CB 953
    Permissions 3.1.6
    So I bet that I did something wrong and I know it. Can you or someone who knows some places send me to a good helpful like chat or something like that. because I bet no one would like it for me to leave too many comments here on this thread.
    Im a noob to everything!
    -EDIT- I tried that online YAML parser that was shown in the installing video too. No error codes came up, idk if that helps at all.
     
  3. Offline

    Jeyge

    Permissions is red in the plugins list because it failed to load. It failed to load because of some error. That error will be in your server.log. Post said error in here or the whole server.log and someone will be able to help you.
     
  4. Offline

    kyle772

    your probably right I should take you up on that offer.

    Regardless of how long he has been troubleshooting he thinks I'm wrong and I just noticed this "DO NOT USE GLOBAL CONFIGS FOR NOW, ESPECIALLY FOR THOSE THAT ARE GENERATED BY MCMA. 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." That up there basically says that globalgroups.yml is supposed to override groups.yml (once groups.yml merges with global.yml obviously) but isn't. I am simply throwing in my two cents and helping people who are experiencing this bug, I see no reason to try and call me out on that though. ;P

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

    Jeyge

    Supplement does not equal override. You have it backwards and the more you tell people your stories, the worse things get.
     
  6. Offline

    kyle772

    I think you may have it backwards when it says that Global config is meant to supplement World-specific configs that means that Global is supposed to do that act of supplementing the world specific config. Not Global config is supposed to be supplemented by the world-specific config. You can test it yourself if you don't believe me. Put a single permissions line into worldusers.yml and set yourself yourself to default and then go into your globalusers.yml then set yourself to admin and you will see. Also if you are going to do this (which I'm sure you're not going to, because as far as I can see your pretty stuborn on who you think is right) you should make sure your not OPed so you don't think you have all the commands when you find out that your (EDIT:"Infinite Wealth of knowledge" <- sorry to used to the term infinite) as you would say isn't always correct. Also people aren't perfect, they aren't always right, I'm not going to look down on you if you are wrong so you can loose the ego that you are the king of permissions because in reality we are both just two people trying to troubleshoot people's problems.

    EDIT2: Also one more edit just looked it up and supplement means to improve upon, so technically we were both wrong its not a backwards forwards thing its more of a joining with a leader in the front kind of thing. In other words Global joins to world and world leads, the bug is that global isn't joining to world, but world is still leading. Either way I'm still right just thought I would clear that up though.

    Good I respect you a little bit more than I would any other adult, most don't accept new information like that from a teenager. My main point the past 2 posts weren't "I'm right" they were why mess with it if it doesn't need to be messed with. I hope you understood that and didn't think of it as I'm trying to prove you wrong because I really wasn't. I hope that you pass knowledge along whether its about permissions or not because knowledge is something that should be passed and sadly isn't as much as it should be these days. Are you physically unable to post or do you just not? I feel that if you know something and are able to let it out then you should whether you get in trouble or not.

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

    Jeyge

    @kyle772
    You definitely are funny and I will only add one final thing.
    I've been in this thread since page one and I've tested many things including the global files. I've written a few guides to things like tracks. I've helped many people thru problems with their globals and local world files. So this whole "you won't test it because of your ego" crap just won't cut it around here. One of us is helping people. One is going to hurt more.
     
  8. Offline

    kyle772

    The problem here is your not reading my words, you are blatantly skimming through them looking for something you can have a quick reply to. As far as I can see from your last reply you read and I quote "Blah blah blah, blah blah blah. your retarded maybe you should try it! blah blah blah" Not only do I have proof that I am correct because I have already solved the problem and seen the solution but you are obviously unaware that there is a bug involving global and world files and your prior knowledge of them is useless when they aren't acting as normal.

    Also either you're lazy or your ego has made you think you are the king of permissions because you essentially just said "I don't need to test because I know I'm right!" in reply to "I know how to get around this recent bug, would you like to see my proof? Well do this and there it is!"

    You still seem really defensive on your being right, it seems like you don't want to make yourself look bad in front of your "followers" so again no one is going to look down on you for being wrong, nobody is perfect.

    Also in reply to your "one of us is hurting people" line out of all the problems you have fixed you are wrong on one so no one is really hurting anyone here all your doing it spamming the area for helping users with "no shutup you don't know what your talking about" messages, and if you say something in reply to this then you are only making the problem worse and it seems as if you are just trying to keep this argument going for no real reason.
     
  9. Offline

    Jeyge

    Do you even read my posts? What followers do you think I have. I'm a snippy old man compared to most on here so I don't even get a thanks 90% of the time. (Oh, I left myself open there didn't I) So I'm quite confused at who it is that will look down on me more than they already do. But at the same time, I answer questions whether right or wrong. Am I always right? Nope, not at all. Do I think I know everything about Permissions? Nope, I admit to that daily when a PermissionsSQL question comes up but I still try to help.

    As for what you think you know because you gave something a try and it worked. Well, there is a lot about globals that no one here but the dev knows so we are all guessing. You got lucky and something worked one way. Is it the right way? Who knows. Then why do I say what I say? Because I was told it was the way it was supposed to work. What, you mean in 154 pages something might have been said by the dev that you don't know and I might? Yep. Like I said, I've been here since page 1. Am I right where you are wrong? Who cares, but what you said in your first post was wrong so I wanted to correct it. Does it matter? Nope, not really. I just haven't seen you here answering anyone's questions in the first place so eventually, you will just disappear. Me, I'll probably still be here answering questions.

    Oh, as for testing what you said for me to test. Why would I. You still didn't do it right. I've tested the correct setup of the global/world relationships and I know they work but I'm pretty sure that doesn't matter to you. You just want to argue about it and try to fling insults. Well, go ahead. I really am done this time.
     
  10. Offline

    kyle772

    Your a troubleshooter a thanks is the fact that they don't say thanks, if they don't come back than that means what you said is correct and if I were you, knowing that I helped someone fix a problem they have been working at would be thanks enough. I never said you had followers I was simply suggesting you didn't want to be wrong, a simple "no I'm not" would have sufficed. If you aren't right all the time then why are you trying to prove me wrong on an alternative way to bypass a recent bug? If you have no immediate proof against how I am wrong then don't tell me I am wrong, and if you do have proof showing me that proof would be better than saying "herp derp you're wrong and I don't even know why!" you're not helping anybody by saying I'm wrong. That is like when someone comes in here say "I have a problem" and doesn't say what it is where it's at or whether or not it pertains to the subject at matter or not.

    This is an alternative until the bug gets fixed, the last 154 pages do noting for you, now if it were to be in the last 10 pages maybe but from what you have said you know the correct way when the correct way is unavailable because of a bug. I am showing a work around and you are trying to prove me wrong when it isn't needed. I also realize I haven't been here helping people, I made an account on bukkit so I could let all of you know that there us a working work around that doesn't make your permissions set up broken if you have a misplaced line somewhere. Usually this misplaced line would do nothing but now it is doing something and there is the fix for it.

    In the paragraph before your last one you stated "You got lucky and something worked one way. Is it the right way? Who knows. Then why do I say what I say? Because I was told it was the way it was supposed to work" again if my way works then why fix it? My father always told me growing up that if something isn't broken then don't fix it. So no matter how well it works, if it works leave it be. That means don't reply saying "Don't use this method" if it has been tested and works, there is no reason for that and it is completely unnecessary.

    You don't have to reply but at least read it, it doesn't matter how old you are you can still learn a few lessons from a 15 year old (no I am not talking about permissions when I say that either, I was referring to the above paragraph.)

    Edit: Also me calling you stubborn isn't an insult, being stubborn means you are confident in what you believe whether it be right or wrong. That is a good thing, but all good things have bad shadows. In other words if you drink a lot of milk it will help grow your bones but you will most likely feel like shit because of the large amount of lactose in your system.
     
    Jeyge likes this.
  11. Offline

    Jeyge

    @kyle772
    Damn, drawn back in again but not on points this time.
    Almost everything I know here has been learned from someone over half my age or even younger. The dev on Permissions who has taught me a lot is only 14 himself. I'm always willing to learn from anyone and pass that knowledge on to others as long as it is about Permissions. Being called a Gold Digger by a Moderator on this board has prevented me from posting in too many topics.

    You sure nailed that one on the nose. But that is a complete depressing story that you really don't ever want to have to live. BTW - I'm the way I am from being a programmer for over 22 years as a professional and programming for another 10 before that.

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

    majsman12

    is this for 1.7.2??
     
  13. Offline

    Jeyge

    See the wiki FAQ.
     
  14. Offline

    kyle772

    Thats how most programmers and engineers end up, I will probably be that way in the future to which kinda blows. It's usually because they have higher understanding of things compared to the average person. Computer wise of course, but in 10 years that is probably going to be the only way people interact so maybe it wont be as bad as it can get now.
     
  15. i am getting alot of :
    Code:
    [SEVERE] Error occurred while selecting permissions user config type. Reverting to default creator.
    
    what does this mean ?
     
  16. Offline

    nooel

    Pls help!
    My groups config:

    groups:
    Rab:
    default: true
    info:
    prefix: '&0Rab&f'
    suffix: ''
    build: false
    inheritance:
    Tag:
    default: false
    info:
    prefix: '&bTag&f'
    suffix: ''
    build: true
    inheritance:
    - Rab
    permissions:
    - 'warpplugin.warp'
    - 'econplugin.basic.*'
    - 'homesweethome.home'
    - 'homesweethome.home.set'
    - 'lockette.create.all'
    Vip:
    default: false
    info:
    prefix: '&bV.I.P.&f'
    suffix: ''
    build: true
    inheritance:
    - Rab
    - Tag
    permissions:
    - 'warpplugin.warp'
    - 'econplugin.basic.*'
    - 'commandbook.weather'
    - 'commandbook.teleport'
    - 'commandbook.teleport.other'
    - 'commandbook.time'
    Moderator:
    default: false
    info:
    prefix: '&2Moderator&f'
    suffix: ''
    build: true
    inheritance:
    - Tag
    - Rab
    - Vip
    permissions:
    - 'modplugin.ban'
    - 'modplugin.kick'
    - 'modplugin.unban'
    - 'iWarning.warn'
    - 'iWarning.*'
    - 'commandbook.weather'
    - 'commandbook.teleport'
    - 'commandbook.teleport.other'
    - 'commandbook.broadcast'
    - 'commandbook.kick'
    - 'commandbook.time'
    Admins:
    default: false
    info:
    prefix: '&4Admin&f'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'​


    And i press right button:
    Képkivágás.PNG
    :mad::'(
    Thanks...!
     
  17. Offline

    alryaz

    Add yourself to users.yml first -.-
    And interact: true under build
     
  18. Offline

    alryaz

    How come iChat was broken due to blank suffix/prefix generation in Permissions? Each time I use iChat, it graps prefix/suffix from users.yml, not groups.yml, even though users.yml has prefix: '' on each, and each time I delete it, prefix shows up. Fix?
     
  19. Offline

    Damn_Reality

    i cant place blocks when i use the permissions:

    Groups:
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    Builder:
    default: false
    info:
    prefix: '[Builder]'
    suffix: '[>.<]'
    build: true
    inheritance:
    - Default
    permissions:
    - warpplugin.warp
    - econplugin.basic.*
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - modplugin.ban
    - modplugin.kick
    - modplugin.unban
    Admins:
    default: false
    info:
    prefix: '[GOD]'
    suffix: '[0.0]'
    build: true
    inheritance:
    permissions:
    - '*'
    Member:
    permissions:
    inheritance:

    Users:
    users:
    Damn_Reality:
    groups:
    - ?,Admin
    permissions:
    - '*'
    ThaNoob:
    info:
    prefix: '&4'
    groups:
    - Moderator
    permissions:
    FriendB:
    groups:
    - Moderator
    permissions:
    - warpplugin.manage.*
    NewGuy:
    groups:
    - Guest
    Herpina:
    groups:
    - Member
    Derpina:
    groups:
    - Member
     
  20. Offline

    Kararty

    Here we go again! My problem is yet not fixed...no one has solved it...But it seems that Global Groups and Global Users don't work...so...can i delete them? (GlobalGroups and GlobalUsers?)
     
  21. Offline

    Damn_Reality

    i can use the commands but i cant build without using world edit :/
     
  22. Offline

    user_80273

    Hi, can anyone help. I have tried to use a YAML parser but can't work out hw to rectify this error for my permissions log.

    Code:
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.list'
                - 'essentials.depth'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'iconomy.payment'
                - 'iconomy.rank'
                - 'iconomy.list'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'citizens.trader.stock'
                - 'citizens.blacksmith.repair'
                - 'citizens.use.trader'
                - 'citizens.use.healer'
                - 'citizens.use.blacksmith'
                - 'citizens.use.wizard'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.balance.use'
                - 'essentials.signs.warp.use'
                - 'essentials.signs.free.use'
                - 'essentials.worth'
                - 'essentials.balance'
                - 'essentials.pay'
                - 'choptree.chop'
                - 'mcmmo.regeneration'
                - 'mcmmo.commands.ability'
                - 'mcmmo.skills.*'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.herbalism'
    
    Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: True
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.rules'
                - 'essentials.list'
                - 'essentials.depth'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'iconomy.payment'
                - 'iconomy.rank'
                - 'iconomy.list'
                - 'essentials.getpos'
                - 'essentials.compass'
                - 'citizens.trader.stock'
                - 'citizens.blacksmith.repair'
                - 'citizens.use.trader'
                - 'citizens.use.healer'
                - 'citizens.use.blacksmith'
                - 'citizens.use.wizard'
                - 'essentials.signs.trade.use'
                - 'essentials.signs.buy.use'
                - 'essentials.signs.sell.use'
                - 'essentials.signs.balance.use'
                - 'essentials.signs.warp.use'
                - 'essentials.signs.free.use'
                - 'essentials.worth'
                - 'essentials.balance'
                - 'essentials.pay'
                - 'choptree.chop'
                - 'mcmmo.regeneration'
                - 'mcmmo.commands.ability'
                - 'mcmmo.skills.*'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.ability.herbalism'
        Donator:
            default: false
            Info:
            Prefix:
            Suffix:
            Build: true
            Inheritance: Member
            permissions:
                - 'multiverse.tp'
                - 'essentials.sethome'
                - 'essentials.home'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'bb.admin.'
                - 'bb.admin.rollback'
                - 'bb.admin.watc'
                - 'bb.admin.cleanse'
    users:
      AndyTH88:
        group: 'Admins'
        permissions: ''
    
    
    Thank you VERY much :)
     
  23. Offline

    Riddle

    What prefix plugin should i use to add prefixes to each specific group?
     
  24. Luckily, it's doable with a lot of screwing around in prefixes and suffixes.
    I unfortunately have OVER 9000! extra groups now.
     
  25. Offline

    zaklampje

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: '&7[Guest]'
                suffix: ''
                build: false
                rank: 1
            inheritance:
            permissions:
            - commandbook.who
            - commandbook.spawn
        Player:
            default: false
            info:
                prefix: '&6[Player]'
                suffix: ''
                build: true
                rank: 2
            inheritance:
            permissions:
            - commandbook.who
            - commandbook.rules
            - commandbook.motd
            - commandbook.spawn
            - commandbook.msg
            - commandbook.clear
            - commandbook.time.check
            - simplewarp.list
            - simplewarp.warp
            - myhome.home.soc.*
            - myhome.home.basic.*
            - lockette.user.create.*
            - falsebook.blocks.*
            - falsebook.destroy.blocks
            - BOSEconomy.common
            - iConomyChestShop.shop.create
            - iConomyChestShop.shop.create.<id>
            - iConomyChestShop.shop.exclude.<id>
            - iConomyChestShop.shop.buy
            - iConomyChestShop.shop.sell
            - iConomyChestShop.command.iteminfo
            - mxRingplatform.use
        Mini-Mod:
            default: false
            info:
                prefix: '&9[Mini-Mod]'
                suffix: ''
                build: true
                rank: 3
            inheritance:
            - Player
            permissions:
            - permissions.promote.Player
            - permissions.demote.Player
            - commandbook.kick
            - magiccarpet.*
            - falsebook.cart.*
            - mxRingplatform.nowait
            - mxRingplatform.create
        Moderator:
            default: false
            info:
                prefix: '&1[Moderator]'
                suffix: ''
                build: true
                rank: 4
            inheritance:
            - Mini-Mod
            permissions:
            - commandbook.give
            - commandbook.give.other
            - commandbook.give.infinite
            - commandbook.give.stacks
            - commandbook.give.stacks.unlimited
            - worldedit.superpickaxe
            - worldedit.region.set
            - worldedit.wand
            - worldedit.region.replace
            - worldedit.region.move
            - worldedit.region.overlay
            - worldedit.region.smooth
            - worldedit.region.faces
            - worldedit.history.undo
            - worldedit.history.redo
            - worldedit.selection.hpos
            - worldedit.selection.pos
            - rocketboots.boots.gold
            - commandbook.spawnmob
            - commandbook.teleport
            - commandbook.teleport.other
            - commandbook.teleport.return
            - commandbook.mute
            - commandbook.bans.ban
            - commandbook.bans.unban
            - commandbook.bans.isbanned
            - simplewarp.add
            - simplewarp.remove
            - lockette.admin.break
            - lockette.admin.bypass
            - lockette.admin.snoop
            - SimpleGodMode.isGod
        Admin:
            default: false
            info:
                prefix: '&2[Admin]'
                suffix: ''
                build: true
                rank: 5
            inheritance:
            permissions:
            - '*'
        Owner:
            default: false
            info:
                prefix: '&4[Owner]'
                suffix: ''
                build: true
                rank: 6
            inheritance:
            permissions:
            - '*'
    tracks:
        Player:
        - Guest
        - Player
        Guest:
        - Player
        - Guest
    I can promote, but my moderators and Minimods can't...
     
  26. Offline

    Soulstormer

    This one works in Permissions 2.7.4 but dosn't in 3.1.6 (it was made for 3.1.6). The inheritances seem to be buggy, as NordWarrior I got anything a member got but nothing a Nord or a Human got.
    Show Spoiler
    groups:
    Guest:
    default: true
    info:
    prefix: '[Guest] '
    suffix: ''
    build: false
    inheritance:
    Member:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'mcmmo.commands.ability'
    - 'mcmmo.commands.party'
    - 'mcmmo.commands.whois'
    - 'mcmmo.chat.partychat'
    - 'mcmmo.ability.excavation'
    - 'mcmmo.ability.mining'
    - 'mcmmo.ability.woodcutting'
    - 'mcmmo.skills.excavation'
    - 'mcmmo.skills.herbalism'
    - 'mcmmo.skills.mining'
    - 'mcmmo.skills.repair'
    - 'mcmmo.skills.woodcutting'
    Humans:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - 'mcmmo.ability.swords'
    Nord:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Humans
    permissions:
    - 'mcmmo.ability.axes'
    - 'mcmmo.skills.axe'
    NordWarrior:
    default: false
    info:
    prefix: '[Nord] '
    suffix: ' [Warrior]'
    build: true
    inheritance:
    - Nord
    permissions:
    - 'mcmmo.skills.sword'
     
  27. Offline

    Zaila

    Not working, only getting the message "[Permissions] User not in specified group".
     
  28. Offline

    majsman12

    so is this for 1.7.3 ?
     
  29. Offline

    Jeyge

    Something is wrong in your storageconfig.yml file.

    @nooel
    Can't tell much from your groups.yml file since it wasn't placed in code tags but I would guess you have an older version of CraftBook. If this is true, either update it or add craftbook.mech.cauldron to your permissions.
    iChat or any of the other chat plugins out there actually don't choose where to get their prefixes and suffixes from. They just request them and Permissions hands them over. Which one they get is controlled by the user. They will look for the tags first in the users.yml file then move up to the groups.yml file. And finally to the globalgroups.yml file. Post your permissions yml files if you think this isn't working correctly.

    @Damn_Reality
    I can't tell a lot from your files because you didn't post them in code tags but it looks like you assigned yourself a group of "?,Admin" when I think you just want "Admins".
    You may delete them but the files will come back empty again.
    Member: needs to be moved over 4 extra spaces and the blank line above it needs to be removed. Your Donator group seems to have run into the shift key and had its info, prefix, suffix, build and inheritance capitalized when it shouldn't. The prefix, suffix and build all from Donator need to be moved over 4 spaces. That should get you much closer.
    Like something to automatically do it? I'm not sure there is one. I just add them to the groups.yml file by hand and do a "/pr -reload all".
    You'll need to use 3.1.5b for the promote/demote permissions to work. 3.1.6 picked up a couple changes from the Command Restructuring on of which included deleting the line that checks individual permissions for those commands.
    I can't tell a whole lot from it since it wasn't placed in code tags but it doesn't look like there is anything wrong. What are the errors you are getting?
    What exactly are you typing and what version of Permissions do you have? Also, could you post your groups.yml file.
    I don't see a 1.7.3 build yet.
     
  30. Offline

    Stodo

    Yes

    Code:
    ##
    # Permissions has AntiBuild, which prevents a player from destroying/placing blocks.
    # To prevent a group of players then set the build: flag to false (build: false).
    # If you want a group to be able to build then set it to true.
    ##
    # Groups can inherit from other groups.
    #  To make a group inherit the permissions and info nodes from another
    #  group, simply place the groups name in the "inheritance:" like so:
    #
    #  Example:
    #      inheritance:
    #          - Default
    ##
    #  Wildcard Permission settings:
    #
    #      You can have wildcard nodes which encompass all nodes that match it.
    #      For example, the node "modplugin.*" matches "modplugin.kick", "modplugin.ban",
    #      "modplugin.settings.view", and so on.
    #
    ##
    #  A single asterisk means that this user/group has all permissions.
    #      - '*'
    ##
    #  Negated nodes are created by prefixing a normal node with "-".
    #  They prevent less specific wildcard nodes from matching the negated node.
    #  For example:
    #
    #  permissions:
    #      - 'foo.*'
    #      - '-foo.bar'
    #
    #  In this case, the user/group will have "foo.foo", "foo.foobar", and so on, but not "foo.bar".
    #
    ##
    #  prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #  such as iChat or HeroChat in order for these to do anything.
    ##
    #
    #  For more info, visit https://github.com/TheYeti/Permissions/wiki/Guide-to-creating-YAML-configs
    #
    ##
    
    groups:
        Default:
            default: true
            info:
                prefix: '[Guest]'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - "warpy.warp"
                - "warpy.list"
        Basic:
            default: false
            info:
                prefix: '[Basic]'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'tpp.request'
                - 'iConomy.access'
        Advanced:
            default: false
            info:
                prefix: '[Advanced]'
                suffix: ''
                build: true
            inheritance:
                - Basic
            permissions:
                - 'warpy.add'
                - 'warpy.remove'
                - 'worldguard.region.claim'
                - 'worldguard.heal'
        VIP:
            default: false
            info:
                prefix: 'VIP'
                suffix: ''
                build: true
            inheritance:
                - Advanced
            permissions:
            - 'worldguard.god'
            - 'worldguard.ungod'
        Police:
            default: false
            info:
                prefix: '[Police]'
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    When I load permissions I get this error:
    [SEVERE][Permissions] Unable to load permission data.
    [SEVERE][Permissions] Shutting down Permissions due to error<s>.
    [INFO][Permissions] <Yeti> was initialized.
    [INFO][Permissions] <Yeti> disabled succesfully.

    The only thing I have changed is this group file under permissions->world->groups

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Sep 9, 2018
  31. Code:
    permissions:
        storage:
            type: SQL
            dbms: 'MYSQL'
            uri: 'jdbc:mysql://localhost:3306/mc_permissions' # Change Port if Needed
            username: 'root'
            password: ''
    
    This is my storage file..i dont see anything wrong with it...its the default settings....
    The database exists, and the user/pass are correct
     
Thread Status:
Not open for further replies.

Share This Page