Inactive [ADMN/DEV] Permissions v2.7.4 (Phoenix) - DISCONTINUED! 3.0 has a new home!

Discussion in 'Inactive/Unsupported Plugins' started by TheYeti, Feb 25, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    TheYeti

    Permissions 2.7.4 (Phoenix) - Now with AntiBuild built in!
    Download:
    Latest Stable: Full Zip | Jar Only
    Latest Dev Build: Full Zip | Jar Only
    Previous Versions: 2.7.3 (JAR) | 2.7.2 (JAR) | 2.7.1 (JAR) | 2.7 (JAR) | 2.6 (JAR) | 2.5.5 (JAR) | 2.5.4 (JAR) | 2.5.3 (JAR) | 2.5.2 (JAR) | 2.5.1 (JAR) | 2.5 (JAR) | 2.4 (JAR) | 2.3 (JAR) | 2.2 (JAR)

    Plugin Authors: How to hook into Permissions

    Permissions 2.x is being discontinued! 3.0 can be found HERE!!!


    I am discontinuing Permissions 2.x and leaving the project. Permissions is not going away though! Since 2.6 I have been working closely with another developer and added them to the team. For the past several version they have not only been assisting with 2.x but also doing a lot of the development of much anticipated 3.x. rcjrrjcr will be taking over as lead developer of Permissions from 3.x forward. I have full faith in them and after working closely with them on the development on the last few version and the next major version I feel that I am leaving this project in more than capable hands. I put way to much work into this project to just leave it with anyone, and this is one of the few programs that I am incredibly proud of.

    Many people will probably wonder why I am leaving again after taking over the project just a few months ago. I could quote drama and headaches, of which there were quite a few with this project. Unfortunately real life happens. Many people already know that I have been having medical issues here lately. Unfortunately while they have gotten better, they have not gone away. This coupled with other real life commitments, going to school full time, and starting up my own company, I am currently in the process of being laid off from work. At this point I have so much stuff going on in my life and am being pulled in so many directions that I am not able to get any work done on anything. This has lead to me missing commitments and letting people down on multiple things.

    Permissions is also a very high maintenance plugin that requires a lot of attention and time. Right now I am not able to devote that time and do not feel it is fair for me to try to continue to be the lead developer on it. I had originally thought that adding other members to the team would be helpful, but unfortunately this just lead to frustration for them and myself as I just was not able to commit to the project enough. Hence, 3.0 has been rewritten almost exclusively by rcjrrjcr with minimal contributions by myself.

    At this point I will be stepping away from the project to focus more on real life and to try to free up some time for other projects and to work with more individual like the wonderful HeroCraft Coding team to fulfill some commitments that I made to them a long time ago and sadly did not come through on. I feel that this is the best for all involved, both myself and the other Permissions developers, as well as the community who deserve someone who can contribute more time and attention to them and supporting them. I do not want to see Permissions end up like many other plugins with an absentee programmer and just slowly wasting away from a great plugin with a lot of potential to a headache with no support.

    I will still be active in the community, just not as much as not in the same way. I'm sure my server will be more than happy to have their head admin back and active again as well.

    Thank you and happy gaming.




    Changelog
    • 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
    • 2.6
      • Pulled in commits by rcjrrjcr
      • Fixed versioning. Last version should have technically been 2.6
      • Fixed invalid config file being written
      • Fixed erroneous conversion message.
    • 2.5.5
      • Updated to be compliant with CB600+
      • Further Maven Integration and Autobuilding
      • Better handling of configuration file errors.
        • If you do not have a world config file for the default world at startup it will now look for config.yml
        • If it cannot find that it will look for world.yml instead in case you named it that when that is not what is in level-name:
        • It will rewrite the config file to be the proper name. At this time it does not delete the old one though.
      • Removed defunct public abstract calls. If your not using the right one by now you should be shot anyway.
    • 2.5.4
        • Added Command aliases for perms and pr
        • Changed the way directories are handled.
        • Stopped it from creating an empty <world>.yml file in base directory
        • Moved project to using Maven.
    • 2.5.3
      • Change from File.pathSeparator to File.separator to fix multiworld perms
    • 2.5.2
      • Added more instructions to the included config file within the plugin
      • Added a check that will use the default world permissions if a world specific config file cannot be found.
      • Added a function to get only the group that a player is assigned to without checking for group inheritance.
      • Added a change to colorize() to fix it hopefully not adding an extra unneeded ascii character and thus creating a linebreak/color switch issue
      • Removed permissions.info as it was not needed and was a artifact of testing I was doing.
    • 2.5.1
      • Fixed a bug that could cause a group to be returned as null for getGroups()
    • 2.5
      • Added in AntiBuild functionality to Permissions
      • Minor code tweaks
      • Added getGroups(world, player) to PermissionHandler so that plugins can call it to get all of a users groups
      • Fixed the inability to use the permissions -reload all command from within the console. I still need to do some more work on this as it doesn't seem to like to accept anything other than all from console.
    • 2.4
      • Refactored namespaces to keep in line with Java & Bukkit policy
        • This was cancelled as it ended up being not needed
      • Fixed setupPermissions()
    • 2.3
      • Undid removal of some code that I had overzealously purged during cleanup
      • Merged in last of Nijikokun's changes
      • Re-ordered the main class to attempt to fix the problems with Plugin API
    • 2.2
      • Developer change
      • Fixed reloading of configuration files
      • Moved commands to registering with plugin.yml
      • Commands now use onCommand instead of onPlayerCommand
      • Command is now /permissions instead of /pr
    [/SPOILER]
     
    mruczek, kahlilnc, Pii and 58 others like this.
  2. Offline

    Zerco

    Also never inherit anything when giving the - '*' permission, it's giving the same thing twice it's unecessary and is probably the cause of the issue. Also you had it tiered improperly.

    Code:
    God:
        default: false
        info:
            prefix: ''
            suffix: ''
            build: true
        inheritance:
        permissions:
            - '*'
     
  3. Offline

    kahlilnc

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
                - Prisoner
            permissions:
                - 'foo.bar'
                - 'defaultcommands.online.other'
                - 'defaultcommands.online'
                - 'defaultcommands.motd'
                - 'stargate.use'
                - 'stargate.create'
                - 'stargate.create.personal'
                - 'stargate.destroy'
                - 'stargate.hidden'
                - 'stargate.private'
        Prisoner:
            default: false
            info:
                prefix: 'Jail'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Builder:
            default: false
            info:
                prefix: '&2[Builder]&f
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'bar.foo'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.use'
                - 'iConomyChestShop.shop.sell'
                - 'turnstile.delete'
                - 'turnstile.link'
                - 'turnstile.make'
                - 'turnstile.owner'
                - 'turnstile.price'
                - 'turnstile.unlink'
                - 'towny.town.new'
                - 'towny.town.claim'
                - 'towny.nation.new'
                - 'towny.wild.*'
                - 'towny.wild.build'
                - 'towny.wild.destroy'
                - 'towny.wild.switch'
                - 'towny.wild.item_use'
                - 'towny.wild.block.[block id]'
                - 'towny.spawntp'
                - 'towny.publicspawntp'
                - 'preciousstones.benefit.*'
                - 'preciousstones.whitelist.*'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'localshops.manage.owner'
                - 'localshops.create'
                - 'defaultcommands.spawn.self'
                - 'defaultcommands.teleportallow.other'
                - 'defaultcommands.teleportallow.all'
                - 'defaultcommands.teleportdisallow.other'
                - 'defaultcommands.teleportdisallow.all'
                - 'defaultcommands.message.all'
                - 'defaultcommands.repair'
                - 'defaultcommands.stack'
                - 'defaultcommands.mute.self'
                - 'defaultcommands.mute.other'
                - 'defaultcommands.unmute.self'
                - 'defaultcommands.unmute.other'
                - 'defaultcommands.home.self'
                - 'defaultcommands.home.other'
                - 'defaultcommands.sethome.self'
                - 'defaultcommands.sethome.other'
                - 'defaultcommands.warp.self'
                - 'defaultcommands.warplist'
                - 'mcmmo.regeneration'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party'
                - 'mcmmo.commands.whois'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.skills.*'
                - 'ecoCreature.Rewarding.*'
                - 'herochat.create'
                - 'gastronomic.player.checkhunger'
                - 'gastronomic.player.checkfood'
                - 'gastronomic.player.hunger'
                - 'locker.lockinfo'
                - 'locker.lock.self'
                - 'locker.unlock.self'
                - 'locker.view.self'
        Vip:
            default: false
            info:
                prefix: '&b[VIP]&f
                suffix: '&c'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'simplereserve.kick.prevent'
                - 'simplereserve.enter.kick'
                - 'locker.nolimit'
        Moderator:
            default: false
            info:
                prefix: '&1[Moderator]&7'
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
                - 'bar.foo'
                - 'izone.zones.list'
                - 'izone.zones.create'
                - 'izone.zones.expand'
                - 'izone.zones.delete'
                - 'izone.zones.rename'
                - 'izone.zones.flag'
                - 'izone.zones.allow'
                - 'izone.zones.disallow'
                - 'izone.zones.define'
                - 'izone.zones.check'
                - 'izone.edit.undo'
                - 'izone.edit.fill'
                - 'izone.edit.count'
                - 'izone.edit.replace'
                - 'izone.edit.delete'
                - 'general.items'
                - 'preciousstones.bypass.*'
                - 'preciousstones.alert.*'
                - 'preciousstones.admin.*'
                - 'localshops.admin'
                - 'localshops.reload'
                - 'localshops.destroy'
                - 'defaultcommands.give.self'
                - 'defaultcommands.give.other'
                - 'defaultcommands.give.all'
                - 'defaultcommands.spawn.other'
                - 'defaultcommands.teleportlist'
                - 'defaultcommands.heal.all'
                - 'defaultcommands.time.set'
                - 'defaultcommands.time.get'
                - 'defaultcommands.teleporthere.all'
                - 'defaultcommands.extinguish.all'
                - 'defaultcommands.kick.all'
                - 'defaultcommands.ban.other'
                - 'defaultcommands.banlist'
                - 'defaultcommands.banlist.other'
                - 'defaultcommands.afk.self'
                - 'defaultcommands.afk.other'
                - 'defaultcommands.freeze.self'
                - 'defaultcommands.freeze.other'
                - 'defaultcommands.warp.other'
                - 'defaultcommands.setwarp'
                - 'defaultcommands.delwarp'
                - 'defaultcommands.top.self'
                - 'defaultcommands.top.other'
                - 'defaultcommands.take.all'
                - 'defaultcommands.teleportposition.all'
                - 'defaultcommands.jump'
                - 'defaultcommands.fly.self'
                - 'defaultcommands.fly.other'
                - 'herochat.color'
                - 'creaturebox.set'
                - 'creaturebox.give'
                - 'creaturebox.creature.pig'
                - 'creaturebox.creature.cow'
                - 'creaturebox.creature.sheep'
                - 'creaturebox.creature.chicken'
                - 'creaturebox.dropspawner'
                - 'creaturebox.placespawner'
                - 'permissions.group'
                - 'permissions.group.perms'
                - 'simplereserve.kick.prevent'
                - 'locker.save'
                - 'locker.load'
                - 'locker.lock.other'
                - 'locker.unlock.other'
                - 'locker.view.other'
                - 'locker.nolimit'
        Admins:
            default: false
            info:
                prefix: '&c[Admin]&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
                - 'iConomy.admin.grant'
                - 'iConomy.admin.set'
                - 'iConomy.admin.stats'
                - 'iConomy.admin.reset'
                - 'iConomy.admin.account.create'
                - 'iConomy.admin.account.remove'
                - 'worldedit.wand'
                - 'worldedit.wand.toggle'
                - 'worldedit.superpickaxe'
                - 'iConomyChestShop.shop.admin
                - 'izone.zones.ignoreowner'
                - 'turnstile.admin.ignore.owner'
                - 'turnstile.admin.ignore.price'
                - 'turnstile.admin.bank'
                - 'turnstile.admin.list'
                - 'turnstile.admin.locate'
                - 'towny.admin'
                - 'magiccarpet.mc'
                - 'defaultcommands.spawn.all'
                - 'defaultcommands.spawn.set'
                - 'defaultcommands.teleport.force'
                - 'defaultcommands.fire.all'
                - 'defaultcommands.kill.all'
                - 'defaultcommands.unban.all'
                - 'defaultcommands.unban.other'
                - 'stargate.destoy.all'
                - 'herochat.admin'
                - 'gastronomic.admin.enable'
                - 'gastronomic.admin.reload'
                - 'gastronomic.admin.sethunger'
                - 'magiccarpet.mc'
                - 'blockhead.hat'
                - 'blockhead.hat.items'
                - 'blockhead.hat.give.players.items'
                - 'blockhead.hat.give.groups.items'
                - 'simplereserve.kick.prevent'
                - 'locker.clear'
                - 'locker.validate'
                - 'herochat.color'
                - 'mcmmo.tools.mmoedit'
                - 'mcmmo.tools.mcgod'
                - 'mcmmo.tools.mcrefresh'
                - 'mcmmo.chat.adminchat'
                - 'citizens.remove.all'
                - 'citizens.create'
                - 'citizens.settext'
                - 'citizens.remove.singular'
                - 'citizens.help'
                - 'citizens.color'
                - 'citizens.setitem'
                - 'citizens.move'
    
    users:
        kahlilnc:
            group: Admins
            info:
                prefix: ''
                suffix: ''
            permissions:
                - 'herp.derp'
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - 'derp.derp'
        agentethan95:
            group: Admins
            permissions:
        videot:
            group: Admins
            permissions:
    It says I (kahlilnc) do not have permissions to do that, on every command I do and every plugin that is on the server.
    I am using permissions 2.5.3 and no errors on the (cmd) like there was when I was using 2.5.4 (which didnt work at all for 556 craftbukkit for me.
     
  4. Offline

    Zerco

    Because you're assigning the same permissions twice with - '*' and then again when you specify it. Do not do this, it cancels out all permissions. Either keep the - '*' and remove the rest or remove the - '*'
     
  5. Offline

    TheHANGOVER

    I ran into a huge problem. I ran on my windows, and permissions ran perfectly no errors or anything. I then moved it to my linux server, and I get slammed with errors:

    Running your latest build along with craftbukkits latest build. Please fix this soon.
     
  6. Offline

    kahlilnc

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
                - Prisoner
            permissions:
                - 'foo.bar'
                - 'defaultcommands.online.other'
                - 'defaultcommands.online'
                - 'defaultcommands.motd'
                - 'stargate.use'
                - 'stargate.create'
                - 'stargate.create.personal'
                - 'stargate.destroy'
                - 'stargate.hidden'
                - 'stargate.private'
        Prisoner:
            default: false
            info:
                prefix: 'Jail'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'foo.bar'
        Builder:
            default: false
            info:
                prefix: '&2[Builder]&f
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'bar.foo'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.use'
                - 'iConomyChestShop.shop.sell'
                - 'turnstile.delete'
                - 'turnstile.link'
                - 'turnstile.make'
                - 'turnstile.owner'
                - 'turnstile.price'
                - 'turnstile.unlink'
                - 'towny.town.new'
                - 'towny.town.claim'
                - 'towny.nation.new'
                - 'towny.wild.*'
                - 'towny.wild.build'
                - 'towny.wild.destroy'
                - 'towny.wild.switch'
                - 'towny.wild.item_use'
                - 'towny.wild.block.[block id]'
                - 'towny.spawntp'
                - 'towny.publicspawntp'
                - 'preciousstones.benefit.*'
                - 'preciousstones.whitelist.*'
                - 'localshops.buysell'
                - 'localshops.manage'
                - 'localshops.manage.owner'
                - 'localshops.create'
                - 'defaultcommands.spawn.self'
                - 'defaultcommands.teleportallow.other'
                - 'defaultcommands.teleportallow.all'
                - 'defaultcommands.teleportdisallow.other'
                - 'defaultcommands.teleportdisallow.all'
                - 'defaultcommands.message.all'
                - 'defaultcommands.repair'
                - 'defaultcommands.stack'
                - 'defaultcommands.mute.self'
                - 'defaultcommands.mute.other'
                - 'defaultcommands.unmute.self'
                - 'defaultcommands.unmute.other'
                - 'defaultcommands.home.self'
                - 'defaultcommands.home.other'
                - 'defaultcommands.sethome.self'
                - 'defaultcommands.sethome.other'
                - 'defaultcommands.warp.self'
                - 'defaultcommands.warplist'
                - 'mcmmo.regeneration'
                - 'mcmmo.ability.woodcutting'
                - 'mcmmo.ability.mining'
                - 'mcmmo.ability.axes'
                - 'mcmmo.ability.excavation'
                - 'mcmmo.ability.swords'
                - 'mcmmo.ability.unarmed'
                - 'mcmmo.item.chimaerawing'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party'
                - 'mcmmo.commands.whois'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.skills.*'
                - 'ecoCreature.Rewarding.*'
                - 'herochat.create'
                - 'gastronomic.player.checkhunger'
                - 'gastronomic.player.checkfood'
                - 'gastronomic.player.hunger'
                - 'locker.lockinfo'
                - 'locker.lock.self'
                - 'locker.unlock.self'
                - 'locker.view.self'
        Vip:
            default: false
            info:
                prefix: '&b[VIP]&f
                suffix: '&c'
                build: true
            inheritance:
                - Builder
            permissions:
                - 'simplereserve.kick.prevent'
                - 'simplereserve.enter.kick'
                - 'locker.nolimit'
        Moderator:
            default: false
            info:
                prefix: '&1[Moderator]&7'
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
                - 'bar.foo'
                - 'izone.zones.list'
                - 'izone.zones.create'
                - 'izone.zones.expand'
                - 'izone.zones.delete'
                - 'izone.zones.rename'
                - 'izone.zones.flag'
                - 'izone.zones.allow'
                - 'izone.zones.disallow'
                - 'izone.zones.define'
                - 'izone.zones.check'
                - 'izone.edit.undo'
                - 'izone.edit.fill'
                - 'izone.edit.count'
                - 'izone.edit.replace'
                - 'izone.edit.delete'
                - 'general.items'
                - 'preciousstones.bypass.*'
                - 'preciousstones.alert.*'
                - 'preciousstones.admin.*'
                - 'localshops.admin'
                - 'localshops.reload'
                - 'localshops.destroy'
                - 'defaultcommands.give.self'
                - 'defaultcommands.give.other'
                - 'defaultcommands.give.all'
                - 'defaultcommands.spawn.other'
                - 'defaultcommands.teleportlist'
                - 'defaultcommands.heal.all'
                - 'defaultcommands.time.set'
                - 'defaultcommands.time.get'
                - 'defaultcommands.teleporthere.all'
                - 'defaultcommands.extinguish.all'
                - 'defaultcommands.kick.all'
                - 'defaultcommands.ban.other'
                - 'defaultcommands.banlist'
                - 'defaultcommands.banlist.other'
                - 'defaultcommands.afk.self'
                - 'defaultcommands.afk.other'
                - 'defaultcommands.freeze.self'
                - 'defaultcommands.freeze.other'
                - 'defaultcommands.warp.other'
                - 'defaultcommands.setwarp'
                - 'defaultcommands.delwarp'
                - 'defaultcommands.top.self'
                - 'defaultcommands.top.other'
                - 'defaultcommands.take.all'
                - 'defaultcommands.teleportposition.all'
                - 'defaultcommands.jump'
                - 'defaultcommands.fly.self'
                - 'defaultcommands.fly.other'
                - 'herochat.color'
                - 'creaturebox.set'
                - 'creaturebox.give'
                - 'creaturebox.creature.pig'
                - 'creaturebox.creature.cow'
                - 'creaturebox.creature.sheep'
                - 'creaturebox.creature.chicken'
                - 'creaturebox.dropspawner'
                - 'creaturebox.placespawner'
                - 'permissions.group'
                - 'permissions.group.perms'
                - 'simplereserve.kick.prevent'
                - 'locker.save'
                - 'locker.load'
                - 'locker.lock.other'
                - 'locker.unlock.other'
                - 'locker.view.other'
                - 'locker.nolimit'
        Admins:
            default: false
            info:
                prefix: '&c[Admin]&f'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'iConomy.admin.grant'
                - 'iConomy.admin.set'
                - 'iConomy.admin.stats'
                - 'iConomy.admin.reset'
                - 'iConomy.admin.account.create'
                - 'iConomy.admin.account.remove'
                - 'worldedit.wand'
                - 'worldedit.wand.toggle'
                - 'worldedit.superpickaxe'
                - 'iConomyChestShop.shop.admin
                - 'izone.zones.ignoreowner'
                - 'turnstile.admin.ignore.owner'
                - 'turnstile.admin.ignore.price'
                - 'turnstile.admin.bank'
                - 'turnstile.admin.list'
                - 'turnstile.admin.locate'
                - 'towny.admin'
                - 'magiccarpet.mc'
                - 'defaultcommands.spawn.all'
                - 'defaultcommands.spawn.set'
                - 'defaultcommands.teleport.force'
                - 'defaultcommands.fire.all'
                - 'defaultcommands.kill.all'
                - 'defaultcommands.unban.all'
                - 'defaultcommands.unban.other'
                - 'stargate.destoy.all'
                - 'herochat.admin'
                - 'gastronomic.admin.enable'
                - 'gastronomic.admin.reload'
                - 'gastronomic.admin.sethunger'
                - 'magiccarpet.mc'
                - 'blockhead.hat'
                - 'blockhead.hat.items'
                - 'blockhead.hat.give.players.items'
                - 'blockhead.hat.give.groups.items'
                - 'simplereserve.kick.prevent'
                - 'locker.clear'
                - 'locker.validate'
                - 'herochat.color'
                - 'mcmmo.tools.mmoedit'
                - 'mcmmo.tools.mcgod'
                - 'mcmmo.tools.mcrefresh'
                - 'mcmmo.chat.adminchat'
                - 'citizens.remove.all'
                - 'citizens.create'
                - 'citizens.settext'
                - 'citizens.remove.singular'
                - 'citizens.help'
                - 'citizens.color'
                - 'citizens.setitem'
                - 'citizens.move'
    
    users:
        kahlilnc:
            group: Admins
            info:
                prefix: ''
                suffix: ''
            permissions:
                - 'herp.derp'
            permissions:
        Herpina:
            group: Moderator
            info:
                prefix: 'Moo'
                suffix: 'Cow'
            permissions:
                - 'herp.derp'
        Derpina:
            group: Admins
            permissions:
                - 'derp.derp'
        agentethan95:
            group: Admins
            permissions:
        videot:
            group: Admins
            permissions:
    I've done what you said and it does the same thing.
    I says you do not have permissions to do that.
     
  7. Offline

    Moronmaster

    I just recreated your error. I will put this in giant letters so that people will actually read the text, don't take it personally:

    REMEMBER TO RENAME YOUR CONFIG.YML TO MATCH YOUR WORLD FOLDER NAME!
     
  8. Offline

    Woozie

    Did You think I didn't do that? I do. But on Linux it isn't working, on Windows it is working fine.
     
  9. Offline

    cliff777

    I have permissions working, but how do I give commands to people. I have a spawn plugin called SpawnX so would I give my players SpawnX.spawn and SpawnX.setspawn ?
     
  10. Offline

    Daffman

    that should be given from the plugin maker
     
  11. Offline

    xChris14

    Im still getting a really weird error...

    09:14:40 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.
    ava:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager
    java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManage
    .java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown So
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.
    ava:109)
    ... 8 more
    Caused by: while parsing a block mapping
    in "<reader>", line 61, column 5:
    Default:
    ^
    expected <block end>, but found BlockEntry
    in "<reader>", line 69, column 5:
    - 'essentials.motd'
    ^

    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Pa
    serImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.jav
    :228)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.jav
    :230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:1
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105

    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCon
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java
    82)
    ... 13 more
     
  12. Offline

    Woozie

    We need to wait for fix for Linux from TheYeti. Damn
     
  13. Offline

    Gratlofatic

    Sorry, I'm kind of retarded, but how can I get auctions working? :x
     
  14. Offline

    Revenger

    Been trying that without any luck at all.

    I use try (- -node.command) to excude a group from a command on the second world without any luck on that other file in main file it works and I am excluded from the node permission.

    As soon as I take out test from copy I'm a guest and loose all permissions.

    So your permissions plugin isn't reading exclusions from the second worlds yml file and only the main one it seems.

    Likewise adding permissions does not work.

    I know the format is correct as its a copy/paste of the main with the permissions taken out.

    I have my config for second world.

    test.yml is my main file.

    Code:
    plugin:
        permissions:
            system: default
            copies: test
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: null
            permissions:
        Member:
            default: false
            info:
                prefix: '&e'
                suffix: ''
                build: true
            inheritance:
            - guest
            permissions:
        Mod:
            default: false
            info:
                prefix: '&b'
                suffix: ''
                build: true
            inheritance:
            - member
            permissions:
        Admin:
            default: false
            info:
                prefix: '&c'
                suffix: ''
                build: true
            inheritance:
            - mod
            permissions:
            - -essentials.ping
            - -essentials.whois
    users:
     
  15. @Zerco
    ok i set up the group and user only to inherit the previous group and i removed the '*' permission in my user and left only the '*' in "god" group but it still wont let me use some commands even commands i gave to default... that and every group has permission to use all of the commands exept the ones i cant use am i doing something wrong here?

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.help'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.msg'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.spawn'
                - 'essentials.signs.*.use'
                - 'essentials.motd'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.suicide'
                - 'lwc.protect'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.burn'
                - 'essentials.ext'
                - 'essentials.ping'
                - 'essentials.ban'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.tree'
                - 'essentials.heal'
                - 'essentials.back'
                - 'essentials.back.ondeath'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - 'essentials.delwarp'
                - 'essentials.essentials'
                - 'essentials.reloadall'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory'
                - 'essentials.broadcast'
                - 'essentials.antioch'
                - 'essentials.kill'
                - 'essentials.give'
                - 'essentials.item'
                - 'essentials.time'
                - 'essentials.bigtree'
                - 'essentials.god'
                - 'essentials.eco'
                - 'essentials.burn'
                - 'borderguard.border'
                - 'fabulous.fab'
                - 'blockhead.hat'
                - 'blockhead.blockhead'
                - 'essentials.signs.*.*'
                - 'worldedit.*'
                - 'lwc.mod'
        God:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
     
  16. Offline

    xChris14

    Excuse me, but is it possible to change permissions in the game?
    Like type
    /permission <PlayerName> <Group>
    ?
     
  17. Offline

    Nytewarrior

    i'm getting pretty much the same thing as xchris14
     
  18. Offline

    kahlilnc

    Thank you, and do you mean the permissions confing.yml
     
  19. Offline

    Woozie

    Ok, my problem was no config for nether. Dumb...
     
  20. Offline

    Moronmaster

    Yep, the config.yml that is generated the first time you load the plugin.
     
    kahlilnc likes this.
  21. Offline

    Itssnowing

    Technologicalyunsavy, I'm not entirely sure, but try adding "-Default" into the Inheritance area for God. Also, make sure you're actually in the "God" group.
     
  22. Offline

    kahlilnc

    Can I please email someone my server and they fix it and send it back to me.
    I have permissions, but I think I set up iChat wrong. But I am not sure what the problem is.
     
  23. Offline

    tee jay

    Any chance you feel like generating the Javadocs like Niji had before? You developer API page is severely lacking and I find it rather silly to have to look into the source everytime I need to figure out what addGroupInfo(String, String, String, Object) or something means.
     
  24. Offline

    blista77

    i cant get my permisson to work im set as admin but in game it wont let me use commands keeps saying i don't have permission to do that does anyone see anything wrong with my file
    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'myhome.home'
                - 'izone.zones.list'
                - 'izone.zones.create'
                - 'izone.zones.expand'
                - 'izone.zones.delete'
                - 'izone.zones.rename'
                - 'izone.zones.flag'
                - 'izone.zones.allow'
                - 'izone.zones.disallow'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'jail.modifyjail.*'
                - 'izone.zones.ignoreower'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'myhome.*'
                - 'jail.command.jailcreate'
                - 'jail.command.jaildelete'
                - 'jail.command.jail'
                - 'jail.command.unjail'
                - 'jail.command.jailtransfer'
                - 'jail.command.jailtransferall'
                - 'jail.command.jailcheck'
                - 'jail.command.jailtelein'
                - 'jail.command.jailteleout'
                - 'jail.command.jaillist'
                - 'jail.command.unjailforce'
                - 'jail.command.jailclear'
                - 'jail.command.jailclearforce'
                - 'jail.command.jailbackup'
                - 'jail.usercmd.jailstatus'
                - 'plugman.admin'
                - 'worldedit'
                - 'lockette.admin.break'
                - 'ioncannon.ioncannon'
                - '*'
    ##
    # MODS AND ADMINS
    ##
    users:
        blista77:
            group: Admins
            permissions:
                - '*'
     
  25. Offline

    shadow85

    Code:
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    #   Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    #   If this file is for your default world (the one in server.properties) then you must
    #   leave copies blank.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    #
    # Make sure to rename this file to the name of the world that is in sever.properties under
    # level-name.  So if it is level-name: world  then this should be world.yml and in the
    # plugins/Permissions directory (ie. plugins/Permissions/world.yml)
    #
    # NOTE: Do not use tabs while editing this document.  Use only spaces.  A good way to avoid
    # doing this is to use Notepad++ and replace the tab with 4 spaces.
    plugin:
        permissions:
            system: default
            copies:
    
    ##
    # 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
    ##
    #   All permissions including the asterisks must be placed in single quotes.
    #   like so:
    #
    #       - 'foo.bar'
    #
    #   Otherwise errors will happen!
    ##
    #   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:
    #
    #       - '*'
    #   If you give a group this permissions, do not have the group inherit any permissions
    #   from other groups.  Any users assigned to this group should NOT be given any additional
    #   permissions either.
    ##
    #   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: false
            inheritance:
            permissions:
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: false
    
            permissions:
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance: false
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Moderator group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    # Users can also have a prefix and suffix as seen with Herpina
    ##
    users:
        Redhandjane:
            group: Admins
            permissions:'*'

    Code:
    16:54:31 [INFO] Starting minecraft server version Beta 1.3
    
    16:54:31 [INFO] Loading properties
    
    16:54:31 [INFO] Starting Minecraft server on *:25565
    
    16:54:32 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-544-
    
    g6c6c30a-b556jnks (MC: 1.3)
    
    16:54:32 [INFO] Preparing level "world"
    
    16:54:32 [INFO] Preparing start region
    
    16:54:33 [INFO] Loaded Essentials build 2.0.300 maintained by Zenexer, ementalo,
    
    Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    
    16:54:33 [INFO] Loaded EssentialsChat build 2.0.300 by Zenexer, ementalo, Aelux,
    
    Brettflan, KimKandor, snowleo and ceulemans.
    
    16:54:33 [INFO] GroupManager - INFO - Scheduled Data Saving is set for every 10
    
    minutes!
    
    16:54:33 [INFO] GroupManager version 1.0(alpha-5) is enabled!
    
    16:54:33 [INFO] Fake Permissions version 2.5.1 is enabled!
    
    16:54:34 [INFO] Loaded EssentialsProtect build 2.0.300 maintained by Zenexer, em
    
    entalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    
    16:54:34 [INFO] EssentialsServerlist version 2.0.300 by Vimae Development enable
    
    d.
    
    16:54:34 [INFO] Loaded EssentialsSpawn build 2.0.300 maintained by Zenexer, emen
    
    talo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    
    16:54:34 [INFO] [iConomy] Logging is currently disabled.
    
    16:54:37 [INFO] [iConomy] v4.5 (Elektra) loaded.
    
    16:54:37 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    
    16:54:37 [INFO] Fake Permissions version 2.5.4 is enabled!
    
    16:54:37 [INFO] [iConomy] hooked into Permissions.
    
    16:54:37 [INFO] SimpleSave: 1.1.3 Initialized
    
    16:54:37 [INFO] [Hawox's uQuest] Loaded with Flatfile!
    
    16:54:37 [INFO] [Hawox's uQuest] v1.01 enabled! With 53 quests loaded!
    
    16:54:37 [INFO] [Hawox's UQuest] Successfully linked with iConomy.
    
    16:54:37 [INFO] Done (0.554s)! For help, type "help" or "?"
    
    >


    When I log into my game and try to use any command, I'm told I don't have permission to do that! Please help me and explain where I went wrong.

    Also, I only run a SMP server from my computer for my husband and I. I'm trying to learn the basics of using Craftbukkit and it's plug ins. Please forgive my lack of knowledge with coding/java and such. Layman terms are good!
     
  26. Offline

    tee jay

    First, could you please wrap your pasted text in code tags?

    Second, there is no reason to give yourself '*' permissions when you're already in a group that gives you '*' permissions.
     
  27. Offline

    shadow85

    Sorry about the code.

    Ok, I changed that bit. It still doesn't allow me to use any commands in game

    Code:
    users:
        Redhandjane:
            group: Admins
            permissions:
     
  28. Offline

    Itssnowing

    Make sure you're Config.yml is renamed to the name of the world you're currently using. If you have multiworld support, make sure you have copies of the the config.yml for each of the worlds.*

    *Copies must be renamed to their specific worlds respectively.
     
  29. Offline

    ThorrLucky

    ok so i have set the "build: false" for guests and everything else works but the guests can still build??? i have the anti-build plugin, what going on? and how can i fix it?
     
  30. Offline

    Manbeast77

    Problem that I'm having is this: I installed permissions and etc., but it doesn't gen a cfg file. Kind of annoying right now. All I really want permissions for was for multiverse, but I know I'm going to have to set it up for the other 14 or so plugins I'm running. That annoys the hell outta me.
     
  31. Offline

    ThorrLucky

    I DESPERATELY NEED HELP!!!
    ok so i have set the "build: false" for guests and everything else works but the guests can still build??? i have the anti-build plugin, what going on? and how can i fix it?​
     
Thread Status:
Not open for further replies.

Share This Page