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

    oldmansam

    There appears to be issues with 3.0.6 and MySQL. Permissions doesn't create a default group in the sql database and add the users to it when they are created. By default if a user trys to break a block or even type the /pr command the server throws errors. If you create the group manually in sql and attach the user to a group then the errors go away. Also when I create a group via the chat prompt once I have admin privs it never shows up in the database even though the chat command says sucessful.

    Please let me know if you would like me to help with further diagnosis related to MySQL.

    Bug Tracker link:
    https://github.com/TheYeti/Permissions/issues/88
     
  3. Offline

    Liger_XT5

    Here's something I didn't see int he download .zip.
    IN the Permsisions folder, there is a storageconfig.yml. To me, this was empty. I took a look at the wiki and noticed some stuff that should be there that isn't. I just copied what I needed, which was the simple YML stuff.
    Take a look:
    https://github.com/TheYeti/Permissions/wiki/Storageconfig.yml-Options
     
  4. Offline

    mrgreaper

    the server generated 3 files globalusers globalgroups and storageconfig all 0 byte files i copied the users file into globalusers and same with globalgroups, storageconfig is empty

    still not luck arghhhhhhhhhh 2.0 worked so well, why make it so much more complicated?
     
  5. Offline

    IlliegalMexican

    Two-part post.

    ***Nerd Rage Part***
    Can't you make a plugin that works AT ALL? I removed the quotes, took away the inheritance from null, even did a full re-install of the plugin, and I still have the problem where people that lack * permission can't do a damn thing. I don't know what the patch does to the plugin, but something is obviously damn broken in that coding you have there. Get your shit together and actually HELP US, not just come up with random ass things to "try" that "may or may not work".

    ***Civilized Post***
    Is there something wrong with permissions to where it doesn't work with Minecraft 1.6+? I've tried everything you said to do, and still got the same problem of people getting the message "Do not have permission here". Heres my files again just to make sure.
    Code:
    users:
        IlliegalMexican:
            permissions:
            groups:
                - Default
        llamagoat99:
            permissions: null
            groups: null
        magingmangoe:
            permissions: null
            groups:
                - VIP
        jett56:
            permissions: null
            groups: null
        creatingurmom:
            permissions: null
            groups:
                - VIP
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - dc.do
                - uQuest.CanQuest.*
                - mcmmo.motd
                - mcmmo.chat.partychat
                - mcmmo.commands.ability
                - mcmmo.commands.ptp
                - mcmmo.commands.party
                - mcmmo.commands.whois
                - mcmmo.commands.myspawn
                - mcmmo.commands.setmyspawn
                - mcmmo.ability.woodcutting
                - mcmmo.ability.mining
                - mcmmo.ability.axes
                - mcmmo.ability.excavation
                - mcmmo.ability.swords
                - mcmmo.ability.unarmed
                - mcmmo.ability.herbalism
                - mcmmo.skills.*
                - lottery.buy
                - lockette.user.create.*
                - localshops.user.buy
                - localshops.user.sell
                - 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
                - jobs.join.*
                - icoland.basic.select
                - icoland.basic.info
                - icoland.land.list
                - icoland.land.edit
                - icoland.land.buy
                - icoland.land.sell
                - icoland.misc.canbuild
                - iConomy.access
                - iConomy.list
                - iConomy.payment
                - iConomy.rank
                - chaircraft.sit
                - dc.help
                - dc.who
                - dc.spawn.self.*
                - dc.home.self
                - dc.sethome.self
                - dc.online
                - dc.message.other
                - dc.message.self
        VIP:
            default: false
            info:
                prefix: ''
                suffix: '&1'
                build: true
            inheritance:
            permissions:
                - dc.do
                - uQuest.CanQuest.*
                - mcmmo.motd
                - mcmmo.chat.partychat
                - mcmmo.commands.ability
                - mcmmo.commands.ptp
                - mcmmo.commands.party
                - mcmmo.commands.whois
                - mcmmo.commands.myspawn
                - mcmmo.commands.setmyspawn
                - mcmmo.ability.woodcutting
                - mcmmo.ability.mining
                - mcmmo.ability.axes
                - mcmmo.ability.excavation
                - mcmmo.ability.swords
                - mcmmo.ability.unarmed
                - mcmmo.ability.herbalism
                - mcmmo.skills.*
                - lottery.buy
                - lockette.user.create.*
                - localshops.user.buy
                - localshops.user.sell
                - 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
                - jobs.join.*
                - icoland.basic.select
                - icoland.basic.info
                - icoland.land.list
                - icoland.land.edit
                - icoland.land.buy
                - icoland.land.sell
                - icoland.misc.canbuild
                - iConomy.access
                - iConomy.list
                - iConomy.payment
                - iConomy.rank
                - chaircraft.sit
                - dc.help
                - dc.who
                - dc.spawn.self.*
                - dc.home.self
                - dc.sethome.self
                - dc.online
                - dc.message.other
                - dc.message.self
                - icl.admin.nocost
                - icl.admin.nolimit
                - localshops.create.free
                - localshops.move.free
                - dc.portal.2VIP2
        Donator:
            default: false
            info:
                prefix: ''
                suffix: '&2'
                build: true
            inheritance:
            permissions:
                - dc.do
                - uQuest.CanQuest.*
                - mcmmo.motd
                - mcmmo.chat.partychat
                - mcmmo.commands.ability
                - mcmmo.commands.ptp
                - mcmmo.commands.party
                - mcmmo.commands.whois
                - mcmmo.commands.myspawn
                - mcmmo.commands.setmyspawn
                - mcmmo.ability.woodcutting
                - mcmmo.ability.mining
                - mcmmo.ability.axes
                - mcmmo.ability.excavation
                - mcmmo.ability.swords
                - mcmmo.ability.unarmed
                - mcmmo.ability.herbalism
                - mcmmo.skills.*
                - lottery.buy
                - lockette.user.create.*
                - localshops.user.buy
                - localshops.user.sell
                - 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
                - jobs.join.*
                - icoland.basic.select
                - icoland.basic.info
                - icoland.land.list
                - icoland.land.edit
                - icoland.land.buy
                - icoland.land.sell
                - icoland.misc.canbuild
                - iConomy.access
                - iConomy.list
                - iConomy.payment
                - iConomy.rank
                - chaircraft.sit
                - dc.help
                - dc.who
                - dc.spawn.self.*
                - dc.home.self
                - dc.sethome.self
                - dc.online
                - dc.message.other
                - dc.message.self
                - icl.admin.nocost
                - icl.admin.nolimit
                - localshops.create.free
                - localshops.move.free
                - dc.portal.2VIP2
        Admins:
            default: false
            info:
                prefix: ''
                suffix: '&3'
                build: true
            inheritance:
            permissions:
                - '*'
     
  6. Offline

    CJPetty25

    Code:
    ERROR:
    
    while parsing a block mapping
      in "<unicode string>", line 44, column 1:
        groups:
        ^
    expected <block end>, but found '<block mapping start>'
      in "<unicode string>", line 87, column 2:
         default: false
         ^
    Can Anyone Help?
    This is my full Groups Yml
    Code:
    groups:
        Outsider:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: null
            permissions:
            - essentials.list
            - essentials.afk
            - essentials.motd
            - essentials.mail
            - essentials.mail.send
            - essentials.signs.mail.use
            - essentials.signs.disposal.use
            - essentials.signs.heal.use
            - essentials.signs.buy.use
            - essentials.signs.sell.use
            - essentials.spawn
            - essentials.suicide
            - mcmmo.skills.*
            - mcmmo.ability.herbalism
            - mcmmo.ability.unarmed
            - mcmmo.ability.swords
            - mcmmo.ability.excavation
            - mcmmo.ability.axes
            - mcmmo.ability.mining
            - mcmmo.ability.woodcutting
            - lockette.user.create.*
            - essentials.balance
            - essentials.rules
            - essentials.helpop
            - BetterShop.user.*
            - essentials.help
            - localshops.user.*
            - essentials.back.ondeath
            - assignpermissions.list.all
            - essentials.signs.free.use
            - essentials.signs.warp.use
            - essentials.signs.disposal.use
            - essentials.signs.heal.use
        Peasant:
     default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
            - Outsider
            permissions:
            - bar.foo
            - essentials.home
            - essentials.sethome
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - essentials.sell
            - essentials.pay
            - essentials.info
            - essentials.msg
            - essentials.me
            - essentials.info
            - essentials.msg
            - essentials.nick
            - essentials.realname
            - essentials.clearinventory
            - falsebook.anyic
            - mcmmo.item.chimaerawing
            - mcmmo.commands.party
            - mcmmo.commands.whois
            - mcmmo.commands.myspawn
            - mcmmo.commands.setmyspawn
            - mcmmo.commands.party
            - essentials.kit.*
            - herobounty.locate
            - herobounty.list
            - herobounty.accept
            - herobounty.new
            - realshop.shop
            - realshop.help
            - realshop.check
            - realshop.info
            - realshop.create
            - realshop.delete
            - realshop.give
            - realshop.buy
            - realshop.sell
            - realshop.delete
            - realshop.give
            - realshop.log
            - localshops.manager.*
            - essentials.back
            - falsebook.anyic
     Guard:
            default: false
            info:
                prefix: '&a'
                suffix: ''
                build: true
            inheritance:
            - Peasant
            permissions:
            - bar.foo
            - essentials.mute
            - essentials.setwarp
            - essentials.delwarp
        Knight:
            default: false
            info:
                prefix: '&1'
                suffix: ''
                build: true
            inheritance:
            - Guard
            permissions:
            - bar.foo
            - regios.list
            - regios.info
            - essentials.weather
            - essentials.kick
        Mage:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
            - Peasant
            permissions:
            - bar.foo
            - essentials.broadcast
            - essentials.mute
            - essentials.setwarp
            - essentials.delwarp
            - regios.list
            - regios.info
            - essentials.kick
            - essentials.weather
            - magicspells.learn.blink
            - magicspells.learn.mark
            - magicspells.learn.recall
            - magicspells.learn.combust
            - magicspells.learn.entomb
            - magicspells.learn.forcepush
            - magicspells.learn.heal
            - magicspells.learn.prayer
            - magicspells.learn.telekinesis
            - magicspells.learn.volley
            - magicspells.learn.frostwalk
            - magicspells.learn.windwalk
            - magicspells.learn.safefall
            - magicspells.learn.gills
            - magicspells.learn.list
            - magicspells.learn.help
            - magicspells.learn.forget
        BloodMage:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            - Peasant
            permissions:
            - bar.foo
            - essentials.broadcast
            - essentials.mute
            - essentials.setwarp
            - essentials.delwarp
            - regios.list
            - regios.info
            - essentials.kick
            - essentials.weather
            - magicspells.learn.blink
            - magicspells.learn.mark
            - magicspells.learn.recall
            - magicspells.learn.combust
            - magicspells.learn.explode
            - magicspells.learn.lightning
            - magicspells.learn.wall
            - magicspells.learn.zap
            - magicspells.learn.frostwalk
            - magicspells.learn.windwalk
            - magicspells.learn.safefall
            - magicspells.learn.gills
            - magicspells.learn.telekinesis
            - magicspells.learn.list
            - magicspells.learn.help
            - magicspells.learn.forget
        ArchMage:
            default: false
            info:
                prefix: '&d'
                suffix: ''
                build: true
            inheritance:
            - Peasant
            permissions:
            - bar.foo
            - essentials.broadcast
            - essentials.setwarp
            - essentials.delwarp
            - regios.list
            - regios.info
            - essentials.kick
            - magicspells.learn.blink
            - magicspells.learn.mark
            - magicspells.learn.recall
            - magicspells.learn.combust
            - magicspells.learn.explode
            - magicspells.learn.lightning
            - magicspells.learn.wall
            - magicspells.learn.zap
            - magicspells.learn.frostwalk
            - magicspells.learn.windwalk
            - magicspells.learn.safefall
            - magicspells.learn.gills
            - magicspells.learn.telekinesis
            - magicspells.learn.list
            - magicspells.learn.help
            - magicspells.learn.forget
            - essentials.weather
            - magicspells.learn.entomb
            - magicspells.learn.forcepush
            - magicspells.learn.heal
            - magicspells.learn.prayer
            - magicspells.learn.telekinesis
            - magicspells.learn.volley
       Vampire:
            default: false
            info:
                prefix: '&0'
                suffix: ''
                build: true
            inheritance:
            - Peasant
            permissions:
            - bar.foo
        Lord:
            default: false
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
            - Mage
            permissions:
            - bar.foo
            - raveblox.set
            - raveblox.clear
            - raveblox.sync
            - raveblox.del
            - raveblox.use
            - raveblox.list
            - essentials.ban
            - essentials.unban
            - essentials.banip
            - essentials.unbanip
            - essentials.kickall
            - essentials.invsee
            - essentials.time
            - essentials.tree
            - essentials.bigtree
            - essentials.tp
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.tpahere
            - essentials.tphere
            - essentials.tppos
            - essentials.tpohere
            - assignpermissions.add.all
            - essentials.signs.warp.create
            - essentials.signs.mail.create
            - regios.*
            - essentials.signs.sell.create
            - essentials.signs.buy.create
        DarkLord:
            default: false
            info:
                prefix: '&7'
                suffix: ''
                build: true
            inheritance:
            - BloodMage
            permissions:
            - bar.foo
            - raveblox.set
            - raveblox.clear
            - raveblox.sync
            - raveblox.del
            - raveblox.use
            - raveblox.list
            - essentials.ban
            - essentials.unban
            - essentials.banip
            - essentials.unbanip
            - essentials.kickall
            - essentials.invsee
            - essentials.time
            - essentials.tree
            - essentials.bigtree
            - essentials.tp
            - essentials.tpa
            - essentials.tpaccept
            - essentials.tpdeny
            - essentials.tpahere
            - essentials.tphere
            - essentials.tppos
            - essentials.tpohere
            - assignpermissions.add.all
            - essentials.signs.warp.create
            - essentials.signs.mail.create
            - regios.*
            - essentials.signs.sell.create
            - essentials.signs.buy.create
        King:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
            - Light Earl
            permissions:
            - bar.foo
            - essentials.burn
            - essentials.ext
            - essentials.setjail
            - essentials.deljail
            - essentials.jail
            - essentials.give
            - essentials.item
            - essentials.heal
            - essentials.thunder
            - essentials.tpo
            - BetterShop.admin.*
            - essentials.signs.balance.create
            - essentials.signs.sell.create
            - essentials.signs.buy.create
            - essentials.signs.trade.create
        BloodKing:
            default: false
            info:
                prefix: '&8'
                suffix: ''
                build: true
            inheritance:
            - Dark Earl
            permissions:
            - bar.foo
            - essentials.burn
            - essentials.ext
            - essentials.setjail
            - essentials.deljail
            - essentials.jail
            - essentials.give
            - essentials.item
            - essentials.heal
            - essentials.thunder
            - essentials.tpo
            - BetterShop.admin.*
            - essentials.signs.balance.create
            - essentials.signs.sell.create
            - essentials.signs.buy.create
            - essentials.signs.trade.create
        Owner:
            default: false
            info:
                prefix: '&4'
                suffix: ''
                build: true
            inheritance: null
            permissions:
            - '*'
     
  7. Offline

    mrgreaper

    its telling you where the error is, count 87 lines down, chances are u used a tab and not spaces or u misaligned the text. yml is very very very very stupidly fussy, why it has become a standard for bukkit over xml or even good ol txt i will never know also try using notepad ++ its free and deals with yml much nicer



    **edit**
    yeti anychance of helping me (post 578) or the several hundred people with the same error? please
     
  8. Offline

    sprk1ng

    How can i add a admin for me in-game with this permissions?
     
  9. Offline

    Liger_XT5

    There can not be anything before
    groups:
    the next line, the name of the group, has 4 SPACES.

    default: true
    info:
    inheritance:
    permissions:
    - 'randompermission'
    All has 8 SPACES before them. The

    prefix: ''
    suffix: ''
    build: true/false
    All has 12 SPACES before them. If all the groups are not set like this, random errors will come up. A good example is your Peasant and Guard Groups

    Example of two group:
    Code:
    groups:
        Outsider:
            default: true
                info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
            - essentials.list
        Outsider2:
            default: false
                info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
            - essentials.list
    
    edit: sorry, had to edit a few times to get the spacing count to work :/
     
  10. Offline

    fyrus12345

    When I set a user with the - '*' permission he has access to everything, even if I add - '-example.example' nodes.
    Also apparently when I don't give the - '*' permission, the other - 'example.example' permissions don't work either.
    Please help.

    Code:
        Humans:
            default: false
            info:
                prefix: '&2Human /'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-advbans.*'
                - '-mcmmo.regeneration'
                - '-fishpeople.config'
                - '-fishpeople.lavasafe'
                - '-fishpeople.infiniteair'
                - '-fishpeople.extendedair'
                - '-fishpeople.cantalkunderwater'
                - '-fishpeople.invinciblehelmet'
                - '-godPowers.godmode'
                - '-godPowers.godmodeOnLogin'
                - '-godPowers.die'
                - '-godPowers.slay'
                - '-godPowers.jesus'
                - '-godPowers.heal'
                - '-godPowers.maim'
                - '-godPowers.inferno'
                - '-godPowers.superjump'
                - '-godPowers.zeus'
                - '-groupPvP.denyattack'
                - '-groupPvP.blockgroup'
                - '-gills.admin'
                - '-gills.user'
                - '-gills.unlimited'
                - '-herochat.create'
                - '-herochat.color'
                - '-herochat.admin'
                - '-lockette.admin.create.*'
                - '-lockette.admin.break'
                - '-lockette.admin.bypass'
                - '-lockette.admin.snoop'
                - '-lockette.admin.reload'
                - '-mcmmo.regeneration'
                - '-mcmmo.chat.partychat'
                - '-mcmmo.chat.adminchat'
                - '-mcmmo.commands.ability'
                - '-mcmmo.commands.ptp'
                - '-mcmmo.commands.party'
                - '-mcmmo.commands.whois'
                - '-mcmmo.commands.myspawn'
                - '-mcmmo.commands.setmyspawnother'
                - '-mcmmo.tools.mmoedit'
                - '-mcmmo.tools.mcgod'
                - '-mcmmo.tools.mcrefresh'
                - '-mcmmo.skills.archery'
                - '-mcmmo.skills.swords'
                - '-mcmmo.skills.axes'
                - '-movecraft.*'
                - '-nospawn.allowspawn'
                - '-nospawn.denyspawn'
                - '-nospawn.spawn'
                - '-nospawn.despawn'
                - '-OpenInv.openinv'
                - '-OpenInv.search'
                - '-OpenInv.exempt'
                - '-OpenInv.override'
                - '-simplegive.*'
                - '-SpawnControl.sethome.basic'
                - '-SpawnControl.sethome.proxy'
                - '-SpawnControl.home.basic'
                - '-SpawnControl.spawn.use'
                - '-SpawnControl.spawn.set'
    Humans have all permissions, even though I have - '-example.example' nodes.

    Code:
            permissions:
                - 'movecraft.*'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.commands.party'
                - 'mcmmo.commands.whois'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.ability.*'
                - 'mcmmo.skills.*'
                - 'mcmmo.item.chimaerawing'
                - 'lockette.user.create.*'
                - 'invinciwolf.own'
                - 'bog.*'
                - '-gills.unlimited'
                - '-mcmmo.skills.swords'
                - '-mcmmo.skills.axes'
                - 'groupPvP.blockgroup'
                - 'SpawnControl.groupspawn.use'
                - 'herosneak.auto'
                - 'deny-attack'
                - 'lockette.create.all'
    No permissions at all.
     
  11. Offline

    sprk1ng

    I already give admin for me, but, have a command to edit the group of a player in-game?

    For example, groupmanager have /manuadd <name> <group>.

    And permissions have?
     
  12. Offline

    Jeyge

    Well, I have to assume this was directed at me. Just so you know, I'm just a user of this plugin and not the dev. I just offer my support to try and help but I guess my "random ass things" aren't appreciated by everyone. And after the grief I've received in the last couple days, you can assume you won't receive any more help from me.
     
  13. Offline

    Pantheis

    I've added Permissions 3.0.6 and configured the groups.yml file as follows:

    Code:
    Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - '-worldedit.override.bedrock'
    
    Admins get all permissions but can still superpick bedrock. This should be removing the worldedit.override.bedrock permission, but it doesn't seem to be working. Is this an issue with the permissions plugin or worldedit?

    As a test, I didn't give Admins any permission and worldedit correctly denied them the ability to use anything.
     
  14. Offline

    IlliegalMexican

    I'm just getting frustated with the plugin is all Jeyge, the Civilized part is what was directed towards you.
    Seriously though, it would be nice to have some input from one of the devs of the plugin as to why some of us have these errors... I know at least one of them could MAYBE take a bit of time and come up with a general response as to why this happens.
     
  15. Offline

    bibsch

    is there any way to add users ingame with the new version?
     
  16. Offline

    Takel

    Check the wiki for the chat commands: https://github.com/TheYeti/Permissions/wiki/Chat-Commands

    To add a user:
    /pr <PlayerName> w:<WorldName> create
    The new user will have no set permissions and no group membership.

    To add group membership for a player:
    /pr <PlayerName> w:<WorldName> parents add <GroupName>
     
  17. Offline

    Pantheis

    Code:
    # Derpina is a member of the admin group but does not have access to the derp.derp permission node
    Derpina:
        group: Admins
        permissions:
            - '-derp.derp'
    That does not work. Assuming the Admins group is given the '*' permission, Derpina will still have the derp.derp permission.
     
  18. Offline

    Fluff

    QFT. I got 3.x to work once, but then I had to test plugins with 2.x. Now I can't get 3.x to work again, even after doing everything that's already been suggested. I'm dropping support for 3.x from all my plugins until the developers whip this one back into shape; it's just too damn finicky.
     
  19. Offline

    Maxis010

    I'd recommend moving back to p2 for now, work is being done (BugFix Commit 14 h ago) so wait for 3.0.7 or 3.1.0 and try again
     
  20. Offline

    Pantheis

    I uninstalled 3.0.6 completely and installed 2.7.4 and all of my permission issues are gone. I can assign a global '*' permission to the Admins group and then remove specific permissions, such as '-worldedit.override.bedrock' and it works perfectly.
     
  21. Offline

    pyromanic

    It'd be nice if someone would push the newest source. Not really sure what some of the function parameters are supposed to be (i.e. getInfoInteger replacing getPermissionInteger). There is a new boolean argument that I'm guessing might have something to do with checking for negatives? Hard to tell.
     
  22. Offline

    meggawatts

    getting a weird error on build 818 (see spoiler)

    full server.log: http://pastebin.com/5bvXTUKP

    Show Spoiler
    2011-05-31 22:38:56 [SEVERE] tried to access class com.nijiko.configuration.NotNullConfiguration$NotNullRepresenter from class com.nijiko.configuration.NotNullConfiguration initializing Permissions v3.0.6 (Is it up to date?)
    java.lang.IllegalAccessError: tried to access class com.nijiko.configuration.NotNullConfiguration$NotNullRepresenter from class com.nijiko.configuration.NotNullConfiguration
    at com.nijiko.configuration.NotNullConfiguration.<init>(NotNullConfiguration.java:47)
    at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:112)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:106)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  23. Offline

    RustyDagger

    I for one am glad devs are not upgrading to permissions 3 it seems so buggy and so unstable i'm sticking with permissions 2 for a while yet.
     
  24. Offline

    Jeyge

    Perhaps before quoting someones post which basically rips apart a person who really tries to help as many people as he can, you would want to step back and see if there would be another way to express your frustration. You say you spent 2.5 hours beating your head against a wall trying to get this to work. I've spent a hell of a lot more than that trying to support an unsupported build of CraftBukkit. I may even have spent 2.5 hours just trying to figure out that ungrateful persons problem. The thanks I get for the time I spent on it all is a paragraph ripping me a new one telling me I offer unhelpful suggestions and that paragraph quoted by another plugin dev.

    So seeing as that post "was" directed at me, I will say I'm really sorry for wasting anyone time with my stupid suggestions to your problems running an unsupported build of CraftBukkit and with a buggy release of Permissions that I didn't help write. Hopefully, everyone else will offer better suggestions.
     
  25. Offline

    Fluff

    Perhaps before taking something personally, you would want to step back and check to see if anyone's even talking about you. It's obvious that you've been spending a ton of time trying to help people with this plugin. What's not obvious is why in the world you are spending your time doing so (especially when you know that it's buggy) and why you're taking offense when that quote and all of my frustrated sentiments are directed at the developers. Seeing as you didn't help write it, that doesn't include you.

    In short, it's not all about you; ego trip less please.
     
  26. Offline

    rcjrrjcr

    Calm down guys. I know P3 is extremely buggy. I'm trying to fix these bugs ATM. Fluff, it's fine if you don't want to upgrade to P3. I understand. Jeyge, thanks for all the help, but just let them blame me for it. I deserve it.

    On another note, can some people test this build for me? http://dl.dropbox.com/u/629303/Permissions.jar
     
    Liger_XT5 likes this.
  27. Offline

    Jeyge

    Break down the post that you quoted there Fluff. I was the one that helped him. I was the one that made the suggestions. I know he didn't mean to make it about me but everything he said was about me and no matter how much we try, when something is said like that about you or me, you take it personally. And understand, I didn't mean anything bad about you with what I said. It all falls to the person who posted what they did before thinking about what they were saying.

    @Fluff and @rcjrrjcr - I love helping in these threads as can be seen by the amount of time I put in to them. When I ended up on this forum some month and a half ago, I saw a lot of questions about the Permissions files and decided I would do my best to help out with the problems. I've continued that for some time, but if you go back to the last week or so, you will find a lot of complaints about this and that but the actual problems come down to bugs in their own files. I can only count maybe 3 actual bugs since 3.0.6 came out. That was some 8 pages ago now. That means the rest are 1.6 problems along with using the wrong permissions or spacing problems. I'm still happy to help, but a post like that which clearly identified my help as "random ass things to "try" that "may or may not work"" just sort of hurts.
     
  28. Offline

    staticfactory

    I just updated to Permissions 3.0.6 w/ CB 818. These are literally the only 2 plugins I've got launched on my dev server at the moment.

    After a few kicks at porting my old 2.7.4 yaml over to the new format, I've finally got the plugin loading without any block errors.

    The first comment/question I have relates to the user being auto-added to the user.yml. It appears that this does not happen until the user places/breaks a block (regardless of whether they are able to build or not). Is this by design? It would be nice if the user was added on-join.

    Second, when the user breaks a block (or tries to), they are added to the user.yml file with "groups: null" instead of the default group from groups.yml.

    Should it be of any help, this is the full log:


    Code:
    2011-06-01 01:30:22 [INFO] Starting minecraft server version Beta 1.6.6
    2011-06-01 01:30:22 [INFO] Loading properties
    2011-06-01 01:30:22 [INFO] Starting Minecraft server on *:25565
    2011-06-01 01:30:22 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-766-g3fc0460-b818jnks (MC: 1.6.6)
    2011-06-01 01:30:22 [INFO] Preparing level "World"
    2011-06-01 01:30:22 [INFO] Preparing start region for level 0
    2011-06-01 01:30:23 [INFO] Preparing start region for level 1
    2011-06-01 01:30:23 [INFO] Preparing spawn area: 77%
    2011-06-01 01:30:23 [INFO] [Permissions] (Yeti) was initialized.
    2011-06-01 01:30:23 [INFO] [Permissions] version [3.0.6] (Yeti)  loaded
    2011-06-01 01:30:23 [INFO] Done (0.125s)! For help, type "help" or "?"
    2011-06-01 01:30:27 [INFO] staticfactory [/174.116.xxx.xxx:53510] logged in with entity id 130 at (-3288.1875, 75.0, -150.3125)
    2011-06-01 01:32:32 [INFO] Connection reset
    2011-06-01 01:32:32 [INFO] staticfactory lost connection: disconnect.quitting
    2011-06-01 01:33:00 [INFO] Stopping the server..
    2011-06-01 01:33:00 [INFO] Stopping server
    2011-06-01 01:33:00 [INFO] [Permissions] (Yeti) saved all data.
    2011-06-01 01:33:00 [INFO] [Permissions] (Yeti) disabled successfully.
    2011-06-01 01:33:00 [INFO] Saving chunks
    2011-06-01 01:33:00 [INFO] Saving chunks
    2011-06-01 01:33:00 [INFO] Stopping server
    This is a snippet from the default group from my groups.yml:

    Code:
    groups:
        builder:
            default: true
            info:
                prefix: '&a'
                suffix: ''
                build: true
            inheritance: null
            permissions:
                - 'essentials.spawn'
                - 'essentials.motd'
    And this is a snippet from the users.yml file:


    Code:
    users:
        MrServerOwner:
            groups:
            - operator
            permissions: null
        staticfactory:
            permissions: null
            groups: null
    I can provide the full users/groups files if you believe it's syntax/format related. I've been through them both about a hundred times and I am positive they are correct.

    I would also like to add that the plugin adds users to the user.yml file in a different format than what is provided in the help and the example file in the zip (permissions before groups, as per my example).

    The plugin also auto-re-formatted my user.yml as well:

    I had it formatted like this (as per the help/examples):


    Code:
    users:
        MrServerOwner:
            groups:
                - operator
            permissions:
     
    Don Redhorse likes this.
  29. Offline

    Dragonntiger

    Hey, I read this problem before somehwere but can't seem to find it
    When in-game, my players place blocks down, but it says you do not have permission to do this. :confused: any solution? they're quite frankly annoyed
     
  30. Offline

    Steelstiletto

    I'm having some issues with my server in that only I can use most commands. And even I cannot do anything when in the Nether. I have another user set up as an op and with the same permissions, but even he can't do everything. In specific, my users should be able to use choptree.chop to chop entire trees at once, and scavenger to keep their items upon death, but currently only ops can use choptree and only I can use scavenger (not even other ops or admins). I've uploaded a tar.gz of my entire server folder, any help would be appreciated.

    Server
     
  31. Offline

    rcjrrjcr

    Give them the "craftbook.mech.cauldron" permission.
     
Thread Status:
Not open for further replies.

Share This Page