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

    Epiclol

    Been Banging my head on the wall for the last 5 hours and my name does not appear as Admin
    Heres paste bin file http://pastebin.com/Tg4DgE60
     
  3. Offline

    Insanehero

    Does this work with CB 235?
     
  4. Offline

    ethood1999

    I found the fix. You need to download the iChat plugin.
     
  5. Offline

    Mew2468

    I apologize if this has already been answered in the thread before, but is there a way you can change the group of a user either through a chat command or a console command? Or is the only way editing the .yml file?
     
  6. Offline

    Chris Cando

    what am I doing wrong? there's only 3 people playing which two of my friends and I
    I am admin and I want them to be mod but it doesn't work

     
  7. Bukkit 531
    Forced to get this latest Permissions because HeroChat absolutely can't work with anything but the latest cutting edge version even if it doesnt work :(
    Can't see how I'm going to be able to use it without /pr or something - not gonna type /permissions -reload all every time a user joins or wants to change his color :(
    Tried it with several 5.4.x versions with clean installs, and I get this error:

    2011-03-14 06:07:00 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:109)
    ... 8 more
    Caused by: java.lang.NullPointerException
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:77)
    ... 13 more
    any chance we could have a /pr alias, maybe a version that works, and ideally could you help HeroChat be compatible with older, working, versions too? I'm sure nothing drastic enough to break my server has changed but nontheless some of the plugins I want are demanding I use the latest version.

    That said - I had more problems with GroupUsers and GroupManager so its wonderful that you're keeping this plugin alive. I kinda wish they'd stuck to the groups.txt and users.txt format but given that bad decision, once you get a working config.yml this was the best way to change it on the fly by editing the file and doing /pr

    Actually its great that Plugin Devs are working together more - with a little more integration like adding sk89q you could form an informal group (infinitepool or some other bukkit pun?) with a set of Core plugins like Permissions, CommandBook, WorldEdit, WorldGuard, HeroChat with one ready-to-serve download for each recommended release like 531 that server admins like me could just put on there and *know* it would work..
    ..just an idea and InfinitePool would be a cool name and yes, I know if I was a rocket scientist I would be able to make all this stuff work together on my own, but hey, I'm not as smart as you guys! Keep up the good work!

    Take Care,
    Corum.
     
  8. Offline

    olliepack

    Bumping this to the top!
     
  9. Offline

    Subcode

    13:26:11 [SEVERE] Could not load plugins/Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:205)
    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:183)
    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:381)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:366)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.VerifyError: (class: com/nijikokun/bukkit/Permissions/Permissions, method: setupPermissions signature: ()V) Bad type in putfield/putstatic
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:105)
    ... 11 more
     
  10. Could someone tell me what is up with this:

    Code:
    13:25:36 [SCHWERWIEGEND] com/nijikokun/bukkit/Permissions/Permissions loading MultiVerse v1.5 (Permissions 2.1+) (Is it up to date?)
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.onarandombox.Rigby.MultiVerse.MultiVerse.checkPermissions(MultiVerse.java:556)
        at com.onarandombox.Rigby.MultiVerse.MultiVerse.onEnable(MultiVerse.java:104)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:30)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 12 more
    13:25:36 [INFO] [MYHOME]: 3 homes loaded
    13:25:36 [SCHWERWIEGEND] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading MyHome v1.9.2 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at me.taylorkelly.myhome.HomePermissions.initialize(HomePermissions.java:20)
        at me.taylorkelly.myhome.MyHome.onEnable(MyHome.java:70)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    13:25:36 [INFO] [MYWARP]: 46 warps loaded
    13:25:36 [SCHWERWIEGEND] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading MyWarp v1.10.3 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at me.taylorkelly.mywarp.WarpPermissions.initialize(WarpPermissions.java:20)
        at me.taylorkelly.mywarp.MyWarp.onEnable(MyWarp.java:68)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    13:25:36 [INFO] Stargate v.0.26 is enabled.
    13:25:36 [INFO] [Stargate] {world} Loaded 23 stargates with 2 set as always-on
    13:25:36 [SCHWERWIEGEND] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading Stargate v0.26 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at net.TheDgtl.Stargate.Stargate.setupPermissions(Stargate.java:245)
        at net.TheDgtl.Stargate.Stargate.onEnable(Stargate.java:104)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:451)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:217)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:83)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    13:25:36 [INFO] Done (0,334s)! For help, type "help" or "?"
    
    The plugins show up as activated but don't work obviously, because no one hast the appropriate permissions....
    Any ideas?
    All the plugins are approved for permissions 2.5.x as far as I know....
     
  11. Offline

    zaklampje

    Okey, hope u can do something with this:

    This is my config file, called mythworld.yml:

    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
    #
    # 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:
    #
    #       - '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:
    #
    #       - '*'
    #   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:
    #       - '-general.time'
    ##
    #   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:
                - 'permissions.reload'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        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:
        zaklampje:
            group: Default
            permissions:
    When I launch this, it just works... But when I destroy a block, it says:

    Code:
    2011-03-13 16:53:42 [INFO] Starting minecraft server version Beta 1.3
    2011-03-13 16:53:42 [WARNING] **** NOT ENOUGH RAM!
    2011-03-13 16:53:42 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-03-13 16:53:42 [INFO] Loading properties
    2011-03-13 16:53:42 [INFO] Starting Minecraft server on *:25565
    2011-03-13 16:53:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)
    2011-03-13 16:53:42 [INFO] Preparing level "mythworld"
    2011-03-13 16:53:42 [INFO] Preparing start region
    2011-03-13 16:53:43 [INFO] Preparing spawn area: 8%
    2011-03-13 16:53:44 [INFO] Preparing spawn area: 16%
    2011-03-13 16:53:45 [INFO] Preparing spawn area: 36%
    2011-03-13 16:53:46 [INFO] Preparing spawn area: 52%
    2011-03-13 16:53:47 [INFO] Preparing spawn area: 69%
    2011-03-13 16:53:48 [INFO] Preparing spawn area: 81%
    2011-03-13 16:53:49 [INFO] Preparing spawn area: 93%
    2011-03-13 16:53:50 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    2011-03-13 16:53:50 [INFO] [MonsterTamer]: version [1.2] (Companions) loaded
    2011-03-13 16:53:50 [INFO] [Permissions] version [2.5.3] (Phoenix)  loaded
    2011-03-13 16:53:50 [INFO] Done (0,831s)! For help, type "help" or "?"
    2011-03-13 16:54:17 [INFO] 143 recipes
    2011-03-13 16:54:17 [INFO] zaklampje [/127.0.0.1:1293] logged in with entity id 2098
    2011-03-13 16:54:38 [INFO] Loaded world: mythworld
    
    ____________________This is the error..._______________________________
    
    2011-03-13 16:54:38 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:656)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:64)
        at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:309)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        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:370)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        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)
    2011-03-13 16:54:49 [INFO] CONSOLE: Stopping the server..
    2011-03-13 16:54:49 [INFO] Stopping server
    2011-03-13 16:54:49 [INFO] [MonsterTamer]: version [1.2] (Companions) disabled
    2011-03-13 16:54:49 [INFO] [Permissions] version [2.5.3] (Phoenix) disabled successfully.
    2011-03-13 16:54:49 [INFO] Saving chunks
    
    Further, I can't use commands. It says I've got no permissions for that or something.

    This shows where all files are:

    http://img863.imageshack.us/i/picture.png/


    U wanna see more of my files, just ask...
     
  12. Offline

    GmK

    For anyone that cares, here's an incredibly simple bash script to reload your permissions file. This is for all setups where you have an external script adding people to your usergroups.

    Needs your server to be running on linux or similar, in a screen session. Copy&Paste into a new <nameyouwish>.sh, set it chmod+x <scriptname>.sh, and set a cronjob (e.g. "* * * * * reload.sh" to reload them every minute).

    Code:
    #!/bin/bash
    
    #Name of the screen session your server runs in
    
    SCREENNAME="minecraft"
    
    #Send permissionms reload command to the console
    
    screen -x $SCREENNAME -X stuff "`printf "permissions -reload all\r"`"
    
    #Uncomment the next line if you want your users to be notified ingame of a reload
    
    #screen -x $SCREENNAME -X stuff "`printf "say Permissions reloaded..\r"`"
    
     
  13. Hey! Try renaming config.yml to world.yml (or world2 etc whatever your world is)
    that moved me past that NULL error
     
  14. Offline

    xGhOsTkiLLeRx

    Hi.

    Can anyone tell me, how to disable the /tp and /give command for some specific users?
    They are in the ops.txt, but in my permissions config file, I wrote:

    - '-tp'
    and
    - '-give'

    But they are still able to use this two commands.
    Hope you can help me!
     
  15. Offline

    saturnine_nl

    Op rights overrule everything. So you might want to remove their name from the OPS.text
    [MERGETIME="1300112642"][/MERGETIME]
    if you set your own group to Default, you get the rights of default ...
    just change the group you're in.

    users:
    zaklampje:
    group: Default
    permissions:
     
  16. Offline

    xGhOsTkiLLeRx

    Thanks, now everything is working fine!
     
  17. Offline

    Superhykle

    Hello,
    I have some bugs with the antibuild in permissions, nobody can build but with the groups ive installed Default:false Build: True. Anyone knows what is wrong?
     
  18. Offline

    Zerco

    Post a link to your yml using pastebin or
    Code:
    Code in here
    tags. We need to see it to be sure of a problem.
     
  19. Offline

    Triggjo2

    For now its just the yml then you can reload it ingame without shuting down using /permissions -reload all
     
  20. Offline

    zaklampje

    Keep getting BLOCK-BREAK and 'You don't have permissions to use that command' Seems like it can't find the config-file... I open it with Notepad, just that u know.
     
  21. Offline

    Triggjo2

    Could you post it?
     
  22. Offline

    zaklampje

    Okey, hope u can do something with this:

    This is my config file, called mythworld.yml:

    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
    #
    # 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:
    #
    #       - '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:
    #
    #       - '*'
    #   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:
    #       - '-general.time'
    ##
    #   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:
                - 'permissions.reload'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        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:
        zaklampje:
            group: Admins
            permissions:
    When I launch this, it just works... But when I destroy a block, it says:

    Code:
    2011-03-13 16:53:42 [INFO] Starting minecraft server version Beta 1.3
    2011-03-13 16:53:42 [WARNING] **** NOT ENOUGH RAM!
    2011-03-13 16:53:42 [WARNING] To start the server with more ram,  launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-03-13 16:53:42 [INFO] Loading properties
    2011-03-13 16:53:42 [INFO] Starting Minecraft server on *:25565
    2011-03-13 16:53:42 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-516-gdf87bb3-b531jnks (MC: 1.3)
    2011-03-13 16:53:42 [INFO] Preparing level "mythworld"
    2011-03-13 16:53:42 [INFO] Preparing start region
    2011-03-13 16:53:43 [INFO] Preparing spawn area: 8%
    2011-03-13 16:53:44 [INFO] Preparing spawn area: 16%
    2011-03-13 16:53:45 [INFO] Preparing spawn area: 36%
    2011-03-13 16:53:46 [INFO] Preparing spawn area: 52%
    2011-03-13 16:53:47 [INFO] Preparing spawn area: 69%
    2011-03-13 16:53:48 [INFO] Preparing spawn area: 81%
    2011-03-13 16:53:49 [INFO] Preparing spawn area: 93%
    2011-03-13 16:53:50 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    2011-03-13 16:53:50 [INFO] [MonsterTamer]: version [1.2] (Companions) loaded
    2011-03-13 16:53:50 [INFO] [Permissions] version [2.5.3] (Phoenix)  loaded
    2011-03-13 16:53:50 [INFO] Done (0,831s)! For help, type "help" or "?"
    2011-03-13 16:54:17 [INFO] 143 recipes
    2011-03-13 16:54:17 [INFO] zaklampje [/127.0.0.1:1293] logged in with entity id 2098
    2011-03-13 16:54:38 [INFO] Loaded world: mythworld
    
    ____________________This is the error..._______________________________
    
    2011-03-13 16:54:38 [SEVERE] Could not pass event BLOCK_BREAK to Permissions
    java.lang.NullPointerException
        at com.nijiko.permissions.Control.getGroups(Control.java:656)
        at com.nijikokun.bukkit.Permissions.Listener.onBlockBreak(Listener.java:64)
        at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.java:309)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        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:370)
        at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
        at net.minecraft.server.NetworkManager.a(SourceFile:230)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
        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)
    2011-03-13 16:54:49 [INFO] CONSOLE: Stopping the server..
    2011-03-13 16:54:49 [INFO] Stopping server
    2011-03-13 16:54:49 [INFO] [MonsterTamer]: version [1.2] (Companions) disabled
    2011-03-13 16:54:49 [INFO] [Permissions] version [2.5.3] (Phoenix) disabled successfully.
    2011-03-13 16:54:49 [INFO] Saving chunks
    
    Further, I can't use commands. It says I've got no permissions for that or something.

    This shows where all files are:

    http://img863.imageshack.us/i/picture.png/


    U wanna see more of my files, just ask...
    [MERGETIME="1300118970"][/MERGETIME]
    ... Well, I don't get it... Anybody?
     
  23. Offline

    Triggjo2

    Have you tried to update to the most recent version?
     
  24. Offline

    zaklampje

    Hmmm, now I'm getting this:


    2011-03-14 17:22:02 [INFO] Starting minecraft server version Beta 1.3
    2011-03-14 17:22:02 [WARNING] **** NOT ENOUGH RAM!
    2011-03-14 17:22:02 [WARNING] To start the server with more ram, launch it as "java -Xmx1024M -Xms1024M -jar minecraft_server.jar"
    2011-03-14 17:22:02 [INFO] Loading properties
    2011-03-14 17:22:02 [INFO] Starting Minecraft server on *:25565
    2011-03-14 17:22:02 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-543-g06a64ab-b554jnks (MC: 1.3)
    2011-03-14 17:22:02 [INFO] Preparing level "mythworld"
    2011-03-14 17:22:02 [INFO] Preparing start region
    2011-03-14 17:22:03 [INFO] [Permissions] version [2.5.3] (Phoenix) was Initialized.
    2011-03-14 17:22:03 [WARNING] Plugin: MonsterTamer does not support the onLoad() method
    2011-03-14 17:22:03 [WARNING] Plugin: Permissions does not support the onLoad() method
    2011-03-14 17:22:03 [INFO] [MonsterTamer]: version [1.2] (Companions) loaded
    2011-03-14 17:22:03 [INFO] [Permissions] version [2.5.3] (Phoenix) loaded
    2011-03-14 17:22:03 [INFO] Done (0,081s)! For help, type "help" or "?"
     
  25. Offline

    Superhykle

    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.spawn'
            - 'essentials.list'
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.msg'
        Trusted Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
        Trial Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
      
    ##
    # 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:
    
    bear34:
            group: Member
            permissions:
    superhykle:
            group: Member
            permissions:
    gab0607:
            group: Member
            permissions:
    sqweebel:
            group: Member
            permissions:
    hm0123:
            group: Member
            permissions:
    EpicSanta:
            group: Member
            permissions:
    Toka:
            group: Member
            permissions:
    OG_Moneystacks:
            group: Member
            permissions:
    brennanx1:
            group: Member
            permissions:
    dennisnagh:
            group: Member
            permissions:
    jk1ller:
            group: Member
            permissions:
    eastonch:
            group: Member
            permissions:
    teedalt:
            group: Member
            permissions:
    hunt106:
            group: Member
            permissions:
    mad_vv:
            group: Member
            permissions:
    emobreakdown:
            group: Member
            permissions:
    slymdi:
            group: Member
            permissions:
    msawchuk:
            group: Member
            permissions:
    hectormora:
            group: Member
            permissions:
    luke_is_1337:
            group: Member
            permissions:
    truefarvel:
            group: Member
            permissions:
    clintonius:
            group: Member
            permissions:
    zokas1992:
            group: Member
            permissions:
    kamfy:
            group: Member
            permissions:
    flobblem:
            group: Member
            permissions:
    roblox2minecraft:
            group: Member
            permissions:
    ipencil:
            group: Member
            permissions:
    nokitch:
            group: Trusted Member
            permissions:
    metroidfan180:
            group: Trusted Member
            permissions:
    brianlance:
            group: Trusted Member
            permissions:
    MagnusGL:
            group: Trusted Member
            permissions:
    Werelofe:
            group: Trial Admin
            permissions:
    
    there
     
  26. Offline

    zaklampje

    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.spawn'
                - 'essentials.list'
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.msg'
        Trusted Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
        Trial Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
    ##
    # 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:
        bear34:
            group: Member
            permissions:
        superhykle:
            group: Member
            permissions:
        gab0607:
            group: Member
            permissions:
        sqweebel:
            group: Member
            permissions:
        hm0123:
            group: Member
            permissions:
        EpicSanta:
            group: Member
            permissions:
        Toka:
            group: Member
            permissions:
        OG_Moneystacks:
            group: Member
            permissions:
        brennanx1:
            group: Member
            permissions:
        dennisnagh:
            group: Member
            permissions:
        jk1ller:
            group: Member
            permissions:
        eastonch:
            group: Member
            permissions:
        teedalt:
            group: Member
            permissions:
        hunt106:
            group: Member
            permissions:
        mad_vv:
            group: Member
            permissions:
        emobreakdown:
            group: Member
            permissions:
        slymdi:
            group: Member
            permissions:
        msawchuk:
            group: Member
            permissions:
        hectormora:
            group: Member
            permissions:
        luke_is_1337:
            group: Member
            permissions:
        truefarvel:
            group: Member
            permissions:
        clintonius:
            group: Member
            permissions:
        zokas1992:
            group: Member
            permissions:
        kamfy:
            group: Member
            permissions:
        flobblem:
            group: Member
            permissions:
        roblox2minecraft:
            group: Member
            permissions:
        ipencil:
            group: Member
            permissions:
        nokitch:
            group: Trusted Member
            permissions:
        metroidfan180:
            group: Trusted Member
            permissions:
        brianlance:
            group: Trusted Member
            permissions:
        MagnusGL:
            group: Trusted Member
            permissions:
        Werelofe:
            group: Trial Admin
            permissions:
    
    Perhaps that will work...
     
  27. Offline

    Tyler8916

    Hello, im a bit new to permissions and im having trouble setting it up, below is what happened with my server, please look at the severe.

    Show Spoiler
    09:46:14 [INFO] Starting minecraft server version Beta 1.3
    09:46:14 [INFO] Loading properties
    09:46:14 [INFO] Starting Minecraft server on *:25565
    09:46:14 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    09:46:14 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    09:46:14 [WARNING] While this makes the game possible to play without internet a
    ccess, it also opens up the ability for hackers to connect with any username the
    y choose.
    09:46:14 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    09:46:14 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-539-
    ge42c8f6-b550jnks (MC: 1.3)
    09:46:14 [INFO] Preparing level "world"
    09:46:14 [INFO] Preparing start region
    09:46:15 [INFO] Preparing spawn area: 73%
    09:46:15 [SEVERE] Could not load plugins\Permissions.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:113)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:159)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:107)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:61)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:109)
    ... 8 more
    Caused by: while parsing a block mapping
    in "<reader>", line 61, column 5:
    Default:
    ^
    expected <block end>, but found BlockEntry
    in "<reader>", line 70, column 5:
    - 'TradeCraft.canBuy'
    ^
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.java:576)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.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.composeDocument(Composer.java:12
    2)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
    tructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    82)
    ... 13 more
    09:46:16 [WARNING] [SpawnControl] Permissions system not enabled, using isOP ins
    tead.
    09:46:16 [INFO] [SpawnControl] version [0.7] loaded
    09:46:16 [INFO] Loaded 13 configs
    09:46:16 [INFO] Loaded 0 shops
    09:46:16 [INFO] TradeCraft version 0.2 is enabled!
    09:46:16 [INFO] Done (0.200s)! For help, type "help" or "?"
    >

    This is my .yml incase there is an error with it

    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: true
    inheritance:
    permissions:
    - 'TradeCraft.canBuy'
    - 'TradeCraft.canSell'
    - 'TradeCraft.canMakePlayerShops'
    - 'TradeCraft.canMakeInfShops'
    - 'SpawnControl.sethome.basic
    - 'SpawnControl.home.basic
    Moderator:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'TradeCraft.canDestroyShops'
    Admins:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - 'TradeCraft.canDestroyShops'
    - 'SpawnControl.spawn.set'
    ##
    # 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:
    Tyler:
    group: Admins
    permissions:
    DJ2289:
    group: Moderator
    permissions:
     
  28. Offline

    Triggjo2

    Try this:
    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.spawn'
            - 'essentials.list'
        Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.msg'
        Trusted Member:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
        Trial Admin:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'essentials.spawn'
                - 'essentials.warp'
                - 'essentials.home'
                - 'essentials.sethome'
                - 'essentials.list'
                - 'essentials.ban'
                - 'essentials.kick'
                - 'essentials.msg'
    
    ##
    # 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:
    
        bear34:
            group: Member
            permissions:
        superhykle:
            group: Member
            permissions:
        gab0607:
            group: Member
            permissions:
        sqweebel:
            group: Member
            permissions:
        hm0123:
            group: Member
            permissions:
        EpicSanta:
            group: Member
            permissions:
        Toka:
            group: Member
            permissions:
        OG_Moneystacks:
            group: Member
            permissions:
        brennanx1:
            group: Member
            permissions:
        dennisnagh:
            group: Member
            permissions:
        jk1ller:
            group: Member
            permissions:
        eastonch:
            group: Member
            permissions:
        teedalt:
            group: Member
            permissions:
        hunt106:
            group: Member
            permissions:
        mad_vv:
            group: Member
            permissions:
        emobreakdown:
            group: Member
            permissions:
        slymdi:
            group: Member
            permissions:
        msawchuk:
            group: Member
            permissions:
        hectormora:
            group: Member
            permissions:
        luke_is_1337:
            group: Member
            permissions:
        truefarvel:
            group: Member
            permissions:
        clintonius:
            group: Member
            permissions:
        zokas1992:
            group: Member
            permissions:
        kamfy:
            group: Member
            permissions:
        flobblem:
            group: Member
            permissions:
        roblox2minecraft:
            group: Member
            permissions:
        ipencil:
            group: Member
            permissions:
        nokitch:
            group: Trusted Member
            permissions:
        metroidfan180:
            group: Trusted Member
            permissions:
        brianlance:
            group: Trusted Member
            permissions:
        MagnusGL:
            group: Trusted Member
            permissions:
        Werelofe:
            group: Trial Admin
            permissions:
    
    [MERGETIME="1300125365"][/MERGETIME]
    Try this:
    Code:
    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: true
            inheritance:
            permissions:
                - 'TradeCraft.canBuy'
                - 'TradeCraft.canSell'
                - 'TradeCraft.canMakePlayerShops'
                - 'TradeCraft.canMakeInfShops'
                - 'SpawnControl.sethome.basic'
                - 'SpawnControl.home.basic'
        Moderator:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'TradeCraft.canDestroyShops'
        Admins:
            default: true
            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:
        Tyler:
            group: Admins
            permissions:
        DJ2289:
            group: Moderator
            permissions:
     
  29. Offline

    Tyler8916

    Thank you for the help, permissions intilized fine.
     
  30. Offline

    zaklampje

    Hmmm, still not working...

    This file (mythworld.yml) is in the map permissions. That map is in the map plugins.
    When I do /permissions, it says I'm using Permissions 2.5.3, but further, I can't use commands...

    Code:
    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: true
            inheritance:
            permissions:
                - 'permissions.reload'
                - 'monstertamer.player.catch'
                - 'monstertamer.player.check'
                - 'monstertamer.player.befriend'
                - 'monstertamer.player.target'
                - 'monstertamer.player.release'
                - 'monstertamer.player.whistle'
                - 'monstertamer.player.follow'
        Moderator:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
        Admins:
            default: true
            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:
        zaklampje:
            group: Default
            permissions:
    And I can still build, but my file says Default can't build...
     
  31. Offline

    Superhykle

    Thank you so much man:D what did you accually do?
     
Thread Status:
Not open for further replies.

Share This Page