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

    Dragonmoon05

    I have a problem, when i start the server the error message says:


    0:55:32 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins': name is not defined
    rg.bukkit.plugin.InvalidDescriptionException: name is not defined
    at org.bukkit.plugin.PluginDescriptionFile.loadMap(PluginDescriptionFile.java:145)
    at org.bukkit.plugin.PluginDescriptionFile.<init>(PluginDescriptionFile.java:31)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:67)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:191)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:115)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:100)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:260)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    0:55:32 [INFO] Done (0.080s)! For help, type "help" or "?"
     
  3. Offline

    Dragonntiger

    Hello again, i was just wondering about users' prefixes, wen i added it for my friend it didnt work
    Code:
    iAmKewl69:
        group: OP
        info:
            prefix: 'Knight_'
            suffix: ''
        permissions: null
        
     
  4. Offline

    $p!k3

    anyone help? 10:10:51 [WARNING] Missing a prefix or suffix for Owners
    whats wrong?
     
  5. Offline

    Dragonntiger

    send me the log..
    or maybe not, for owners, it should be something lik this
    Example:
    Code:
    Owners:
        default: false
        info:
            prefix: ''
            suffix: ''
            build: true
        permissions:
         .....
     
  6. Offline

    omar

    hello when starting my server this happens:
    22:35:26 [INFO] [Permissions] (Yeti) was Initialized.
    22:35:26 [SEVERE] null initializing Permissions v3.0 (Is it up to date?)
    java.lang.NullPointerException
    at com.nijiko.permissions.ModularControl.loadWorldInheritance(ModularControl.java:53)
    at com.nijiko.permissions.ModularControl.<init>(ModularControl.java:44)
    at com.nijikokun.bukkit.Permissions.Permissions.setupPermissions(Permissions.java:146)
    at com.nijikokun.bukkit.Permissions.Permissions.onLoad(Permissions.java:114)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:103)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:218)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:205)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:145)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:265)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)



    this is my config.
    Show Spoiler

    # 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:
    - 'foo.bar'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - '- multiverse.portal.create'
    - '- multiverse.portal.remove'
    - '- multiverse.portal.select'
    - '- multiverse.portal.destination'
    - '- multiverse.portal.rename'
    - '- multiverse.portal.list'
    - '- multiverse.world.spawn'
    - '- multiverse.world.setspawn'
    - '- multiverse.tp'
    - '- multiverse.world.list'
    - '- multiverse.world.remove'
    - '- multiverse.world.import'
    - 'mobRider.command.goto'
    - 'mobRider.command.attack'
    - 'mobRider.command.go'
    - 'mobRider.command.stop'
    - 'mobRider.command.follow'
    - 'mobRider.players'
    - 'mobRider.animals'
    - 'mobRider.monsters'
    - 'sprint.allow'
    - 'sprint.highjump'
    - 'chaircraft.sit'
    - 'colorsheep.rave'
    - 'colorsheep.spawn'
    - 'colorsheep.max'
    - 'colorsheep.spawnrand'
    - 'colorsheep.rave'
    - 'colorsheep.kill'

    ##
    # 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:
    Y0RE_M0TH3R:
    group: Admin
    permissions:
    - '- multiverse.portal.create'
    - '- multiverse.portal.remove'
    - '- multiverse.portal.select'
    - '- multiverse.portal.destination'
    - '- multiverse.portal.rename'
    - '- multiverse.portal.list'
    - '- multiverse.world.spawn'
    - '- multiverse.world.setspawn'
    - '- multiverse.tp'
    - '- multiverse.world.list'
    - '- multiverse.world.remove'
    - '- multiverse.world.import'
    - 'mobRider.command.goto'
    - 'mobRider.command.attack'
    - 'mobRider.command.go'
    - 'mobRider.command.stop'
    - 'mobRider.command.follow'
    - 'mobRider.players'
    - 'mobRider.animals'
    - 'mobRider.monsters'
    - 'sprint.allow'
    - 'sprint.highjump'
    - 'chaircraft.sit'
    - 'colorsheep.rave'
    - 'colorsheep.spawn'
    - 'colorsheep.max'
    - 'colorsheep.spawnrand'
    - 'colorsheep.rave'
    - 'colorsheep.kill'
    FuzzyNugget:
    group: Admins
    info:
    prefix: 'Moo'
    suffix: 'Cow'
    permissions:
    - '- multiverse.portal.create'
    - '- multiverse.portal.remove'
    - '- multiverse.portal.select'
    - '- multiverse.portal.destination'
    - '- multiverse.portal.rename'
    - '- multiverse.portal.list'
    - '- multiverse.world.spawn'
    - '- multiverse.world.setspawn'
    - '- multiverse.tp'
    - '- multiverse.world.list'
    - '- multiverse.world.remove'
    - '- multiverse.world.import'
    - 'mobRider.command.goto'
    - 'mobRider.command.attack'
    - 'mobRider.command.go'
    - 'mobRider.command.stop'
    - 'mobRider.command.follow'
    - 'mobRider.players'
    - 'mobRider.animals'
    - 'mobRider.monsters'
    - 'sprint.allow'
    - 'sprint.highjump'
    - 'chaircraft.sit'
    - 'colorsheep.rave'
    - 'colorsheep.spawn'
    - 'colorsheep.max'
    - 'colorsheep.spawnrand'
    - 'colorsheep.rave'
    - 'colorsheep.kill'
     
  7. Offline

    Bseagull

    this is a great plugin, but is there a way to make it so that you can change the group a person is in while in game? or is it so that you have to go to the files and change it for EVERY person that comes on?
     
  8. Offline

    Jeyge

    You can run PermissionsPlus for now and wait for 3.0 to be released. 3.0 will have it built in.
    I think your file is for 2.7.3 but you are trying to run 3.0. If you really want to run 3.0, I would look at the wiki for that and make sure your files are in the right place. If not, roll back to 2.7.3.
    I'll add that to my list of things to look for in a file. I had no idea a period would break things that much.
     
  9. Offline

    $p!k3

    here. this is my config

    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: null
            permissions:
            - *
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - *
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            - Moderator
            permissions:
            - *
        Owners:
            default: false
            info:
                prefix:
                suffix:
                build: true
            inheritance:
            - Default
            - Moderator
            - Admins
            permissions:
            -*
    users:
        $p!k3:
            group: Owners
            info:
                prefix:
                suffix:
            permissions:
            - null
    
     
  10. Offline

    Jeyge

    Make sure you are running a chat plugin.
    If that is actually a warning from Permissions (I'm not sure it actually is) then post your permissions.yml file.

    Add a '' (2 quotes) to your prefix and suffix in Owners and your 1 user.

    I would try to download 2.7.3 again. I'm guessing you were playing with 3.0 and you may have picked up a broken build.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  11. Offline

    boriater

    In addition to that I'd probably suggest removing all the inheritances; everyone seems to have the same Wildcard (*) Permissions enabled, so no inheritance is needed. That should make the file easier to navigate (If you ever need to)
     
  12. Offline

    $p!k3

    now its saying 11:10:17 [WARNING] Missing a prefix or suffix for default

    the * is the permissions i have already. in a rush i just used * for abver for those plug-ins. soz

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  13. Offline

    KcHappy

    Thanks for all the help yesterday Jeyge! Everything is working perfectly fine now!
     
  14. Offline

    Jeyge

    Anytime. Good to hear it is all working.

    Oops, I missed that part. The one place you still need to use 's is around *s. You need to change those to - '*'. Give this version a try:
    Code:
    plugin:
        permissions:
            system: default
            copies: null
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance: null
            permissions:
            - '*'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Default
            permissions:
            - '*'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Moderator
            permissions:
            - '*'
        Owners:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            - Admins
            permissions:
            - '*'
    users:
        $p!k3:
            group: Owners
            info:
                prefix: ''
                suffix: ''
            permissions:
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 17, 2016
  15. Offline

    $p!k3

    thnx its been fix. tysm
     
  16. Offline

    Dragonntiger

    yeah didnt know a period hurts too haha, and i have EssentialsChat, it says "# The character(s) to prefix all nicknames, so that you know they are not true usernames.
    nickname-prefix: '~' "
    so im testing some things right now, i'll eventually get back to you
     
  17. Offline

    $p!k3

    Jeyge i owe you sooooo much. :p
     
  18. Offline

    Black_Katana

    I'm having problems with player, you see, when player logs in to my server, the player can do whatever they want. I even set it specifically made it so player was in the Default, but player could still do whatever. Even break locked signs, and open locked chests. Is there a way to fix?
     
  19. Offline

    Jeyge

    Player is someone who didn't buy the game. Have them buy the game and set your server to online mode.
     
  20. Offline

    Dragonmoon05

    Tried to download it again, didn't work, only happens when i change the plugin.yml , never worked with this mod before :(
     
  21. Offline

    Jeyge

    Ah, what are you tying to change in the plugin.yml?
     
  22. Offline

    Dragonmoon05

    Found the problem, was changing plugin.yml instead of world.yml. Thx for your time
     
  23. Offline

    blackhole883

    so if i remove all the '§' it will work? (i cannot try this on the server at the moment because its a weekday) if someone can please tell me in plain English what i need to do and how to do it because this seems like a incredibly helpful plugin that i would like to use on my server but i dont want to spend hours trying to get it to work when i have absolutely no idea how do actually get it to work.
     
  24. Offline

    xZise

    Hello, I have a strange problem here. It seems, that the Permissions plugin doesn't recognize the permissions values.
    My world.yml and console output.

    The strange REQ lines are caused by my plugin to detect, where a error could be:
    Code:
        public Integer getInteger(CommandSender sender, Permission<Integer> permission) {
            System.out.println("REQ: " + permission.getName() + " by " + sender.toString());
            Player player = MinecraftUtil.getPlayer(sender);
            if (player != null) {
                int i = this.handler.getPermissionInteger(player.getWorld().getName(), player.getName(), permission.getName());
                System.out.println("REQ by Player: " + player.getWorld().getName() + " by " + player.getName() + " >> RES := " + i);
                if (i < 0) {
                    return null;
                } else {
                    return i;
                }
            } else {
                return null;
            }
        }
    The handler field is a reference to the PermissionsHandler instance from your plugin.

    Now what did I wrong? The permissions itself works and I have different rights if I change the group. Also the world.yml is parsable without any error.

    Fabian
     
  25. Offline

    Ganadewa

    Hello. I have got a problem with the permissions for /i and /give. I need to have the codes for them. 'give' and 'permissions.give' won`t work.

    Thank you.
     
  26. Offline

    textMARCer

    I have the problem that all my "normal Users" get the "You don´t have Permissions to use this" message when they place or destroy a block but the blocks EVER change so they can do so!

    Please Help



    Here are my Groups:

    groups:
    Default:
    default: true
    info:
    prefix: '&5 (Gast)'
    suffix: ''
    build: false
    inheritance: null
    permissions:
    - commandbook.rules
    - foo.bar
    - commandbook.spawn
    Bau:
    default: false
    info:
    prefix: '&e'
    suffix: ''
    build: true
    inheritance:
    permissions:
    - iConomy.payment
    - iConomy.access
    - iConomy.rank
    - iConomy.list
    - iConomyChestShop.shop.buy
    - iConomyChestShop.shop.sell
    - iConomyChestShop.shop.create
    - myhome.home.basic.set
    - myhome.home.basic.home
    - SimpleWarp.warp
    - SimpleWarp.listwarps
    - lwc.protect
    - commandbook.who
    - commandbook.kit.list
    - commandbook.kit.kits
    - wolfpound.use
    - craftbook.mech.bridge
    - craftbook.mech.elevator
    - craftbook.mech.gate
    - craftbook.mech.light-switch
    - craftbook.mech.elevator.use
    - obuvoting.vote
    - stargate.use
    - stargate.free.use
    - commandbook.rules
    - foo.bar
    - commandbook.spawn
    Baumeister:
    default: false
    info:
    prefix: '&e [Baumeister]'
    suffix: ''
    build: true
    inheritance:
    - Bau
    permissions:
    - commandbook.give
    - commandbook.give.other
    - commandbook.give.infinite
    - commandbook.give.stacks
    - commandbook.give.stacks.unlimited
    - magiccarpet.mc
    - magiccarpet.ml
    VIP:
    default: false
    info:
    prefix: '&2'
    suffix: ''
    build: true
    inheritance:
    - Bau
    permissions:
    - commandbook.teleport
    - commandbook.teleport.other
    - worldedit.navigation.thru
    - worldedit.navigation.jumpto
    Moderator:
    default: false
    info:
    prefix: '&1 (Mod)'
    suffix: ''
    build: true
    inheritance:
    - Bau
    - VIP
    permissions:
    - commandbook.time
    - worldedit.tool.tree
    - worldedit.superpickaxe
    - commandbook.give
    - commandbook.give.other
    - commandbook.give.infinite
    - commandbook.give.stacks
    - commandbook.give.stacks.unlimited
    - commandbook.kick
    - logblock.lookup
    Admins:
    default: false
    info:
    prefix: '&4 (ADMIN)'
    suffix: ''
    build: true
    inheritance: null
    permissions:
    - '*'
     
  27. Offline

    rcjrrjcr

    Your world.yml is formatted wrongly. This should be what you intended. Code should be fine though.
     
  28. Offline

    larissaroo

    No one on my server is able to use any of the commands.

    I am using:
    Bukkit version 766
    Windows 7

    Plugins:
    AdminCmd
    ChopTree
    Cookbook
    EveryEgg-0.2
    MultiHome
    PlugMan
    Scavenger
    SimpleGodMode
    TweakedCycle
    Permissions

    This is my world.yml file
    plugin:
    permissions:
    system: default
    copies:

    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'multihome.home'
    - 'multihome.namedhome'
    - 'multihome.othershome'
    - 'multihome.sethome'
    - 'multihome.setnamedhome'
    - 'multihome.deletehome'
    - 'multihome.listhomes.myself'
    - 'multihome.listhomes.others'
    - 'multihome.homeondeath'
    - 'multihome.invitehome'
    - 'multihome.invitenamedhome'
    - 'multihome.ignorecooldown'
    - 'multihome.ignorewarmup'
    - 'choptree.chop'
    - 'cookbook.display.recipe'
    - 'cookbook.display.allrecipes'
    - 'cookbook.display.furnacerecipe'
    - 'cookbook.display.allfurnacerecipes'
    - 'everyegg.enable'
    - 'scavenger.*'
    - 'scavenger.scavenge'
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'

    users:
    larissaroo:
    group: Admins
    info:
    prefix: ''
    suffix: ''
    permissions:
    wor2loc:
    group: Moderator
    info:
    prefix: ''
    suffix: ''
    permissions:
    garrga:
    group: Moderator
    info:
    prefix: ''
    suffix: ''
    permissions:


    And I keep getting this when a block is destroyed;
    03:54:00 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.j
    61)
    at org.bukkit.plugin.java.JavaPluginLoader$34.execute(JavaPluginLoad
    ava:432)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManag
    ava:289)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java
    )
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java
    )
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:441
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    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:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    And this when a block is placed;
    04:00:48 [SEVERE] Could not pass event BLOCK_PLACE to Permissions
    java.lang.NullPointerException
    at com.nijiko.permissions.Control.getGroups(Control.java:620)
    at com.nijikokun.bukkit.Permissions.Listener.onBlockPlace(Listener.java:
    43)
    at org.bukkit.plugin.java.JavaPluginLoader$26.execute(JavaPluginLoader.j
    ava:384)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:289)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:84)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callBlockPlaceEvent(Cr
    aftEventFactory.java:68)
    at net.minecraft.server.ItemBlock.a(ItemBlock.java:74)
    at net.minecraft.server.ItemStack.placeItem(ItemStack.java:56)
    at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.j
    ava:217)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:526)
    at net.minecraft.server.Packet15Place.a(SourceFile:57)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:196)
    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:372)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    I know it says it's cause the permissions file is messed, but I am just really really lost here, ANY help would be wonderful, I have been trying to get this working for about 5 and a half hours now...
     
  29. Offline

    xZise

    Ah thanks! It is working now!

    Fabian
     
  30. Offline

    Maxis010

    @ textMARCer and @ larissaroo

    Repost your world.yml's inside of code tags, pasted them in to your post without code tags removes all formatting which means we can miss the problem
    Make sure you post the files IN FULL as giving us a snippet of the files will mean problems outside of that snippet are missed
     
  31. Offline

    SweanS

    i've got this error after i installed herochat for prefix and suffix
    Code:
        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:138)
        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:201)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:85)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:247)
        at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:394)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:379)
        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 177, column 19:
                    prefix: '&b'
                          ^
    
        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.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)
    here is my world.yml:
    <Edit by Moderator: Redacted mediafire url>
     
    Last edited by a moderator: Dec 15, 2016
Thread Status:
Not open for further replies.

Share This Page