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. Permissions should work with 677, which is the bukkit version for 1.4_01 I think that the developper may allready be testing a new version but will not make it available until bukkit promotes a 1.5 compatible version as recommended build.
    I myself am not updating to another version yet, if there is no permissions plugin available and you could read on the main bukkit page and in alot of different places that there is no 1.5 recommended build yet and also not all plugins will make a version available for a not recommended build.
    In other words you need to downgrade to 1.4 (craftbukkit 677) and have a bit more patience.
     
    HaleServer likes this.
  3. Offline

    alexhoodg

    (testing)
    [/spoiler] [/code]

    /spoiler

    sry didnt figure out how to use the spoiler so here it is plz help

    this is yetis 2.7



    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:
                - 'essentials.help'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.[warpname]'
                - 'essentials.spawn'
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.<kitname>'
                - 'essentials.tpahere'
        Builder:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.help'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.[warpname]'
                - 'essentials.spawn'
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.<kitname>'
                - 'worldedit.clipboard.clear'
                - 'worldedit.clipboard.load'
                - 'worldedit.clipboard.save'
                - 'worldedit.clipboard.copy'
                - 'worldedit.clipboard.flip'
                - 'worldedit.clipboard.rotate'
                - 'worldedit.clipboard.cut'
                - 'worldedit.clipboard.paste'
                - 'worldedit.generation.cylinder'
                - 'worldedit.generation.cylinder'
                - 'worldedit.generation.sphere'
                - 'worldedit.generation.sphere'
                - 'worldedit.generation.forest'
                - 'worldedit.generation.pumpkins'
                - 'worldedit.region.walls'
                - 'worldedit.region.faces'
                - 'worldedit.region.smooth'
                - 'worldedit.region.replace'
                - 'worldedit.region.stack'
                - 'worldedit.region.set'
                - 'worldedit.region.move'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'worldedit.selection.hpos'
                - 'worldedit.wand'
                - 'worldedit.selection.expand'
                - 'worldedit.tool.tree'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.extinguish'
                - 'worldedit.butcher'
                - 'worldedit.remove'
                - 'worldedit.fill'
                - 'worldedit.drain'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory.others'
                - 'essentials.broadcast'
                - 'essentials.kill'
                - 'essentials.ban'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.time'
                - 'essentials.god'
                - 'essentials.heal'
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - essentials.help'
                - 'general.time'
                - 'general.teleport'
                - 'general.teleport.here'
                - 'general.player-info'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.[warpname]'
                - 'essentials.spawn'
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.<kitname>'
                - 'worldedit.clipboard.clear'
                - 'worldedit.clipboard.load'
                - 'worldedit.clipboard.save'
                - 'worldedit.clipboard.copy'
                - 'worldedit.clipboard.flip'
                - 'worldedit.clipboard.rotate'
                - 'worldedit.clipboard.cut'
                - 'worldedit.clipboard.paste'
                - 'worldedit.generation.cylinder'
                - 'worldedit.generation.cylinder'
                - 'worldedit.generation.sphere'
                - 'worldedit.generation.sphere'
                - 'worldedit.generation.forest'
                - 'worldedit.generation.pumpkins'
                - 'worldedit.region.walls'
                - 'worldedit.region.faces'
                - 'worldedit.region.smooth'
                - 'worldedit.region.replace'
                - 'worldedit.region.stack'
                - 'worldedit.region.set'
                - 'worldedit.region.move'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'worldedit.selection.hpos'
                - 'worldedit.wand'
                - 'worldedit.selection.expand'
                - 'worldedit.tool.tree'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.extinguish'
                - 'worldedit.butcher'
                - 'worldedit.remove'
                - 'worldedit.fill'
                - 'worldedit.drain'
                - 'essentials.tp'
                - 'essentials.tpahere'
                - 'essentials.setwarp'
                - 'essentials.delwarp'
                - 'essentials.spawnmob'
                - 'essentials.clearinventory.others'
                - 'essentials.broadcast'
                - 'essentials.kill'
                - 'essentials.ban'
                - 'essentials.mute'
                - 'essentials.kick'
                - 'essentials.unban'
                - 'essentials.item'
                - 'essentials.give'
                - 'essentials.time'
                - 'essentials.god'
                - 'essentials.heal'
        Admins:
            default: false
            info:
                prefix: 'heres'
                suffix: ''
                build: true
            inheritance:
                - Moderator
            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:
        alexhoodg:
            group: Admins
            permissions:
                - '*'
        bchamp:
            group: Default
            info:
                prefix: ''
                suffix: ''
            permissions:
                - 'essentials.help'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.[warpname]'
                - 'essentials.spawn'
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.<kitname>'
                - 'essentials.tpahere'
        chris98k:
            group: Default
            permissions:
                - 'essentials.help'
                - 'essentials.back'
                - 'essentials.back.ondeath'
                - 'essentials.tpa'
                - 'essentials.tpaccept'
                - 'essentials.tpdeny'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.warp.[warpname]'
                - 'essentials.spawn'
                - 'essentials.signs.mail.create'
                - 'essentials.signs.mail.use'
                - 'essentials.msg'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.motd'
                - 'essentials.list'
                - 'essentials.mail'
                - 'essentials.mail.send'
                - 'essentials.clearinventory'
                - 'essentials.kit'
                - 'essentials.kit.<kitname>'
                - 'essentials.tpahere'
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  4. Offline

    Truecorruptor

    Ummm well i dont know if what im about to say is correct but I think its the problem. You dont need to repeat the same nodes if the inheritance has them. So for some of the essentials stuff u dont need to repeat them in the next class if the inheritance is the one before it. Also admins do have an inheritance if they have - '*' becuase that is all the commands. Idk if this will fix your problem but i know it will save you some time. + dont use tabs use spaces and watch the video tutorial
     
  5. Offline

    Gratlofatic

  6. Offline

    Celtic Minstrel

    @HaleServer - Version 2.7 of Permissions works with Bukkit 1.5. If it's not working, there's something else wrong.
     
  7. Offline

    coxy

    you do not have the necessary permissions for this command?
     
  8. Offline

    Daniel Heppner

    I'm having huge problems with people not being able to build unless they're OP.
     
  9. Offline

    MicroTech

    does it work for build 709?
     
  10. Offline

    Malkierian

    Why ask for 709? 714 is the test build.

    And yes:
    Read next time.
     
  11. Offline

    busa

    what about adding some kind of chest protection? so people with antibuild cannot access chests. easy for people to just log on and steal\destroy items.
    (yes, i know about whitelist etc, but would be cool to have an open server so people could look;) )
     
  12. Offline

    Jalroth

    Hi, I have been having trouble with getting permissions to work right with essentials. It seems like everything is right, but some of my users seem to have access to commands that I have not alloted them in the permissions.
    can someone look at this permissions file and tell me what the blazes i've done wrong? group friends has access to /antioch, and i'd rather they did not. i'm assuming the structure of my permissions file is wrong somehow, but i cant find the problem (edited to not show usernames)
    Show Spoiler
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'general.spawn'
        Friends:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'essentials.help'
                - 'essentials.depth'
                - 'essentials.getpos'
                - 'essentials.top'
                - 'essentials.world'
                - 'essentials.tp'
                - 'essentials.sethome'
                - 'essentials.home'
                - 'essentials.warp'
                - 'essentials.warp.list'
                - 'essentials.motd'
                - 'essentials.afk'
                - 'essentials.rules'
                - 'essentials.list'
                - 'essentials.item'
                - 'essentials.kit'
                - 'essentials.time'
                - 'essentials.heal'
                - 'essentials.jump'
                - 'essentials.clearinventory'
                - 'essentials.back'
                - 'essentials.back.ondeath'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    users:
        user1:
            group: Admins
        user2:
            group: Admins
        user3:
            group: Friends
        user4:
            group: Friends
        user5:
            group: Friends
        user6:
            group: Friends
        user7:
            group: Friends
     
  13. How do I use the Permissions API to move a player into a diffrent group?
    I couldn't find any class in your documentation but maybe thats incomplete?

    In GroupManager i can simply add a player to a diffrent group. How does it work with Permissions?
     
  14. Offline

    Celtic Minstrel

    I did read. I just felt a need to say that it's not an issue with the Bukkit update. Not very helpful, true.
     
  15. Offline

    rcjrrjcr

    Wait for v3.0. That feature will be added.
     
  16. Offline

    Lanuk

    My friend is telling me that this is 1.5 compatible even though it is at cb677. Is this true? I didn't think so because I couldn't find anything about there on the thread.
     
  17. Offline

    JackTDawson

    No not true. . here is a test I just did for you since you probably didn't test it yourself.

    Show Spoiler

    18:35:24 [INFO] Starting minecraft server version Beta 1.4
    18:35:24 [INFO] Loading properties
    18:35:24 [INFO] Starting Minecraft server on *:25565
    18:35:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-653-
    g9992fff-b677jnks (MC: 1.4)
    18:35:24 [INFO] Preparing level "world"
    18:35:24 [INFO] Preparing start region
    18:35:24 [INFO] 144 recipes
    18:35:24 [INFO] Done (0.074s)! For help, type "help" or "?"
    18:36:03 [SEVERE] java.io.IOException: Bad packet id 97
    18:36:03 [SEVERE] at net.minecraft.server.Packet.b(Packet.java:84)
    18:36:03 [SEVERE] at net.minecraft.server.NetworkManager.f(NetworkManager.
    java:130)
    18:36:03 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.
    java:229)
    18:36:03 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFi
    le:68)


    See this ? "
    18:35:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-653-
    g9992fff-b677jnks (MC: 1.4)"

    this is with me trying to log into cb677 with 1.5 Client. I ended up with a JAVA.IO exception error.
     
  18. Offline

    Fellshadow

    Even if I set myself to the Default group, I can still use worldedit/worldguard commands even though I haven't added permissions for the default group (I only want admins to be able to use it). Spawncontrol works fine though.

    Can anyone give me a hand getting it to work properly please?
     
  19. Offline

    JackTDawson

    The permissions file is what allows you to set the permissions to those two plugins.. you NEED the plugin Permissions.
     
  20. Offline

    Fellshadow

    Yeah... I have the Permissions Plugin. The problem is that people in the Default group can still use worldedit/worldguard commands even though I haven't given the Default group permission to use them.
     
  21. Offline

    JackTDawson

    Interesting.. maybe I could help if you PM me I can send you my google talk ID and let me take a look at it to see if I can help.
     
  22. Offline

    Fluub

    Hey guys :)
    I have this strange error
    Code:
    2011-04-25 00:44:18 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:136)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:160)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:108)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:85)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:287)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:196)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:80)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:255)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:650)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:613)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:607)
        at net.minecraft.server.Packet3Chat.a(SourceFile:36)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:195)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:73)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    Caused by: mapping values are not allowed here
     in "<reader>", line 110, column 13:
                info:
                    ^
    
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchValue(ScannerImpl.java:745)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:307)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:183)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:564)
        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.java:228)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
        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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
        at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
        ... 22 more
    With this config file :
    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'modtrs.command.modreq'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'iJobs.user.*'
                - 'mcdocs.*'
                - 'localshops.buysell'
                - 'tcl.*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'bar.foo'
        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 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:
        Wiliwilliam:
    group: Default
            info
                prefix: 'Cactus '
                suffix: ''
            permissions:
        Fluub:
            group: Admins
            info:
                prefix: 'Shaman '
            permissions:
                - 'iConomy.*'
                - '*'
        easycheuvreuille:
            group: Default
            info:
                prefix: 'Robot '
                suffix: ''
            permissions:
                - 'modtrs.*'
        Derpina:
            group: Admins
            permissions:
                - '-derp.derp'
    Thanks a lot for your work :)
     
  23. Offline

    Malkierian

    That was NOT at you. Read the post a bit better. I was quoting yours to tell that other guy to read next time.
     
  24. Offline

    blindsarcasm

    Thanks for the rather interesting reply. And the '*' does require it I believe. Thanks again.
     
  25. Offline

    -Adi-

    Hey Guys,I have a big Problem..

    Here the error: http://screencast.com/t/4yYCd81IPobI

    Here my Config.

    Show Spoiler

    Code:
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'commandbook.motd'
                - 'commandbook.rules'
                - 'commandbook.spawn'
                - 'commandbook.say.me'
                - 'commandbook.say'
                - 'commandbook.msg'
        Builder:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'lwc.blockinventory'
                - 'worldguard.stopfire'
                - 'commandbook.who'
                - 'iConomy.access'
                - 'iConomy.rank'
                - 'iConomy.list'
                - 'iConomy.payment'
                - 'lwc.protect'
                - 'myhome.home.*'
                - 'SimpleWarp.warp'
                - 'SimpleWarp.setwarp'
                - 'SimpleWarp.listwarps'
                - 'SimpleWarp.removewarp'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.clear'
                - 'commandbook.whois'
                - 'commandbook.debug.info'
                - 'commandbook.debug.clock'
    
        VIP:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Builder
            permissions:
                - 'commandbook.kit.kits.[kit]'
                - 'commandbook.teleport'
                - 'commandbook.teleport.other'
                - 'commandbook.slap'
                - 'commandbook.slap.other'
                - 'commandbook.rocket'
                - 'commandbook.rocket.other'
                - 'commandbook.barrage'
                - 'commandbook.barrage.other'
                - 'commandbook.whois.other'
                - 'worldedit.generation.cylinder'
                - 'worldedit.generation.cylinder'
                - 'worldedit.generation.sphere'
                - 'worldedit.generation.sphere'
                - 'worldedit.generation.forest'
                - 'worldedit.generation.pumpkins'
                - 'worldedit.navigation.unstuck'
                - 'worldedit.navigation.ascend'
                - 'worldedit.navigation.descend'
                - 'worldedit.navigation.thru'
                - 'worldedit.navigation.jumpto'
                - 'worldedit.navigation.ceiling'
                - 'worldedit.navigation.up'
                - 'worldedit.superpickaxe'
                - 'worldedit.superpickaxe.area'
                - 'worldedit.superpickaxe.recursive'
                - 'worldedit.superpickaxe'
                - 'worldedit.tool.info'
                - 'worldedit.tool.tree'
                - 'worldedit.brush.options.mask'
                - 'worldedit.tool.replacer'
                - 'worldedit.tool.data-cycler'
                - 'worldedit.brush.sphere'
                - 'worldedit.brush.cylinder'
                - 'worldedit.brush.clipboard'
                - 'worldedit.brush.smooth'
                - 'worldedit.tool.info'
                - 'worldedit.tool.tree
    
    
        Helfer:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
    
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Helfer
            permissions:
                - 'lwc.mod'
                - 'iConomy.admin.grant'
                - 'iConomy.admin.set'
                - 'iConomy.admin.reset'
                - 'iConomy.admin.hide'
                - 'iConomy.admin.account.create'
                - 'iConomy.admin.account.remove'
                - 'iConomy.admin.stats'
                - 'worldguard.god'
                - 'worldguard.heal'
                - 'worldguard.slay'
                - 'SimpleWarp.warpto'
                - 'commandbook.reload'
                - 'commandbook.give'
                - 'commandbook.give.other'
                - 'commandbook.give.infinite'
                - 'commandbook.give.stacks'
                - 'commandbook.give.stacks.unlimited'
                - 'commandbook.time'
                - 'commandbook.spawnmob'
                - 'commandbook.spawnmob.many'
                - 'commandbook.spawnmob.<mob>'
                - 'commandbook.clear.other'
                - 'commandbook.kick'
                - 'commandbook.bans.ban'
                - 'commandbook.bans.unban'
                - 'commandbook.bans.isbanned'
                - 'commandbook.bans.load'
                - 'commandbook.bans.save'
                - 'worldedit.chunkinfo'
                - 'worldedit.listchunks'
                - 'worldedit.clipboard.clear'
                - 'worldedit.clipboard.load'
                - 'worldedit.clipboard.save'
                - 'worldedit.clipboard.copy'
                - 'worldedit.clipboard.flip'
                - 'worldedit.clipboard.rotate'
                - 'worldedit.clipboard.cut'
                - 'worldedit.clipboard.paste'
                - 'worldedit.reload'
                - 'worldedit.limit'
                - 'worldedit.history.clear'
                - 'worldedit.history.redo'
                - 'worldedit.history.undo'
                - 'worldedit.region.overlay'
                - 'worldedit.region.walls'
                - 'worldedit.region.faces'
                - 'worldedit.region.smooth'
                - 'worldedit.region.replace'
                - 'worldedit.region.stack'
                - 'worldedit.region.set'
                - 'worldedit.region.move'
                - 'worldedit.wand'
                - 'worldedit.wand.toggle'
                - 'worldedit.selection.contract'
                - 'worldedit.selection.outset'
                - 'worldedit.analysis.distr'
                - 'worldedit.analysis.count'
                - 'worldedit.selection.size'
                - 'worldedit.selection.shift'
                - 'worldedit.selection.expand'
                - 'worldedit.selection.inset'
                - 'worldedit.snapshots.restore'
                - 'worldedit.snapshots.list'
                - 'worldedit.snapshots.restore'
                - 'worldedit.tool.replacer'
                - 'worldedit.tool.data-cycler'
                - 'worldedit.brush.sphere'
                - 'worldedit.brush.cylinder'
                - 'worldedit.brush.clipboard'
                - 'worldedit.brush.smooth'
                - 'worldedit.fill.recursive'
                - 'worldedit.fixlava'
                - 'worldedit.fixwater
                - 'worldedit.removeabove'
                - 'worldedit.removebelow'
                - 'worldedit.removenear'
                - 'worldedit.replacenear'
                - 'worldedit.snow'
                - 'worldedit.thaw'
                - 'worldedit.extinguish'
                - 'worldedit.butcher'
                - 'worldedit.remove'
                - 'worldedit.fill'
                - 'worldedit.drain'
    
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Moderator
            permissions:
                - '*'
                - 'lwc.admin'
                - 'myhome.*'
                - 'commandbook.setspawn'
                - 'worldedit.delchunks'
                - 'worldedit.scripting.execute'
                - 'worldedit.scripting.execute'
                - 'worldedit.selection.chunk'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'worldedit.selection.hpos'
    


    Pls help me :(
     
  26. Offline

    Arcaian

    You should look up the top. It is for craftbook 677. You are using craftbook 714. Can you guess what is wrong ?
     
    -Adi- likes this.
  27. Offline

    -Adi-

    Ohhhhhh shit.. Im an idiot.. So i have to wait for a newer relase -.- But thx..
     
  28. Offline

    Gratlofatic

    Any help?

    Permissions: http://pastebin.com/Qqv8WPr5

    Code:
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
            at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
            at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
            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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfiguration.java:58)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:132)
            ... 13 more
    
    Thanks
     
  29. Offline

    Zerco

    Try this:
    Show Spoiler
    Code:
    groups:
      Admins:
        default: false
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance:
          - 'Moderator'
        permissions:
          - '*'
      Builder:
        default: false
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance:
          - 'Default'
        permissions:
          - 'lwc.blockinventory'
          - 'worldguard.stopfire'
          - 'commandbook.who'
          - 'iConomy.access'
          - 'iConomy.rank'
          - 'iConomy.list'
          - 'iConomy.payment'
          - 'lwc.protect'
          - 'myhome.home.*'
          - 'SimpleWarp.warp'
          - 'SimpleWarp.setwarp'
          - 'SimpleWarp.listwarps'
          - 'SimpleWarp.removewarp'
          - 'commandbook.whereami'
          - 'commandbook.whereami.compass'
          - 'commandbook.clear'
          - 'commandbook.whois'
          - 'commandbook.debug.info'
          - 'commandbook.debug.clock'
      Default:
        default: true
        info:
          prefix: ''
          suffix: ''
          build: false
        inheritance: ''
        permissions:
          - 'commandbook.motd'
          - 'commandbook.rules'
          - 'commandbook.spawn'
          - 'commandbook.say.me'
          - 'commandbook.say'
          - 'commandbook.msg'
      Helfer:
        default: false
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance:
          - 'VIP'
        permissions: ''
      Moderator:
        default: false
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance:
          - 'Helfer'
        permissions:
          - 'lwc.mod'
          - 'iConomy.admin.grant'
          - 'iConomy.admin.set'
          - 'iConomy.admin.reset'
          - 'iConomy.admin.hide'
          - 'iConomy.admin.account.create'
          - 'iConomy.admin.account.remove'
          - 'iConomy.admin.stats'
          - 'worldguard.god'
          - 'worldguard.heal'
          - 'worldguard.slay'
          - 'SimpleWarp.warpto'
          - 'commandbook.reload'
          - 'commandbook.give'
          - 'commandbook.give.other'
          - 'commandbook.give.infinite'
          - 'commandbook.give.stacks'
          - 'commandbook.give.stacks.unlimited'
          - 'commandbook.time'
          - 'commandbook.spawnmob'
          - 'commandbook.spawnmob.many'
          - 'commandbook.spawnmob.*'
          - 'commandbook.clear.other'
          - 'commandbook.kick'
          - 'commandbook.bans.ban'
          - 'commandbook.bans.unban'
          - 'commandbook.bans.isbanned'
          - 'commandbook.bans.load'
          - 'commandbook.bans.save'
          - 'worldedit.chunkinfo'
          - 'worldedit.listchunks'
          - 'worldedit.clipboard.clear'
          - 'worldedit.clipboard.load'
          - 'worldedit.clipboard.save'
          - 'worldedit.clipboard.copy'
          - 'worldedit.clipboard.flip'
          - 'worldedit.clipboard.rotate'
          - 'worldedit.clipboard.cut'
          - 'worldedit.clipboard.paste'
          - 'worldedit.reload'
          - 'worldedit.limit'
          - 'worldedit.history.clear'
          - 'worldedit.history.redo'
          - 'worldedit.history.undo'
          - 'worldedit.region.overlay'
          - 'worldedit.region.walls'
          - 'worldedit.region.faces'
          - 'worldedit.region.smooth'
          - 'worldedit.region.replace'
          - 'worldedit.region.stack'
          - 'worldedit.region.set'
          - 'worldedit.region.move'
          - 'worldedit.wand'
          - 'worldedit.wand.toggle'
          - 'worldedit.selection.contract'
          - 'worldedit.selection.outset'
          - 'worldedit.analysis.distr'
          - 'worldedit.analysis.count'
          - 'worldedit.selection.size'
          - 'worldedit.selection.shift'
          - 'worldedit.selection.expand'
          - 'worldedit.selection.inset'
          - 'worldedit.snapshots.restore'
          - 'worldedit.snapshots.list'
          - 'worldedit.snapshots.restore'
          - 'worldedit.tool.replacer'
          - 'worldedit.tool.data-cycler'
          - 'worldedit.brush.sphere'
          - 'worldedit.brush.cylinder'
          - 'worldedit.brush.clipboard'
          - 'worldedit.brush.smooth'
          - 'worldedit.fill.recursive'
          - 'worldedit.fixlava'
          - ''worldedit.fixwater'
          - 'worldedit.removeabove'
          - 'worldedit.removebelow'
          - 'worldedit.removenear'
          - 'worldedit.replacenear'
          - 'worldedit.snow'
          - 'worldedit.thaw'
          - 'worldedit.extinguish'
          - 'worldedit.butcher'
          - 'worldedit.remove'
          - 'worldedit.fill'
          - 'worldedit.drain'
      VIP:
        default: false
        info:
          prefix: ''
          suffix: ''
          build: true
        inheritance:
          - 'Builder'
        permissions:
          - 'commandbook.kit.kits.*'
          - 'commandbook.teleport'
          - 'commandbook.teleport.other'
          - 'commandbook.slap'
          - 'commandbook.slap.other'
          - 'commandbook.rocket'
          - 'commandbook.rocket.other'
          - 'commandbook.barrage'
          - 'commandbook.barrage.other'
          - 'commandbook.whois.other'
          - 'worldedit.generation.cylinder'
          - 'worldedit.generation.cylinder'
          - 'worldedit.generation.sphere'
          - 'worldedit.generation.sphere'
          - 'worldedit.generation.forest'
          - 'worldedit.generation.pumpkins'
          - 'worldedit.navigation.unstuck'
          - 'worldedit.navigation.ascend'
          - 'worldedit.navigation.descend'
          - 'worldedit.navigation.thru'
          - 'worldedit.navigation.jumpto'
          - 'worldedit.navigation.ceiling'
          - 'worldedit.navigation.up'
          - 'worldedit.superpickaxe'
          - 'worldedit.superpickaxe.area'
          - 'worldedit.superpickaxe.recursive'
          - 'worldedit.superpickaxe'
          - 'worldedit.tool.info'
          - 'worldedit.tool.tree'
          - 'worldedit.brush.options.mask'
          - 'worldedit.tool.replacer'
          - 'worldedit.tool.data-cycler'
          - 'worldedit.brush.sphere'
          - 'worldedit.brush.cylinder'
          - 'worldedit.brush.clipboard'
          - 'worldedit.brush.smooth'
          - 'worldedit.tool.info'
          - ''worldedit.tool.tree'
    

    Sorry about it getting jumbled up.
    A quick once over I'm going to say the parser probably doesn't like the $ on your Donor Admin.
    Code:
        $Admins:
            default: false
            info:
                prefix: '&f[&2Donor&f] &f[&5Admin&f] '
    
     
  30. Offline

    2zxr1

    i think it's my hero chat becuase im getting one like that too
     
  31. Offline

    alexhoodg

    ive watched that video like 800 times and i did what you said first and the same thing happened but in another vid he did it this way and it worked for him so i tried it.......

    i think your info spacing is wrong

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
Thread Status:
Not open for further replies.

Share This Page