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

    Latros

    *anxiously refreshes page awaiting for my turn*
     
  3. Offline

    TheYeti

    New config file, with fixed configuration: http://pastebin.com/ZarfkMy6
    --- merged: Mar 1, 2011 3:40 AM ---
    @Latros I will look into it. Unfortunately I don't have a test environment with 100+ people. My dev server has one, and my real server has 50. Only reason I could think of for causing lag is because it holds permissions in cache now but that shouldn't trigger on people logging in and logging out. Especially since nothing in Permissions triggers on PLAYER_JOIN or PLAYER_QUIT
    --- merged: Mar 1, 2011 3:40 AM ---
    @mik99925 Give me a list of all the plugins that you use. I will install them all and try testing to see if I can track down the issue.
     
  4. Offline

    Monkah

    Sorry for being such a n00b, but can you put instructions on how to edit:

    Plugin:
    Premissions:
    System:
    Copies:

    What does it mean? I couldn't find any #'s
     
  5. Offline

    mik99925

    @TheYeti
    Currently i have iConomy (which doesn't work), Permissions, bMobs, BukkitUp, godPowers(doesn't work), Groups, Healthy, HeroicDeath, MinecartManiaCore, NetherGate, Persistence, PlugMan, SlowHealth, Stargate, TravelPortals, Vanish, WorldEdit, and WorldGuard.
     
  6. Offline

    TheYeti

    Well, this was built for 440 which is the official recommended build. However, I do testing while I develop on the newest build as well as the current stable build just to stay ahead of possible errors. I have not gotten any errors at all about BLOCK_DAMAGE or BLOCK_PLACEMENT. I'm guessing more than likely you have a config file error that is causing it to not be able to read your config files and get the groups.
     
  7. Offline

    wooster

    Running 2.5:

    2011-02-28 19:43:42 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:625)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:45)
    at org.bukkit.plugin.java.JavaPluginLoader$31.execute(JavaPluginLoader.java:282)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:362)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)


    minecraft:~/bukkit/plugins$ ls
    BigBrother EssentialsEco.jar Essentials.jar Essentials.zip mcbans Towny
    CraftIRC.jar EssentialsGod.jar EssentialsProtect.jar GroupManager MultiVerse Towny.jar
    Essentials EssentialsGroupBridge EssentialsServerlist.jar iChat MultiVerse.jar WorldEdit
    essentials_archive EssentialsGroupManager EssentialsSpawn.jar iChat.jar Permissions WorldEdit.jar
    EssentialsBan.jar EssentialsHelp.jar EssentialsTele.jar LWC Permissions.jar WorldGuard
    EssentialsChat.jar EssentialsHome.jar EssentialsWarp.jar LWC.jar target WorldGuard.jar


    Code:
    plugin:
        permissions:
            system: default
    groups:
        Default:
            default: true
            info:
                prefix: ' '
                suffix: ' '
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.msg'
                - 'essentials.rules'
                - 'essentials.help'
                - 'essentials.getpos'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.afk'
                - 'essentials.balance'
                - 'essentials.sell'
                - 'essentials.worth'
                - 'lwc.protect'
                - 'essentials.playerlist'
                - 'essentials.list'
                - 'iconomy.sell'
                - 'iconomy.worth'
                - 'iconomy.balance'
                - 'towny.town.claim'
                - 'towny.map'
        Fuhrer:
            default: false
            info:
                prefix: '&3[&cFuhrer&3]&e '
                suffix: '&f'
                build: true
            inheritance:
                - Gestapo
            permissions:
                - '*'
        Gestapo:
            default: false
            info:
                prefix: '&3[&bGestapo&3]&e '
                suffix: '&f'
                build: true
            inheritance:
                - VIP
            permissions:
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.unban'
                - 'essentials.unbanip'
                - 'essentials.banip'
                - 'mcbans.kick'
                - 'mcbans.ban'
                - 'mcbans.view_ban'
                - 'mcbans.unban'
                - 'mcbans.ban.local'
                - 'mcbans.ban.global'
                - 'towny.*'
                - 'multiverse.world.create'
                - 'multiverse.world.list'
                - 'multiverse.tp'
                - 'multiverse.portal.create'
                - 'multiverse.portal.remove'
                - 'multiverse.portal.select'
                - 'multiverse.portal.destination'
                - 'multiverse.portal.rename'
                - 'multiverse.portal.list'
                - 'worldedit.selection'
                - 'worldedit.region.*'
    
        VIP:
            default: false
            info:
                prefix: '&3[&aVIP&3]&e '
                suffix: '&f'
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.warp'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.time'
                - 'towny.town.*'
                - 'towny.spawntp'
                - 'towny.publicspawntp'
    
    users:
        bwooster:
            group: Fuhrer
        abez:
            group: Fuhrer
        taks:
            group: VIP
        SorrowfulSky:
            group: VIP
        Comixnik:
            group: VIP
      etc...
     
  8. Offline

    TPMJB

    Yeti - Any reason the config I posted a page back would work in groupmanager 0.99 and not Permissions 2.5?

    -Mywarp
    -MagicCarpet

    Don't work with permissions, everything else does.

    I'm at a loss. Everything works with that program, but it runs the server significantly slower.
     
  9. Offline

    NOTNOT

    it had some problem

    12:53:19 [심각] Could not pass event BLOCK_PLACED to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:625)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:
    24)
    at org.bukkit.plugin.java.JavaPluginLoader$21.execute(JavaPluginLoader.j
    ava:227)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:225)
    at net.minecraft.server.ItemBlock.a(ItemBlock.java:107)
    at net.minecraft.server.ItemStack.a(ItemStack.java:56)
    at net.minecraft.server.ItemInWorldManager.a(ItemInWorldManager.java:160
    )
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:482)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    >
     
  10. Offline

    Latros


    like I said, though, it wasn't your plugin in specific that caused the error, on its own it didn't cause the lag, its conflicting with one of the ones above, and we tested it with 3 people online and it still lagged, so you certainly dont need a test environment of 100+ or even 50+
     
  11. Offline

    aPunch

    I set my default group to build: false, but in-game the default group still can build. I'm running 2.5 with CB452. There are no errors in the console, either.
     
  12. Offline

    N3X15

    Code:
    2011-03-01 04:04:20 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroups(Control.java:625)
            at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:45)
            at org.bukkit.plugin.java.JavaPluginLoader$31.execute(JavaPluginLoader.java:282)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
            at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:362)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
    Craftbukkit 440

    Code:
    $ ls *.jar | sed 's/\.jar//'
    BigBrother
    CraftBook
    CraftBookCircuits
    CraftBookMechanisms
    CraftIRC
    Essentials
    EssentialsBan
    EssentialsChat
    EssentialsHelp
    EssentialsTele
    EssentialsWarp
    MinecartManiaAdminControls
    MinecartManiaAutocart
    MinecartManiaAutomations
    MinecartManiaChestControl
    MinecartManiaCore
    MinecartManiaSignCommands
    MinecartManiaStation
    Permissions
    SpawnControl
    WorldEdit
    WorldGuard
    dynmap
    iConomy
    
     
  13. Offline

    M1sT3rM4n

    Problem with 2.5:

    2-28-2011 10-14-26 PM.png
     
  14. Offline

    TheYeti

    I am researching the AntiBuild issues right now. For now stay with 2.4 until I can get this fixed.
     
    mik99925 likes this.
  15. Offline

    Banjooo96

    I just have a quick question; how does Permissions relate to being an op?
     
  16. Offline

    tehdisco

    First off, love your dedication Yeti.

    Second, please help.

    Code:
    plugin:
        permissions:
            system: default
            copies:
    
    # Groups can contain inheritance.
    
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    
    users:
        tehdisco:
            group: Admins
            permissions:
        misstris:
            group: Admins
            permissions:
        gunner6000:
            group: Admins
            permissions:
        chemicalmike:
            group: Admins
            permissions:
    
    I am able to pull /help, /online, /me and some others. But I get no return on other commands. Sadly, I have no console as this is a rented server. All help would be appreciated.

    I should mention I have have this and general as the only mods installed.
     
  17. Offline

    koneko

    Just a quick update, I went ahead and tried out the updated Permissions 2.5 to see if there was any difference in the recent issues and no go.

    At this time, neither 2.4 or 2.5 are working for me in that NO ONE aside from me has permission to do anything. I have tried many variations with different mods, different configs, tested out vanilla (w/o plugins) and partial plugins, etc. I still cannot figure out nor pinpoint what is causing this inability to do anything on the server. People who are in my default or mods groups simply have no permissions for the other plugins. Suggestions? You already have my earlier config post. Thanks again!
     
  18. Offline

    Geoff Winans

    Issue found:

    Permissions 2.5 is not adding undefined users to the default permission node.

    This causes multiple problems. Yeti knows about it and is working on it (when he gets home).

    No more reports are needed for the following error:

    Code:
    23:02:57 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroups(Control.java:625)
            at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:45)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:272)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
            at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:369)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    
     
  19. Offline

    uncovery

    The .jar link for 2.4 is wrong...
     
  20. Offline

    cjc343

    What version of General?

    Try this modified config (open)
    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:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'general.spawn'            
                - 'BetterShop.user.*'
                - 'iConomy.payment'
                - 'DeathChest.use'
                - 'Deathchest.freeSign'
                - 'Deathchest.freeChest'
                - 'iSort.basic.all'
                - 'iSort.basic.top'
                - 'iSort.basic.range'
                - 'iSort.basic.chest'
                - 'iSort.adv.stack'
                - 'warpzor.warp'
                - 'warpzor.set'
                - 'warpzor.remove'
                - 'warpzor.list'
                - 'warpzor.warpto'
                - 'warpzor.home'
                - 'warpzor.sethome'
                - 'warpzor.worldwarp'
                - 'warpzor.worldhome'
                - '/whereami'
                - '/compass'
                - '/list'
                - '/online'
                - '/spawn'
                - '/where'
                - '/motd'
        Mods:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'BetterShop.user.*'
                - 'BetterShop.admin.add'
                - 'BetterShop.admin.remove'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'DeathChest.use'
                - 'Deathchest.freeSign'
                - 'Deathchest.freeChest'
                - '/locate'
                - '/reloadwg'
                - '/we reload'
                - '/cmdbook reload'
        Admins:
            default: false
            info:
                prefix: ''
                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:
        koineko:
            group: Admins
            permissions:
        AV:
            group: Mods
            permissions:
        e_w:
            group: Default
            permissions:
        JD:
            group: Default
            permissions:[/spoiler]
     
  21. Offline

    ALufkin24

    Can someone check my world.yml and tell me if I got it right or not. I am running bukkit b432, essentials 243, and permissions. v2.4. Any help is appreciated!

    Thanks!


    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:
        Guest:
            default: true
            info:
                prefix: '§7'
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'essentials.compass'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.helpop'
                - 'essentials.help'
        Builder:
            default: false
            info:
                prefix: '§1'
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - 'essentials.depth'
                - 'essentials.world'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.spawn'
        Mods:
            default: false
            info:
                prefix: '§1'
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'essentials.top'
                - 'essentials.jump'
                - 'essentials.back'
                - 'essentials.whois'
                - 'essentials.getpos'
                - 'essentials.nick'
                - 'essentials.tptoggle'
                - 'essentials.tpa'
                - 'essentials.tp'
                - 'essentials.tpo'
                - 'essentials.clearinventory'
                - 'essentials.tphere'
                - 'essentials.tpohere'
                - 'essentials.tppos'
                - 'essentials.ban'
                - 'essentials.banip'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.kickall'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - '*'
            permissions:
                - '*'
    
    ##
    #
    # ALufkin24 is in the Admin group
    
    ##
    users:
        ALufkin24:
            group: Admins
            permissions:
     
  22. Offline

    Geoff Winans

    This is a KNOWN bug with CraftBukkit 428-(I believe) 464. I do not recall which one it was fixed in (if at all, yet).

    See:

    http://leaky.bukkit.org/issues/506
     
  23. Offline

    Phantom Index

    this is what I'm getting.
    Code:
    22:28:17 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
            at com.nijiko.permissions.Control.getGroups(Control.java:625)
            at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:45)
            at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:272)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:225)
            at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112)
            at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:369)
            at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
            at net.minecraft.server.NetworkManager.a(SourceFile:230)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    22:28:18 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    
    This is how my config is set up

    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: '&d'
                suffix: '&f'
                build: true
            inheritance:
            permissions:
                - 'auction.start'
                - 'auction.bid'
                - 'stargate.use'
                - 'essentials.chat.shout'
                - 'essentials.portal'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.helpop'
                - 'essentials.spawn'
                - 'essentials.help'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.me'
                - 'essentials.list'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.w'
                - 'essentials.msg'
                - 'essentials.accept'
                - 'iConomy.payment'
                - 'iConomy.access'
                - 'iConomyChestShop.shop.create'
                - 'iConomyChestShop.shop.use'
                - 'iMonster.User'
                - 'lwc.protect'
                - 'towny.wild.*'
                - 'towny.publicspawntp'
                - 'towny.town.claim'
                - 'wormhole.use.sign'
                - 'wormhole.build'
                - 'wormhole.use.sign'
                - 'wormhole.use.dialer'
                - 'wormhole.remove.own'
    
        Moderator:
            default: false
            info:
                prefix: '&b'
                suffix: '&a'
                build: true
            inheritance:
                - Player
            permissions:
                - 'magiccarpet.mc'
                - '/god'
                - '/heal'
                - 'vanish.vanish'
                - 'vanish.vanish.list'
                - 'stargate.create'
                - 'stargate.destroy'
                - 'stargate.hidden'
                - 'multiverse.world.tp'
                - 'essentials.kick'
                - 'essentials.ban'
                - 'essentials.tpa'
                - 'essentials.tpahere'
                - 'essentials.tp'
                - 'essentials.tphere'
                - 'essentials.portal'
                - 'essentials.player-info'
                - 'essentials.item'
                - 'essentials.item.give'
                - 'essentials.warp'
                - 'essentails.setwarp'
                - 'essentails.ban'
                - 'essentials.listwarps'
                - 'essentials.removewarp'
                - 'essentials.heal'
                - 'essentials.time'
                - 'essentials.jump'
                - 'bb.admin.watch'
                - 'bb.admin.info'
                - 'iConomy.access'
                - 'iConomy.deposit'
                - 'iConomy.withdraw'
                - 'iConomy.reset'
                - 'iConomy.rank'
                - 'lwc.mod'
    
        Super-Moderator:
            default: false
            info:
                prefix: '&9'
                suffix: '&a'
                build: true
            inheritance:
                - Morderator
            permissions:
                - 'worldedit.*'
                - 'worldedit.selection.*'
                - 'bb.admin.rollback'
    
        Admin:
            default: false
            info:
                prefix: '&c'
                suffix: '&2'
                build: true
            inheritance:
                - Super-Moderator
            permissions:
                - '*'
    
        Owner:
            default: false
            info:
                prefix: '&c'
                suffix: '&2'
                build: true
            inheritance:
                - Admin
            permissions:
    
                - '*'
    ##
    # Donator Section
    # Stone, Iron, Gold, Diamond, and Awesome
    ##
    
        Stone:
            default: false
            info:
                prefix: '&8'
                suffix: '&f'
                build: true
            inheritance:
                - Player
            permissions:
                - 'magiccarpet.mc'
                - 'DeathChest.use'
    
        Iron:
            default: false
            info:
                prefix: '&7'
                suffix: '&f'
                build: true
            inheritance:
                - Stone
            permissions:
                - 'essentials.warp'
                - 'essentials.listwarps'
                - '/stack'
    
        Gold:
            default: false
            info:
                prefix: '&e'
                suffix: '&f'
                build: true
            inheritance:
                - Iron
            permissions:
                - 'essentials.tpa'
                - 'DeathChest.freeChest'
                - 'essentials.compass'
    
        Diamond:
            default: false
            info:
                prefix: '&3'
                suffix: '&f'
                build: true
            inheritance:
                - Gold
            permissions:
                - 'DeathChest.allowQuickLoot'
    
        Awesome:
            default: false
            info:
                prefix: '&a'
                suffix: '&b'
                build: true
            inheritance:
                - Diamond
            permissions:
    
    ##
    # DarkGrave has control over all commands.
    # sk89q can use /spawn & /time
    ##
    users:
        PhantomIndex:
            group: Owner
            permissions:
                - '*'
                - 'worldedit.*'
        DocFox:
            group: Admin
            permissions:
                - '*'
                - 'worldedit.*'
        Mikeumus:
            group: Admin
            permissions:
                - '*'
                - 'worldedit.*'
        Evalion:
            group: Super-Moderator
            permissions:
    
        kylerhagler:
            group: Moderator
            permissions:
                - 'worldedit.*'
        iiQuakezz:
            group: Moderator
            permissions:
    
        SaneMB:
            group: Moderator
            permissions:
    
        olimoli123:
            group: Stone
            permissions:
    
        koneko:
            group: Gold
            permissions:
    
        novlen:
            group: Gold
            permissions:
    
        mine2011brennon:
            group: Diamond
            permissions:
    
        joshualebrun:
            group: Diamond
            permissions:
    
        Jimmyjango92:
            group: Diamond
            permissions:
    
        G_Bear:
            group: Diamond
            permissions:
    
        Boonaboo:
            group: Diamond
            permissions:
    
        paidd:
            group: Awesome
            permissions:
    
        noseminer157:
            group: Awesome
            permissions:
    
        
     
  24. Offline

    garglebutt

    There are two main implementations of permissions in use; those that read a configuration and those that read&write a configuration. Due to a lack of policy from the bukkit developers so far, people have provided interim solutions which are effective but incompatible.

    I don't think there is a lot of point in investing too heavily in this area given the pending movement into bukkit itself and perhaps we need a more minimalistic agreement regarding basic features like inheritance and multiverse etc.
     
  25. Offline

    Apoc_8bit

    Me too, then I saw this a couple posts back...

     
  26. Offline

    Phantom Index

    ah, thanks. So I guess it's fine if this message pops up. Still annoying. Come on Yeti! Fix it!
     
  27. Offline

    cjc343

    try this (open)
    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.
    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:
        Default:
            default: true
            info:
                prefix:
                suffix:
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
                - 'mobRider.command.goto'
                - 'mobRider.command.attack'
                - 'mobRider.command.go'
                - 'mobRider.command.stop'
                - 'mobRider.command.monsters'
                - 'mobRider.command.animals
        Prometheus:
            default: false
            info:
                prefix: [Prometheus]
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Primm:
            default: false
            info:
                prefix: [Primm]
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Spartacus:
            default: false
            info:
                prefix: [Spartacus]
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Pyrakhin:
            default: false
            info:
                prefix: [Pyrakhin]
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Boatmurdered:
            default: false
            info:
                prefix: [Boatmurdered]
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Anarchdom:
            default: false
            info:
                prefix: [Anarchdom]
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
        Moderator:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
        Admin:
            default: false
            info:
                prefix: [Admin]
                suffix:
                build: true
            inheritance:
            permissions:
                - '*'
        PrometheusOP:
            default: false
            info:
                prefix: [Prometheus OP]
                suffix:
                build: true
            inheritance:
                - Admin
            permissions:
        PrimmOP:
            default: false
            info:
                prefix: [Primm OP]
                suffix:
                build: true
            inheritance:
                - Admin
            permissions:
        SpartacusOP:
            default: false
            info:
                prefix: [Spartacus OP]
                suffix:
                build: true
            inheritance:
                - Admin
            permissions:
        PyrakhinOP:
            default: false
            info:
                prefix: [Pyrakhin OP]
                suffix:
                build: true
            inheritance:
                - Admin
            permissions:
        Boatmurdered:
            default: false
            info:
                prefix: [Boatmurdered OP]
                suffix:
                build: true
            inheritance:
                - Admin
            permissions:
        AnarchdomOP:
            default: false
            info:
                prefix: [Anarchdom OP]
                suffix:
                build: true
            inheritance:
                - Admin
            permissions:
    
    ##
    # DarkGrave has control over all commands.
    ##
    users:
        Monkah_Boy:
            group: PrometheusOP
            permissions:
        Rippedstar:
            group: PrimmOP
            permissions:
        Orocleis:
            group: SpartacusOP
            permissions:
        Obibital:
            group: PyrakhinOP
            permissions:
        Ready:
            group: BoatmurderedOP
            permissions:
        Waffelcoptor:
            group: AnarchdomOP
            permissions:
        Kazeen:
            group: Primm
            permissions:
        Supah263:
            group: Boatmurdered
            permissions:
        Mithaniel:
            group: Prometheus
            permissions:
        CarterSaurus:
            group: Prometheus
            permissions:
        Coolfish:
            group: Spartacus
            permissions:
        Truefire:
            group: Prometheus
            permissions:
        WaffleD:
            group: Boatmurdered
            permissions:
        MrSalvador:
            group: Primm
            permissions:
        Daffiduck:
            group: Spartacus
            permissions:
        Karacus:
            group: Anarchdom
            permissions:
        Unrealsins:
            group: Unknown
            permissions:
        Cooper7:
            group: Prometheus
            permissions:
        Bsoles:
            group: Anarchdom
            permissions:
        WayneMC:
            group: Prometheus
            permissions:
        Jared_Unicycles:
            group: Primm
            permissions:
        PerryThePenguin:
            group: Spartacus
            permissions:
        Thefreindlyc:
            group: Pyrakhin
            permissions:
        XDHardy:
            group: Pyrakhin
            permissions:
        XDNinja:
            group: Pyrakhin
            permissions:
        XDKiller:
            group: Pyrakhin
            permissions:
        XDShells:
            group: Pyrakhin
            permissions:
        OutBreakGaming:
            group: Anarchdom
            permissions:
        Varzkkar:
            group: Anarchdom
            permissions:
        lord_dwarf:
            group: Anarchdom
            permissions:
        Digison:
            group: Spartacus
            permissions:
        Michaelcw10:
            group: Prometheus
            permissions:
        Chugwig:
            group: Pyrakhin
            permissions:
        OK4Y:
            group: Prometheus
            permissions:
        TheCrackerJack:
            group: Prometheus
            permissions:
        Chachie:
            group: Spartacus
            permissions:
        AK125:
            group: Spartacus
            permissions:
        SpellJam:
            group: Boatmurdered
            permissions:
        LightnDark:
            group: Boatmurdered
            permissions:
        Markyz123:
            group: Spartacus
            permissions:
        dr559:
            group: Spartacus
            permissions:
        Greblah:
            group: Primm
            permissions:
        EnemyCommander:
            group: Anarchdom
            permissions:
        DanielSozonov:
            group: Anarchdom
            permissions:
        ForteEX:
            group: Primm
            permissions:
        TheAmazingDman:
            group: Prometheus
            permissions:
        Carsonwebb:
            group: Boatmurdered
            permissions:
        lap2456:
            group: Pyrakhin
            permissions:
        firespirit44:
            group: Prometheus
            permissions:
        TheKingZero:
            group: Spartacus
            permissions:
        Resistanc3:
            group: Prometheus
            permissions:
        zeaga:
            group: Prometheus
            permissions:
        SilentSyth:
            group: Prometheus
            permissions:
        qwertydino:
            group: Anarchdom
            permissions:
        Naribar:
            group: Anarchdom
            permissions:
        FireFtw:
            group: Spartacus
            permissions:
        Anaklus:
            group: Spartacus
            permissions:
        Vampirius:
            group: Anarchdom
            permissions:
        timelock_hr:
            group: Anarchdom
            permissions:

    E:

    That's useful information about where you are in the process that can assist us in helping you. Thanks.
     
  28. Offline

    Hero_In_Green

    WOW this is confusing.
    :/

    I've tried reading your wiki but it was in another language to me...
     
  29. Offline

    riuthamus

    Seriously, no /modify ? WHAT DOES A MAN HAVE TO DO GET THE MOST BASIC OF COMMANDS!!! This is like the most needed feature, not simply for ease but for functionality. I pray to the gods... for this command every night before i sleep!
     
  30. Offline

    MIKUiqnw0

    Can you change /permissions back to /pr or leave an alias to it.
    I don't even see why it was necessary to make me type several times as much to do something.
     
  31. Offline

    uncovery

    Is there any plugin currently that lets me use chat prefix/suffix with this?
     
Thread Status:
Not open for further replies.

Share This Page