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

    Luckz

  3. Offline

    ACStache


    from the looks of it you're inheriting Default in Moderators, but there is no group titled Default. You changed the title to Citizens, which is the default group for people joining the server, but not - Default which you're trying to inherit.

    also I'm not sure what happens when you do this, but inheriting stuff when you already have - '*' as permissions means you have duplicate permission nodes and could screw stuff up. not entirely sure though.
     
  4. Offline

    Tiernan Watson

    Look go download the latest Permissions and you'll see all you will get is the Permissions.jar, PermissionsSql.jar and RENAME-ME with users.yml and groups.yml. That is exactly what I have.

    EDIT: I misunderstood you, I now know what you mean. Sorry.
     
  5. Offline

    Jeyge

    Do you really think I'm not aware of what is in those files by now? Really? Now it took a very long time but I finally got you to post your server.log and guess what, you aren't running Permissions. You have GroupManager. I'm sorry if you don't believe this is true but your server.log doesn't lie unless you are going to say you edited it. If you really believe you want to run Permissions, feel free to remove GroupManager and the bridge and start over with Permissions otherwise, have fun with GroupManager.

    Edit - Okay
     
  6. Offline

    Pim1234

    for some reason this doesn't work
    i can't build or anything!
    here is my config:

    Code:
    users:
        pim16aap2:
            groups:
                - King
            permissions:
    Code:
    groups:
    
        Slave:
            Default: true
            info:
                prefix: 'Slave'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'iconomy.acces'
                - 'simplechestlock.lock'
                - 'zc.chickenswarm'
                - 'spawnx.spawn'
                - 'iconomy.payment'
        Citizen:
            Default: false
            info:
                prefix: 'Citizen'
                suffix: ''
                build: true
            inheritance:
                - Slave
            permissions:
                - 'bof.*'
                - 'bog.*'
                - 'homex.*'
                - 'MobBounty.mb'
                - 'passwordprotect.nopassword'
                - 'appleseed.plant.apple'
                - 'citizens.use.*'
                - 'citizens.modify.*'
                - 'iconomy.bank.*'
                - 'elevators.builder'
                - 'scavenger.scavenge'
                - 'factions.participate'
                - 'jobs.join.*'
                - 'jobs.world.world'
        Merchant:
            Default: false
            info:
                prefix: 'Merchant'
                suffix: ''
                build: true
            inheritance:
                - Slave
                - Citizen
            permissions:
                - 'iconomy.list'
                - 'iconomy.rank'
        Nobleman:
            Default: false
            info:
                prefix: 'Nobleman'
                suffix: ''
                build: ture
            inheritance:
                - Slave
                - Citizen
                - Merchant
            permissions:
                - 'headblocks.self'
                - 'appleseed.*'
                - 'chaircraft.sit'
                - 'admincmd.time.set'
                - 'admincmd.tp.to'
                - 'admincmd.tp.players'
                - 'admincmd.player.heal'
                - 'factions.create'
                - 'factions.disband'
        VIP:
            Default: false
            info:
                prefix: 'VIP'
                suffix: ''
                build: true
            inheritance:
                - Slave
                - Citizen
            permissions:
                - 'chaircraft.sit'
                - 'headblocks.self'
                - 'appleseed.*'
                - 'admincmd.time.day'
                - 'admincmd.item.repair'
                - 'admincmd.weather.clear'
                - 'admincmd.weather.storm'
                - 'factions.disband'
        King:
            Default: false
            info:
                prefix: 'King'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
     
  7. Offline

    tommydrum

    Um, i have a horrible issue where antibuild wont let anyone from anygroup build AT ALL, only thing i can do to somewhat build is use WorldEdit, Permissions doesnt have any error, nor anything else, and my config is set right, so PLEASE help.

    Just in case i put the pastebin here: http://pastebin.com/q0UcfgY6
     
  8. Offline

    SlickTheNick

    maybe im just a noob, but I find the commands (or at least the instructions for the commands) hard to figure out. Also even though I am set as an admin, no matter what I do all i get is "you do not have permission to use that command"
     
  9. Offline

    Haggard433

    How can I create Tracks using MYSQL?
     
  10. Offline

    Azurini

    This is my groups file. I just finished doing it and I just want to know if it will actually work on my server.
    Plugins:
    Citizens
    Essentials
    Higherexplosives
    Permissions

    Code:
    groups:
      Guest:
        default: true
        permissions: []
        inheritance: []
        info:
          prefix: '&e'
          build: false
          suffix: ''
      Owner:
        default: false
        permissions:
        - '*'
        inheritance: []
        info:
          prefix: ''
          build: true
          suffix: ''
      Noob:
        default: false
        permissions: []
        inheritance: []
        info:
          prefix: ''
          build: true
          suffix: ''
      Admin:
        default: false
        permissions:
        - 'essentials.item-all'
        - 'essentials.give-all'
        - 'essentials.item'
        - 'essentials.give'
        - 'essentials.signs.prtoection.create'
        - 'essentials.signs.protection.use'
        - 'essentials.signs.free.create'
        - 'essentials.signs.free.use'
        - 'essentials.signs.disposal.create'
        - 'essentials.signs.disposal.use'
        inheritance: Builder
        info:
          prefix: ''
          build: true
          suffix: ''
      Super_Admin:
        default: false
        permissions:
        - 'essentials.signs.warp.create'
        - 'essentials.signs.warp.use'
        - 'essentials.ban'
        - 'essentials.tempban'
        - 'essentials.banip'
        - 'essentials.mute'
        - 'essentials.kick'
        - 'essentials.unban'
        - 'essentials.unbanip'
        - 'essentials.god'
        - 'essentials.weather'
        - 'essentials.spawn'
        inheritance: Admin
        info:
          prefix: ''
          build: true
          suffix: ''
      Builder:
        default: false
        permissions:
        - 'essentials.item-all'
        - 'essentials.item'
        - 'essentials.give-all'
        - 'essentials.give'
        - 'essentials.home'
        - 'essentials.sethome'
        inheritance: []
        info:
          prefix: ''
          build: true
          suffix: ''
      
    So Im planning on using this set of permissions on my server.
    Will it Work?
    If any of the nodes look weird then tell me. Also I dident know about the whole inheritance thing so tell me if that looks weird too
     
  11. Offline

    Teffan

    Ok 2 questions,

    Why is there such a complicated long winded command to promote people?! You have to type load of things in to do it and it just seems really excessive. Is it not possible to do something like /promote <name> <world>

    The other question i have, is it possible to use global users as it doesn't seem to work for me. I have no need for world specific permissions and this also means I would only have to promote once rather than twice!

    Teffan~
     
  12. Offline

    Jeyge

    And the moral of the story is that if you try to help and you don't answer all of this users questions, you might as well not even post because it is just a waste of everyone time.
     
  13. Offline

    Darkone003

    So, I've been using permissions for awhile with no problems, however we have a user on our server with a period in the middle of his name, and for some reason we can't give him permissions or anything, any ideas? thanks! (Yes formatting is correct I've checked several times)

    EDIT: using 3.1.4
     
  14. Offline

    Tiernan Watson

    Geeze, calm down, re-read my post. It was all a misunderstanding.
     
  15. Offline

    Bunnizor

    My server has a problem, for most plugins it says "an internal error occurred while attempting to perform this command", and people have said it is because of Essentials or Permissions, and I would like to know how to fix this!
     
  16. Offline

    bushingenna

    is thre anyting i need to put in storageconfig? becuase i did everything on every guie and this still does not work
     
  17. Offline

    Jeyge

    There, I guess redacted text makes it okay to just post whatever you want.
     
  18. Offline

    cholo71796

    I think you should be able to do it like this:
    Code:
    'some.dude.with.periods.in.his.name':
     
  19. Offline

    seraluca

    Ellow guys~!

    I'm sitting on this server for me and some friends for at least 6 hours now. It's my first with plugins so it was a lot of trouble shooting... last problem comes with permissions.
    I've reinstalled everything, with permissions as the first one (heard that makes a difference).
    I've ran my files thru that Online YAML Parser so many times and I can't seem to find what I'm missing... (the parser doesn't either)
    I've also tried deleting GroupManager (folder and .jar) which gave me an error (didn't find groupmanager or something). It's back in my plugins now.

    Please someone help me, I'm about to eat my keyboard... :°[

    groups.yml
    Code:
    groups:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.[warpname]'
                - 'essentials.msg'
        GAU:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.jump'
                - 'general.teleport'
                - 'essentials.back'
                - 'general.player-info'
                - 'essentials.tp'
                - 'essentials.home'
                - 'essentials.home.others'
                - 'essentials.sethome'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.whois'
                - 'essentials.nick'
                - 'essentials.ext'
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - GAU
            permissions:
                - 'general.time'
                - 'general.teleport.here'
                - 'essentials.tphere'
                - 'essentials.tpall'
                - 'essentials.setwarp'
                - 'essentials.warp.otherplayers'
                - 'essentials.realname'
                - 'essentials.tempban'
                - 'essentials.kickall'
                - 'essentials.give'
                - 'essentials.item'
                - 'essentials.weather'
        Admins:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
    I've got the same text in groups, globalGroups and groups in x_nether

    users.yml
    Code:
    users:
        benjadoll:
            groups:
                - Admins
            permissions:
        Gurkenwasser:
            groups:
                - GAU
            permissions:
        nelo1984:
            groups:
                - GAU
            permissions:
    Will add more users, as soon as it works. '_'

    I've got the same text in globalUsers, users and users in x_nether folder.

    storageconfig:
    Code:
    permissions:
        storage:
            type: YAML
    My log:
    Code:
    148 recipes
    16 achievements
    23:34:09 [INFO] Starting minecraft server version Beta 1.6.6
    23:34:09 [INFO] Loading properties
    23:34:09 [INFO] Starting Minecraft server on *:25565
    23:34:09 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-823-
    gb9d0b04-b860jnks (MC: 1.6.6)
    23:34:10 [INFO] Preparing level "kuro ist doof"
    23:34:10 [INFO] Preparing start region for level 0
    23:34:10 [INFO] Preparing start region for level 1
    23:34:11 [INFO] Preparing spawn area: 44%
    23:34:11 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    23:34:11 [INFO] Loaded EssentialsChat build 2.2.8 by Zenexer, ementalo, Aelux, B
    rettflan, KimKandor, snowleo and ceulemans.
    23:34:11 [INFO] Loaded EssentialsGeoIP build 2.2.8 by Zenexer, ementalo, Aelux,
    Brettflan, KimKandor, snowleo and ceulemans.
    23:34:11 [INFO] This product includes GeoLite data created by MaxMind, available
     from http://www.maxmind.com/.
    23:34:11 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10
    minutes!
    23:34:11 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    23:34:11 [INFO] Fake Permissions version 2.5.1 is enabled!
    23:34:11 [INFO] Loaded EssentialsProtect build 2.2.8 maintained by Zenexer, emen
    talo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    23:34:11 [INFO] Loaded EssentialsSpawn build 2.2.8 maintained by Zenexer, ementa
    lo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    23:34:11 [INFO] Fake Permissions version 3.1.5 is enabled!
    23:34:11 [INFO] [Permissions] SQL Interface enabled!
    23:34:11 [INFO] Done (0,180s)! For help, type "help" or "?"
    >
    Extra info:
    My Permissions folder contains:
    servername folder (users.yml, groups.yml in it), servername_nether folder (users.yml, groups.yml in it), globalUsers.yml, globalGroups.yml, storageconfig

    and no, I didn't call them "servername" ;3
     
  20. Offline

    Tiernan Watson

    I honestly don't know hat I have done to annoy you.
     
  21. Offline

    Jeyge

    I'm not even remotely annoyed with you. I have a feeling you read what I wrote wrong. Now for others in the thread, that is a completely different story. Oh, and by the way, when I wrote my message, I hadn't seen your edit.
     
  22. Offline

    bushingenna

    plz help i get this whenever i try to do anything involving mcMMO, Permissions has never worked for me and I've followed every single guide out there.
     

    Attached Files:

  23. Offline

    Tiernan Watson

    Ok I'm sorry, I did read what you said wrong, I understand it all now. I have uninstalled Permissions and am using Group Manager over and out. :)
     
  24. Offline

    spongbobrules

    My server currently has two worlds, one world (called "world") is freebuild where I give some users /item and /give commands and other privileges and the other (called "town") is a survival where no one has any /item commands or ability to bypass lockette, etc.

    My understanding is that the group.yml and user.yml files for each world override the globalgroup.yml and globaluser.yml files.

    Knowing this, I have four groups (Everyone, Regular, Admin, Owner) in my globalgroup.yml file and Regular and Admin have those permissions I talked about above. I knew for the time being that I wanted only myself to have those permissions on the survival world so I did this for the town's group.yml file.

    Code:
    groups:
        Everyone:
            default: true
            info:
                prefix: '&f'
                suffix: ''
                build: true
            inheritance: null
            permissions:
                - 'help'
                - 'version'
                - 'motd'
                - 'servertime'
                - 'accept'
                - 'players'
                - 'essentials.help'
                - 'essentials.spawn'
                - 'essentials.world'
                - 'essentials.portal'
                - 'ownblocks.use'
                - 'lockette.user.create.*'
        Owner:
            default: false
            info:
                prefix: '&2[Owner] '
                suffix: ''
                build: 'true'
            inheritance: null
            permissions:
                - '*'
    Even though I made the group.yml file like this and I'm the only listed Owner, one of the players has permissions for those /item, /give, and bypass commands on the survival world. On the freebuild world, he is listed as an Admin and yet on this survival world, where he shouldn't have any permissions, he still has permissions as though he is listed as an Admin.

    Has anyone had this problem? And do you know how I can fix it?
     
  25. Offline

    Radar

    Permissions disables itself whenever my server starts and I receive this in the console;

    Permissions: (Yeti) was initialized.
    CONSOLE: NoWeather version 1.4 is enabled!
    Permissions: (Yeti) disabled successfully
    Permissions: (Yeti) disabled successfully.
    CONSOLE: LWCLoaded 132 locale strings (0 overrides)
    Permissions: (Yeti) disabled successfully

    I have everything correctly installed and formatted, Help me out please.
     
  26. I have a probably "stupid" question.
    I have updated to a higher version than 2.x, so do i have to rewrite every file to a new users and group file?
    Had a lot of worlds so....
     
  27. Offline

    Donny

    Any way to make this not create a user permissions for each user that joins? It makes my permissions file huge (10k lines in a few days) and then it lags/freezes server when attempting to shutdown/restart.


    Nvm I just cleaned it up. It seems to just be permissions not closing, makes it so teh server never stops/restarts only freezes.

    Could have sworn I attempted the latest version, guess not. Cuz it worked. ;)
     
  28. Offline

    Azurini

    Any Help? I tried experimenting with my friends and its wierd. Sometimes they can break blocks and sometimes they cant. And they cant spawn items period.
     
  29. Offline

    z_neumann

    Ok I got a problem nobody on my server can build except ops. Heres my permissions code.
    Code:
    ##
    # AntiBuild is included with this.  To disable a group from being able to build then
    # set the build: flag to false (build: false).  If you want a group to be able to build
    # then set it to true.
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:" like so:
    #
    #   Example:
    #       inheritance:
    #           - Default
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'foo.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-foo.bar'
    ##
    #   prefix: and suffix: do not do anything on their own.  You need another outside plugin
    #   such as iChat or HeroChat in order for these to do anything.
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'mcmmo.skills.*'
                - 'nSpleef.admin.*'
                - 'lockette.*'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'featurepack.command.vote'
                - 'featurepack.command.help'
                - 'mcmmo.commands.whois'
                - 'localshops.user.buy'
                - 'localshops.user.sell'
                - 'featurepack.command.vote'
                - 'nSpleef.member.*'
                - 'featurepack.command.time'
                - 'featurepack.command.help'
                - 'featurepack.command.weather'
    
        Donator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'magiccarpet.mc.*'
                - 'magiccarpet.ml'
                - 'mcmmo.skills.*'
                - 'nSpleef.admin.*'
                - 'lockette.*'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'logblock.lookup'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.me'
                - 'logblock.area'
                - 'logblock.area'
                - 'logblock.hide'
                - 'lava.allow'
                - 'ichat.color'
                - 'featurepack.command.vote'
                - 'featurepack.command.help'
                - 'localshops.manager.add'
                - 'localshops.manager.create'
                - 'localshops.manager.destroy'
                - 'localshops.manager.move'
                - 'localshops.manager.remove'
                - 'localshops.manager.select'
                - 'localshops.manager.set'
                - 'localshops.manager.set.owner'
                - 'featurepack.command.vote'
                - 'nSpleef.member.*'
                - 'featurepack.command.time'
                - 'featurepack.command.help'
                - 'featurepack.command.weather'
           Moderator:
        default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'magiccarpet.mc.*'
                - 'magiccarpet.ml'
                - 'mcmmo.skills.*'
                - 'nSpleef.admin.*'
                - 'lockette.*'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'logblock.lookup'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.me'
                - 'logblock.area'
                - 'logblock.area'
                - 'logblock.hide'
                - 'lava.allow'
                - 'ichat.color'
                - 'featurepack.command.vote'
                - 'featurepack.command.help'
                - 'localshops.manager.add'
                - 'localshops.manager.create'
                - 'localshops.manager.destroy'
                - 'localshops.manager.move'
                - 'localshops.manager.remove'
                - 'localshops.manager.select'
                - 'localshops.manager.set'
                - 'localshops.manager.set.owner'
                - 'featurepack.command.vote'
                - 'nSpleef.member.*'
                - 'featurepack.command.time'
                - 'featurepack.command.help'
                - 'featurepack.command.weather'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'magiccarpet.mc.*'
                - 'magiccarpet.ml'
                - 'mcmmo.skills.*'
                - 'nSpleef.admin.*'
                - 'lockette.*'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'logblock.lookup'
                - 'logblock.tool'
                - 'logblock.toolblock'
                - 'logblock.me'
                - 'logblock.area'
                - 'logblock.hide'
                - 'logblock.clearlog'
                - 'logblock.tp'
                - 'logblock.*'
                - 'fltd.disable'
                - 'ichat.color'
                - 'worldguard.region.*'
                - 'worldgurad.god'
                - 'featurepack.command.help'
                - 'featurepack.command.ipv6'
                - 'featurepack.command.time'
                - 'featurepack.command.weather'
                - 'featurepack.admin.help'
                - 'featurepack.command.version'
                - 'featurepack.command.info'
                - 'featurepack.command.reload'
                - 'featurepack.command.god'
                - 'featurepack.command.ungod'
                - 'featurepack.command.day'
                - 'featurepack.command.night'
                - 'featurepack.command.dawn'
                - 'featurepack.command.dusk'
                - 'featurepack.command.sun'
                - 'featurepack.command.rain'
                - 'featurepack.command.thunder'
                - 'featurepack.command.lock'
                - 'featurepack.command.unlock'
                - 'featurepack.command.light'
                - 'mcmmo.tools'
                - 'mmoedit'
                - 'fakemessage.say'
                - 'fakemessage.join'
                - 'fakemessage.leave'
                - 'fakemessage.message'
                - 'fakemessage.*'
                - 'localshops.admin'
                - 'localshops.manager.add'
                - 'localshops.manager.create'
                - 'localshops.manager.destroy'
                - 'localshops.manager.move'
                - 'localshops.manager.remove'
                - 'localshops.manager.select'
                - 'localshops.manager.set'
                - 'localshops.manager.set.owner'
                - 'localshops.free.create'
                - 'localshops.free.move'
                - 'nSpleef.admin.*'
                - 'nSpleef.member.*'
    
    
    Users
    Code:
    {}
    
    Is it the users config file?
     
  30. Offline

    gamerkd

    I joined the forums just to say this:

    This plugin is absolutely ridiculous. There is very little documentation on how to use the damn thing. I've spent the last 2.5 hours trying to figure out the syntax to do a simple promotion!!! I swear I have used every combination of parameters to try to make something remotely close to promoting someone. The closet I got to a display of a proper HELPFUL error message was this: "pr g:Gamerkd w:world parents add trusted world". Which gives me this error:

    1:36:00 [INFO] [Permissions] No world specified. Defaulting to default world.
    1:36:00 [INFO] [Permissions] User not in specified group.

    God knows what that means. I notice that all the users also aren't added the to group I specified as default. You'd think that'd mean they'd be set to that group on first login. But nope.

    And don't give us that crap about complainers. YOU don't know how to properly release a script to the public. Otherwise there wouldn't be all this complaining. After going through almost all of this thread I find us trying to figure out how to use YOUR script when you could simply tell us. Yes, people can report errors and bugs, that would be fine. But when you can't get the plugin to even work or set it up, something is wrong and the developer dropped the ball on this one. Why I don't change to another plugin I don't know. I liked how it was setup in THEORY. But that's all it is, a theory.

    Other complaints:
    I've heard this multiple times too. The promote is too long a command. To quote the dev:

    "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."

    Simple command?!?!? Where the hell is that?! I see a command that has like 8 parameters. That is way to complicated to remember to use on the fly let alone to just guess how it works in the first place.

    Also very little documentation ( like everything else, no surprise) on setting up SQL. I just gave up on that 30 minutes in because I didn't feel it was worth it.
     
Thread Status:
Not open for further replies.

Share This Page