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

    saturnine_nl

    check my typo guide. those are common typo errors, easy to fix

    http://forums.bukkit.org/threads/ad...orld-permissions-522.5974/page-40#post-115229
    [MERGETIME="1299710505"][/MERGETIME]
    permission has been improved and supports multiworld and it's possible to use a nested folder structure (i guess that's what's multiplay.co.uk is pointing at) so you could use your own world inside a multiplay.co.uk user folder. wich serverwise would be a lot easier for them to handle.
     
  3. Offline

    liquidfired

    Even when online mode is on, it doesn't work
     
  4. Offline

    subshadow

    I'm really not sure what is wrong but from what ive seen and been told when u turn on the plugin, the permissions folder in the plugins folder is supposed to have groups, users and comfig. but when i use it it has nothing.
     
  5. Offline

    Master0r0

    You missed my edit that said "oh shit i didnt read the above post"
     
  6. Offline

    Linaks

    Is actually the MySQL function in your ToDo List?
    Because GroupManager will do that soon. If you also make MySQL feature, it would be great
     
  7. Offline

    solentice

    If you download the Permissions.zip using the first blue "Download" button at the top, it will contain both a Permissions.jar file and a folder named Permissions, where the config file is located named RENAME-ME.yml . This RENAME-ME.yml file is the one that contains all the configuration settings for groups and users, and this is what you are missing. I'm posting the same link to the zipped file here so it's easier for you to find:
    http://www.theyeticave.net/downloads/permissions/latest/Permissions.zip

    Once you open the zip file, extract everything inside it to your server folder, and when you look inside the Permissions folder, it should definitely contain that RENAME-ME.yml file for you to make changes in. You'll need to rename that file to the name of your world, such as "world.yml", or whatever you called your world. This file is where you make the groups, users, and add permissions.
     
  8. Offline

    preaks

    Hey is It possible to make a command like /permissions -reload "world" that dosent screw up your permissions template when you reload after adding a person to a group? useing


    http://forums.bukkit.org/threads/admin-yeditor-v1-2-β-edit-permissions-on-the-fly-440.4186/

    Or make a Custom command like yeeditor or modgrp?

    My persmiisions layout so you understand why something like this is needed..



    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
      Default:
        default: true
        info:
            prefix: '&f<&fGuest&f>'
            suffix: '&f'
            build: true
        inheritance:
        permissions:
            - iConomy.payment
            - iConomy.rank
            - iConomy.list
            - lwc.protect
            - essentials.spawn
            - essentials.list
            - essentials.helpop
            - essentials.msg
            - essentials.afk
            - essentials.help.*
            - essentials.motd
            - essentials.mail
            - griefalertr.use
            - myhome.home.basic.home
            - myhome.home.basic.set
            - myhome.home.soc.invite
            - myhome.home.soc.uninvite
            - can-rank=*
            - can-list=*
            - BetterShop.user.list
            - BetterShop.user.check
            - BetterShop.user.buy
            - BetterShop.user.help
            - BetterShop.user.sell
            - stargate.use
      Shit:
        default: false
        info:
            prefix: '&f<&fGuest&f>'
            suffix: '&f'
            build: false
        inheritance:
        permissions:
      Member:
        default: false
        info:
            prefix: '&2<&7Member&2>'
            suffix: '&f'
            build: true
        inheritance:
            - Default
        permissions:
      VIP:
        default: false
        info:
            prefix: '&2<&aVIP&2>'
            suffix: '&f'
            build: true
        inheritance:
            - Member
        permissions:
            - essentials.me
            - essentials.top
            - essentials.warp
            - essentials.world
            - preciousstones.benefit.*
            - preciousstones.whitelist.*
            - ac.chest.*
      SVIP:
        default: false
        info:
            prefix: '&2<&9Super VIP&2>'
            suffix: '&f'
            build: true
        inheritance:
            - VIP
        permissions:
            - magiccarpet.mc
            - ac.chest.*
      EVIP:
        default: false
        info:
            prefix: '&2<&5Elite VIP&2>'
            suffix: '&f'
            build: true
        inheritance:
            - SVIP
        permissions:
            - /god
            - ac.chest.*
      Mayor:
        default: false
        info:
            prefix: '&2<&dMayor&2>'
            suffix: '&f'
            build: true
        inheritance:
            - Default
        permissions:
            - essentials.me
            - essentials.top
            - essentials.warp
            - essentials.world
      Moderator:
        default: false
        info:
            prefix: '&2<&cModerator&2>'
            suffix: '&2'
            build: true
        inheritance:
            - EVIP
        permissions:
            - /god
            - essentials.god.*
            - essentials.tp
            - essentials.kick
            - bb.admin.*
            - magiccarpet.mc.*
            - vanish.vanish
            - essentials.ban
            - lwc.mod
            - preciousstones.bypass.*
            - preciousstones.alert.*
            - griefalertr.view.*
            - ac.chest.*
      Admin:
        default: false
        info:
            prefix: '&2<&eAdmin&2>'
            suffix: '&2'
            build: true
        inheritance:
            - Moderator
        permissions:
            - essentials.god
            - essentials.tphere
            - griefalertr.view.*
            - essentials.ban.*
            - lwc.admin
            - magiccarpet.*
            - preciousstones.admin.*
            - ac.chest.*
            - ac.admin.*
            - ac.save.*
            - ac.reload.*
            - Mast3rPlan.*
      SnrAdmin:
        default: false
        info:
            prefix: '&2<&6Snr Admin&2>'
            name:   'name&4'
            suffix: '&2'
            build: true
        inheritance:
            - Admin
        permissions:
            - essentials.god.*
            - essentials.ban.*
            - essentials.togglejail.*
            - essentials.setjail.*
            - essentials.help.*
            - 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.*
            - griefalertr.ignore.*
            - griefalertr.view.*
            - lwc.admin.*
            - magiccarpet.*
            - permissions.*
            - stargate.create
            - stargate.destroy
            - stargate.hidden
            - stargate.private
            - citizens.create.*
            - citizens.settext.*
            - citizens.remove.singular.*
            - citizens.remove.all.*
            - citizens.help.*
            - citizens.color.*
            - OR citizens.colour
            - either spelling.*
            - citizens.setitem.*
            - citizens.move.*
            - ac.chest.*
            - ac.admin.*
            - ac.save.*
            - ac.reload.*
            - Mast3rPlan.*
      Owner:
        default: false
        info:
            prefix: '&2<&8Owner&2>'
            suffix: '&2'
            build: true
        inheritance:
            - SnrAdmin
        permissions:
            - essentials.god
            - essentials.ban.*
            - lwc.admin
            - magiccarpet.*
            - permissions.*
            - /reload
            - '*'
            - iConomy.payment
            - iConomy.access
            - iConomy.rank
            - iConomy.list
            - iConomy.admin.grant
            - iConomy.admin.set
            - iConomy.admin.stats
            - iConomy.admin.reset
    users:
     
  9. Offline

    TheYeti

    Any command is going to screw up your template and change the formatting. This is because of how it reads it in versus who it writes it out. It will read it either way though. And yes, I am working on making improvements to Permissions. I am currently working on 3.0
    [MERGETIME="1299722022"][/MERGETIME]
    This isn't GroupManager. That being said I am working on changes in Permissions 3.0. MySQL isn't high on my priority list though at the moment.
    [MERGETIME="1299722247"][/MERGETIME]
    Did you follow the instructions and make sure to rename the config file to the same thing as your level-name from server.properties (world.yml for most people) and not have it config.yml? Are you using anything that would conflict with this like GroupUsers or GroupManager?
     
  10. Offline

    alucart93

    Hello, i hope somebody can help :) (sry for my bad english^^)
    last week I load the permissions on my server and set them up, since yesterday the server worked...
    but today i noticed many problems!
    the first thing was: some areas in my world are protected nobody can dig (also admins)
    and after a few min everybody gets kicked from the server
    error messrre from the client:
    "internal exception java.net.socketexception software caused connection abort recv failed"
    i didn´t copy the server message now.
    i´ve tried everything so solve the problem, but nothing works!
    I made i copie of my server and deleted ALL plugins so I had a clean server, create a OP.txt and it worked!
    So I download the newest Permissions and to make no errors I dind chance the .yml (only the name in world.yml) and loged in with the name in the default file (TheNo1Yeti) and got the same problem :(

    waht can I do now?? any Ideas?
    [spoil]
    Code:
    03:00:25 [SCHWERWIEGEND]        at java.net.SocketOutputStream.socketWrite0(Nati
    ve Method)
    03:00:25 [SCHWERWIEGEND]        at java.net.SocketOutputStream.socketWrite(Unkno
    wn Source)
    03:00:25 [SCHWERWIEGEND]        at java.net.SocketOutputStream.write(Unknown Sou
    rce)
    03:00:25 [SCHWERWIEGEND]        at java.io.DataOutputStream.writeInt(Unknown Sou
    rce)
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.Packet30Entity.a(SourceF
    ile:119)
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.Packet32EntityLook.a(Sou
    rceFile:93)
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.Packet.a(SourceFile:149)
    
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.NetworkManager.e(SourceF
    ile:130)
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.NetworkManager.d(SourceF
    ile:9)
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.NetworkWriterThread.run(
    SourceFile:83)
    03:00:25 [SCHWERWIEGEND] java.net.SocketTimeoutException: Read timed out
    03:00:25 [SCHWERWIEGEND]        at java.net.SocketInputStream.socketRead0(Native
     Method)
    03:00:25 [SCHWERWIEGEND]        at java.net.SocketInputStream.read(Unknown Sourc
    e)
    03:00:25 [SCHWERWIEGEND]        at java.net.SocketInputStream.read(Unknown Sourc
    e)
    03:00:25 [SCHWERWIEGEND]        at java.io.FilterInputStream.read(Unknown Source
    )
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.Packet.b(SourceFile:113)
    
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.NetworkManager.f(SourceF
    ile:155)
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.NetworkManager.c(SourceF
    ile:9)
    03:00:25 [SCHWERWIEGEND]        at net.minecraft.server.NetworkReaderThread.run(
    SourceFile:62)
    03:00:25 [INFO] TheNo1Yeti lost connection: disconnect.genericReason
     
  11. Offline

    Eegabooga

    I just updated CraftBukkit after not updating for a little while. I updated to the most recent recommended build (the March 9th one). I'm getting these errors with Permissions. I have changed my config.yml file. Here are the errors:
    Code:
    20:57:47 [SEVERE] Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        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(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:109)
        ... 8 more
    Caused by: java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:77)
        ... 13 more
    20:57:48 [SEVERE] Could not load plugins/EssentialsGroupBridge.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
        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(NativeConstructorAccessorImpl.java:57)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:532)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:109)
        ... 8 more
    Caused by: java.lang.NullPointerException
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:77)
        ... 13 more
    
    All help is appreciated! :)
     
  12. Offline

    alucart93

    got the same since i updated bukkit, for me helped delete all permission file in the server (jar in yml) and replace them .... the plugin loads but i have another problem xD one post before :p
     
  13. Offline

    SinorKirby

    Is there any possibility of this having some way of having group hierarchy? Like say I have an Admin and an OP on my server. Is there any way to let Permissions know that the Admin group is more powerful than the OP group, thus preventing the OP group from kicking/banning anyone in the Admin group? Not sure if this is the right place to add this or not, but it seems like something that would be necessary.
     
  14. Offline

    yargh

    When my friend logs in, who's name consists of all numbers, an error shows up in the console about an invalid conversion from Java.lang.integer to Java.lang.string, and not being able to pass PLAYER_JOIN to LoginMessage. Bukkit version 487, permissions 2.5.3
     
  15. Offline

    TheYeti

    @SinorKirby Already working on group weighting. Trying to decide how to do it though and a lot of it would depend on the plugin authors implementing it as well.

    @Eegabooga Don't run Permissions and EssentialsGroupBridge at the same time.

    @alucart93 That isn't a permissions thing. In fact I have no idea what kind of thing that is.
    [MERGETIME="1299726164"][/MERGETIME]
    @yargh Please submit a new issue through the issue tracker for this.
     
  16. Offline

    subshadow

    when I extract it, do i put the mename-me file in the permissions folder in the plugins folder for my server or on the same page as my start.bat?
     
  17. Offline

    Robert Razzell

    So I was having troubles with permissions, after updating my server to a more recent version of Bukkit, and it wasn't working, I had a feeling it was incompatible with one of my plugins, but even after uninstalling every single other plugin I had, Permissions still wouldn't run with Bukkit. I don't know how to copy what the console says but it say something about null loading the plugin or whatever, please help.
     
  18. Offline

    JamieWorville

    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.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
     
  19. Offline

    Nathaniel

    Can someone help me? I'm getting the BLOCK_PLACED/BLOCK_BREAK Errors and I cannot fix it and I have tried atleast 4-6 different permissions. two that i have written myself and a few from zips/Random people rewriting others. Here is my Permissions...

    What the hell am i doing wrong? I had everything working PERFECTLY in my 441 build. but.. i can't get this simple thing to work.




    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.
    #   Does not work for the default world.
    #  Example: copies: Derp    -  This will clone the permissions of the world Derp
    plugin:
        permissions:
            system: default
            copies:
    
    # 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:
    #
    #       - 'general.spawn'
    #
    #   Otherwise errors will happen!
    ##
    #   Globalized Permission settings:
    #
    #       If a permission contains periods (.) you can denote a globalized parameter:
    #
    #           - 'general.*'
    #
    #       This will allow you to use all general commands.
    #
    ##
    #   Single Asterisk denotes all commands:
    #
    #       - '*'
    ##
    #   To exempt a node use the - prefix like so:
    #       - '-general.time'
    ##
    groups:
        Player:
            default: true
            info:
                prefix: '&2'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'general.spawn'
                - 'mcmmo.commands.ptp'
                - 'mcmmo.commands.party'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
                - 'mcmmo.skills.*'
                - 'mcmmo.motd'
                - 'mcmmo.chat.partychat'
                - 'mcmmo.commands.whois'
                - 'mcmmo.mmoedit.'
                - 'lwc.protect'
                - 'guestprev.interact.buttons'
                - 'guestprev.interact.levers'
                - 'guestprev.interact.pressures'
                - 'guestprev.open.doors'
                - 'guestprev.enter.boats'
                - 'guestprev.enter.minecarts'
                - 'war.player'
                - 'war.warp'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'myhome.home.basic.home'
                - 'myhome.home.basic.set'
                - 'myhome.home.basic.delete'
                - 'iConomyChestShop.shop.use'
                - 'iConomyChestShop.shop.sell'
                - 'iConomyChestShop.shop.create'
                - 'uQuest.CanQuest'
        Moderator:
            default: false
            info:
                prefix: '&3'
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - '*'
        Admin:
            default: false
            info:
                prefix: '&6'
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Default 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:
        xxx:
            group: Admin
            permissions:
        xxx:
            group: Admin
            permissions:
        xxx:
            group: Admin
            permissions:
        xxx:
            group: Admin
            permissions:
        xxx:
            group: Admin
            permissions:
    
    This is the permissions i've downloaded from this permissions plugin, i've just put my previous permissions settings in.
     
  20. Offline

    liquidfired

    How to I make Admins Red, Owners Green, and Mods Blue? with the prefixes.

    I tried &4, &2 and &3 I am admin, but it doesn't work
     
  21. Offline

    solentice

    Actually both the Permissions.jar and the Permissions folder(with the RENAME-ME.yml file) should go inside your "plugins" folder. Most other bukkit compatible plugins you might get will also eventually go in that same "plugins" folder. Also note that the Permissions plugin by itself won't do much. You'll need other plugins that are compatible with Permissions to allow specific commands for your users and groups. If you are using Windows, I would suggest you get familiar with the free Notepad++ application since it's a great tool to help you edit those .yml files when you enable its feature to change the tab button to 4 spaces in its settings.
     
  22. Offline

    Maddin

    Me and my friends cannot build and destroy blocks, what is wrong. My file:

    plugin:
    permissions:
    system: default
    copies:
    Default:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permssions:
    - 'essentials.sethome'
    - 'essentials.home'
    - 'essentials.tp'
    - 'essentials.warp'
    - 'essentials.setwarp'
    - 'essentials.back'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.signs.heal.use'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    users:
    Maddin:
    group: Admins
    permissions:
    - '*'
    Mohandar:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.sethome'
    - 'essentials.home'
    - 'essentials.tp'
    - 'essentials.warp'
    - 'essentials.setwarp'
    - 'essentials.back'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.signs.heal.use'
    Player:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'essentials.sethome'
    - 'essentials.home'
    - 'essentials.tp'
    - 'essentials.warp'
    - 'essentials.setwarp'
    - 'essentials.back'
    - 'essentials.mail'
    - 'essentials.mail.send'
    - 'essentials.signs.heal.use'

    pls help
     
  23. Offline

    Katie

    Should look like this:

    Code:
    plugin:
        permissions:
            system: default
            copies:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.tp'
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.back'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.signs.heal.use'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        Maddin:
            group: Admins
            permissions:
    
    Issues I found:
    • Users were defined with properties that belong in groups like info and build.
    • The Default group had default set to false. Should be true.
    • "permissions" was spelled wrong in one place. It was "permssions" I think. Or maybe I did that while editing. Not sure. ^^
    • Users were unnecessarily enumerated permissions that belong to the Default group.
    I think this should work, but I haven't tested it.
     
    Maddin likes this.
  24. Offline

    Maddin

    thanks for the awesome help :) it works
     
  25. Offline

    unv_annihlator

    I'm messing around trying to make a plugin to reference this to check to see if a player is in a certain group on the server, if they are they it allow them to pass through. How would I call this up?

    Lets say that the group is call miner.

    Thanks in advance,
    Annihilator

    Edit:
    Code:
    if (!zonePermissions.Permissions.has(player, arg1)){
                return false;
            }
    #1 is this correct?
    #2 Could I test to see if the group is a certain something, or only what they have have permissions to?

    Edit 2:

    Code:
    		if (!zonePermissions.Permissions.inGroup(w, p, s)){
    			return false;
    		}
    		else{
    			return true;
    		}
    I'm guessing that would work. w being world, p being playername, and s being the groupname?
     
  26. Offline

    alucart93

    @TheYeti
    but when it´s not the permission, what else?
    I tried a clean server wihout ANY plugin, and it worrked fine, but when I run the permissions, then I got these errors... :S
    it is possible that my world is buggy?
    //
    Testet many things, on other computer etc...
    found:
    the server broke because of me (sry my fault)
    but now it seems to work fine....
    but it isn´t!

    wait i found another error

    pls excuse my foolness!
    i don´t no how but it seems like i have deleted the
    word:
    users: in my config -.-" and wonderen about why i cant biuld anything ^^"

    ok now anything is fine I am hapy and Yetis Rocks^^
     
  27. Offline

    NEO

    Anyone know how to set individual user suffix's? cant figure it out. using herochat prefixs work fine for groups. ive never tried adding suffix's to an individual user.
     
  28. Offline

    Xin_TiGeR

    hey, i´ve been using permissions since the v2.0 but just today i realized something... Permissions with the anti-build built in doesnt allow placing or destroying but allows INTERACTING with blocks.. like open chests, taking items from there.. opening doors, switches... thats really dangerous if you let your world open to anybody... how can i fix this so that default players COULD ONLY LOOK AROUND THE MAP? i dont want them to steal the chests :(
     
  29. Why are build rights disabled by default? It took at least for me long time to find out that "build: false" is the cause for players being unable to build/dig.
    This is from RENAME-ME.yml that comes with the zip:
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
     
  30. Offline

    Tar

    I get the InvalidPluginException, which was already posted along the last 2-3 pages of this thread. I think Permissions doesn't work witz the newest craftbukkit build atm. I tried using permissions as the only plugin w/ default config, it won't work, so I guess bukkit has sth to do with it. Need a fix :/
     
  31. Offline

    Harrison Smith

    How do I get Permissions to look for the .yml somewhere other than the same directory that my craftbukkit.jar is? I need it to look through "hgsback -> world". My server properties does this with a " / " but slashes are invalid in filenames. Is there no solution to this? If so, are there any permissions mods I could use so I can configure these stupid dropchests?
     
Thread Status:
Not open for further replies.

Share This Page