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

    juicychris47

    im getting some errors with permissionsplus therefore i cant promote/demote people in game, can some one help
    Screen shot 2011-05-12 at 4.49.38 PM.png
     
  3. Offline

    fffizzz

    if you look at the error, you have a formatting problem with your config

    copy your config to pastebin and post link so we cna look at it.
     
  4. Offline

    The_Nut

    from the screen shot, it looks like there are formatting errors in your permissions config file.
    line 113 and line 114 have errors. Most likely, you do not have them indented enough. Remember each indent must be 4 spaces per level, (no tabs, not 2 spaces each).
    Like @fffizzz said, till you post your config file, we will not know for sure.
     
  5. Offline

    Maxis010

    You don't set your users after the group names, that is what is causing your file to break

    Fixed
    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 true (build: true).  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: '&3&3Member&3&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                     - 'wormhole.simple.use'
                     - 'iJobs.user.menu'
                     - 'iJobs.user.join'
                     - 'iJobs.user.browse'
                     - 'iJobs.user.payday'
                     - 'iJobs.user.info'
                     - 'stargate.use'
                     - 'OwnBlocks.use'
                     - 'OwnBlocks.info'
                     - 'admincmd.player.msg'
                     - 'SpawnX.spawn'
                     - 'mobRider.animals'
                     - 'mobRider.monsters'
                     - 'admincmd.item.add'
                     - 'mobRider.command.attack'
    
        Moderator:
            default: false
            info:
                prefix: '&a&aModerator&a&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                      - 'wormhole.simple.use'
                      - 'iJobs.user.menu'
                      - 'iJobs.user.join'
                      - 'iJobs.user.browse'
                      - 'iJobs.user.payday'
                      - 'iJobs.user.info'
                      - 'stargate.use'
                      - 'OwnBlocks.use'
                      - 'OwnBlocks.info'
                      - 'admincmd.player.msg'
                      - 'SpawnX.spawn'
                      - 'mobRider.command.attack'
                      - 'mobRider.animals'
                      - 'mobRider.monsters'
                      - 'instabreak.breakbedrock'
          - 'clearinventory.use'
     
        Admins: 
            default: false
            info:Admin
                prefix: '&c&cAdmin&c&f'
                suffix: ''
                build: true
            inheritance:
            permissions:
                      - 'wormhole.simple.build'
                      - 'wormhole.simple.use'
                      - 'wormhole.simple.config'
                      - 'wormhole.simple.remove'
                      - '[+health]'
                      - 'iJobs.user.join'
                      - 'iJobs.user.browse'
                      - 'iJobs.user.payday'
                      - 'iJobs.user.info'
                      - 'iJobs.admin.setpayday'
                      - 'iJobs.admin.set'
                      - 'iJobs.admin.reload'
                      - 'godSelf'
                      - 'godOther'
                      - 'noFire'
                      - 'stargate.use'
                      - 'stargate.create'
                      - 'stargate.create.personal'
                      - 'stargate.destroy.all'
                      - 'stargate.destroy.owner'
                      - 'stargate.hidden'
                      - 'stargate.private'
                      - 'stargate.free.use'
                      - 'stargate.free.create'
                      - 'stargate.free.destroy'
                      - 'stargate.world.{worldname}'
                      - 'stargate.network.{networkname}'
                      - 'stargate.option.hidden'
                      - 'stargate.option.alwayson'
                      - 'stargate.option.private'
                      - 'stargate.option.free'
                      - 'instabreak.breakbedrock'
                      - 'admincmd.item.noblacklist'
                      - 'OwnBlocks.ignoreOwnership'
                      - 'OwnBlocks.use'
                      - 'OwnBlocks.info'
                      - 'admincmd.player.msg'
                      - 'SpawnX.setspawn'
                      - 'SpawnX.spawn'
                      - 'odd.item.aliases'
                      - 'odd.item.info'
                      - 'odd.item.list'
                      - 'odd.item.reload'
                      - 'mobRider.command.goto'
                      - 'mobRider.command.attack'
                      - 'mobRider.command.go'
                      - 'mobRider.command.stop'
                      - 'mobRider.command.follow'
                      - 'mobRider.command.mount'
                      - 'mobRider.players'
                      - 'mobRider.animals'
                      - 'mobRider.monsters'
                      - 'clearinventory.use'
      
    ##
    # Users denote which users are included in which group.
    # JanTTuX is in the Admin group
    # ValentynxD 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:
        JanTTuX:
            group: Admins
            permissions:
        Anotzu:
            group: Moderator
            permissions:
    See the bottom of the file for the users table, that is how your users should be added
    I also took out a few other problems listed below
    You had the word Admin after the Admin group info tag
    The permissions
    Code:
                      - 'stargate.world.{worldname}'
                       - 'stargate.network.{networkname}'
    Are dynamic permissions meaning you replace worldname and networkname with the world and network names those groups should have access to, I've changed them to wildcards (worldname and networkname to *) so that it grants all worlds and networks
    Copy the contents of this code tag in to your yml and run your server, if it doesn't work give us a shout again
     
  6. Offline

    juicychris47

    now its just says those errors but the config is fixed.. here
    Screen shot 2011-05-12 at 5.30.35 PM.png

    And now This is Happening :/
    View attachment 3289

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

    IronPixel

    Is it possible to have colors in the joining text for the gropes?
     
  8. Offline

    juicychris47

    ok wait i solved the first problem, now can someone please help me with the undefined groups?
     
  9. Offline

    omgneeq

    Hi there,

    Currently having a bit of a problem trying to get exemptions to work, other than that, everything works well.
    Basically I have an admins group, a user inside the admins group, then a permission exemption on the user, my config is below anyway.

    The exemption doesn't appear to work at all, no matter what I put in it, I have tried multiple permissions from commandbook and worldedit to no avail.

    I copied the syntax from the example provided within the default config comments, using Derpina.

    Code:
    plugin:
        permissions:
            system: default
            copies:
    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:
                 - '*'
    
    users:
        omgneeq:
            group: Admins
            permissions:
                - '-worldedit.override.bedrock'
    Thanks!
     
  10. Offline

    JanTTuX


    i got new problem :

    Code:
    [Lnet.minecraft.server.Statistic;@15b0afd
    146 recipes
    [Lnet.minecraft.server.Statistic;@15b0afd
    16 achievements
    19:56:31 [INFO] Starting minecraft server version Beta 1.5_02
    19:56:31 [INFO] Loading properties
    19:56:31 [INFO] Starting Minecraft server on *:25565
    19:56:31 [WARNING] **** SERVER IS RUNNING IN OFFLINE/INSECURE MODE!
    19:56:31 [WARNING] The server will make no attempt to authenticate usernames. Be
    ware.
    19:56:31 [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.
    19:56:31 [WARNING] To change this, set "online-mode" to "true" in the server.set
    tings file.
    19:56:31 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-
    g5ee3f0f-b766jnks (MC: 1.5_02)
    19:56:32 [INFO] Preparing level "perttilandia1"
    19:56:32 [INFO] Preparing start region
    19:56:33 [INFO] Preparing spawn area: 36%
    19:56:34 [INFO] LWC     Loading shared objects
    19:56:34 [INFO] LWC     Native library: plugins/LWC/lib/native/Windows/x86/sqlit
    ejdbc.dll
    19:56:34 [SEVERE] Could not load 'plugins\Permissions.jar' in folder 'plugins':
    
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:164)
            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)
    Caused by: while scanning a simple key
     in "<reader>", line 112, column 9:
                info:Admin
                ^
    could not found expected ':'
     in "<reader>", line 113, column 19:
                    prefix: '&c&cAdmin&c&f'
                          ^
    
            at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(Scanne
    rImpl.java:400)
            at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.jav
    a:231)
            at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:18
    2)
            at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(Par
    serImpl.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: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 com.nijiko.configuration.NotNullConfiguration.load(NotNullConfigurati
    on.java:58)
            at com.nijikokun.bukkit.Permissions.Permissions.<init>(Permissions.java:
    132)
            ... 13 more
    19:56:34 [INFO] [AdminCmd] Plugin Enabled. (version4.7.1)
    19:56:34 [INFO] AppleTree activated.
    19:56:34 [INFO] [BlackJack v1.5]: Table ready
    19:56:34 [INFO] BlocksOnGlass version 0.22 is enabled!
    19:56:34 [INFO] [BoosterTrax] Plugin enabled! (version1.1)
    19:56:34 [INFO] Chat v 0.1 is enabled
    19:56:34 [INFO] [ClearInventory] v0.3 enabled
    19:56:34 [INFO] CopyCat 0.2 Enabled
    19:56:34 [INFO] DeathMessagePlugin version 1.9 is enabled without permissions!
    19:56:35 [INFO] Loaded Essentials build 2.2.8 maintained by Zenexer, ementalo, A
    elux, Brettflan, KimKandor, snowleo and ceulemans.
    19:56:35 [INFO] FireFix configuration loaded.
    19:56:35 [INFO] FireFix version 1.1 enabled.
    19:56:35 [INFO] [FishPeople]  version 1.3 is enabled!
    19:56:35 [SEVERE] [GODMODE] The settings file isn't properly set up. Please set
    it up before using the plugin. The plugin will be disabled until you do.
    19:56:35 [INFO] [GODMODE] Disabled
    19:56:35 [INFO] HomeX enabled
    19:56:35 [INFO] Permission system not detected, defaulting to OP
    19:56:35 [INFO] iChat (v2.2.3) enabled
    19:56:35 [INFO] [iConomy] Logging is currently disabled.
    19:56:35 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    19:56:35 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    19:56:35 [INFO] [BlackJack] Successfully linked with iConomy.
    19:56:35 [INFO] InstaBreak version 1.5 is enabled!
    19:56:35 [INFO] Permission system not detected, defaulting to OP
    19:56:35 [INFO] Login Queue Started
    19:56:35 [INFO] LWC     Loaded 116 locale strings (0 overrides)
    19:56:36 [INFO] LWC     Loading SQLite
    19:56:36 [INFO] SQLite  Using: Native
    19:56:36 [INFO] LWC     At version: v2.31
    19:56:36 [INFO] MobRider 0.37 enabled.
    19:56:36 [INFO] MobRider - Permissions Plugin Not Detected (enabling for all use
    rs)
    19:56:36 [INFO] [MotherNature] Neither Permissions or GroupManager found. Using
    ops.txt for permission handling
    19:56:36 [INFO] [MotherNature] Plugin enabled! (version 1.2)
    19:56:36 [INFO] [NETHRAR] Not listening for player respawns.
    19:56:36 [INFO] [NETHRAR] Normal world name: Perttilandia
    19:56:37 [INFO] Preparing spawn area for Perttilandia, 44%
    19:56:38 [INFO] [NETHRAR] Nether world name: Nether netherWorld
    19:56:39 [INFO] Preparing spawn area for Nether netherWorld, 69%
    19:56:39 [INFO] [NETHRAR] Normal : Nether scale: 8:1
    19:56:39 [INFO] [NETHRAR] Nethrar v1.4 enabled.
    19:56:39 [INFO] NoExplode version 1.4 is enabled!
    19:56:39 [INFO] [OddItem] 0.6.5 enabled
    19:56:39 [WARNING] [OddItem] Permissions not found. Using op-only mode.
    19:56:39 [INFO] [OddItem] Parsed 122 entries.
    19:56:39 [INFO] [OwnBlocks] Database read in from file
    19:56:39 [INFO] Permission system not detected, defaulting to OP
    19:56:39 [INFO] [OwnBlocks] version 9.0 initialized
    19:56:39 [INFO] SaddleBack version 1.2 is enabled!
    19:56:39 [INFO] SheepFeed version 1.2 by ArmEagle is enabled!
    19:56:39 [INFO] [SignColours] Permission system not enabled. Enabling coloured s
    igns for all users
    19:56:39 [INFO] Skillz Enabled!
    19:56:39 [INFO] [SpawnMob] Using ops.txt!
    19:56:39 [INFO] SpawnX enabled
    19:56:39 [INFO] Permission system not detected, defaulting to OP
    19:56:39 [INFO] [STEPS] Steps - Enabled. By Adamki11s.
    19:56:39 [INFO] TravelPortals version 1.5 is enabled!
    19:56:39 [INFO] Done (0.776s)! For help, type "help" or "?"
    >
     
  11. Offline

    Jeyge

    I show the latest as 10.6 but either way, you just need to make sure you have the version 6 of the Java SE. That error is caused by running a lower version of java than what the plugin is compiled in.
     
  12. Offline

    Maxis010

    OK I missed that one
    Go back to the yml and find the info: for admin then remove Admin from that line so it just reads info:
     
  13. Offline

    The_Nut

    now it seems you need to add something to your permissions groups to satisfy the "[P2] version 2.1" plugin. whatever that is.
    i suggest trying to add a rank line under the info: of each group... Ex:
    Code:
    groups:
        Admins:
            default: false
            info:
                prefix: '&c&cAdmin&c&f'
                suffix: ''
                build: true
                rank: 1
    
    Just a guess since I do not know what the "[p2]" plugin is in your log.
     
  14. Offline

    rouing

    Kk im having a huge problem. Its affecting all my plugins.
    Kk here is my log from just starting then stopping. Nothing else.
    Code:
    2011-05-12 14:29:40 [INFO] Starting minecraft server version Beta 1.5_02
    2011-05-12 14:29:40 [INFO] Loading properties
    2011-05-12 14:29:40 [INFO] Starting Minecraft server on *:25565
    2011-05-12 14:29:40 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-729-g5ee3f0f-b766jnks (MC: 1.5_02)
    2011-05-12 14:29:40 [INFO] Preparing level "world"
    2011-05-12 14:29:40 [INFO] Preparing start region
    2011-05-12 14:29:41 [INFO] Preparing spawn area: 81%
    2011-05-12 14:29:42 [INFO] LWC    Loading shared objects
    2011-05-12 14:29:42 [INFO] LWC    Native library: plugins/LWC/lib/native/Windows/amd64/sqlitejdbc.dll
    2011-05-12 14:29:43 [INFO] DataSourcePool [MinecartManiaCore] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-12 14:29:43 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-12 14:29:43 [INFO] Entities enhanced[0] subclassed[1]
    2011-05-12 14:29:43 [INFO] DataSourcePool [MinecartManiaSignCommands] autoCommit[false] transIsolation[SERIALIZABLE] min[2] max[20]
    2011-05-12 14:29:43 [INFO] SubClassFactory parent ClassLoader [org.bukkit.plugin.java.PluginClassLoader]
    2011-05-12 14:29:43 [INFO] Entities enhanced[0] subclassed[1]
    2011-05-12 14:29:43 [INFO] [Permissions] (Phoenix) was Initialized.
    2011-05-12 14:29:44 [INFO] AppleTree activated.
    2011-05-12 14:29:44 [INFO] Loading BetterShop version 1.6.5.6 ...
    2011-05-12 14:29:46 [INFO] [BetterShop] Newer BetterShop version found on git (Wed May 11 21:00:19 CDT 2011)
    2011-05-12 14:29:49 [SEVERE] [BetterShop] Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
        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 com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:1116)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:343)
        at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2334)
        at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2371)
        at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2163)
        at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:794)
        at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
        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 com.mysql.jdbc.Util.handleNewInstance(Util.java:407)
        at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:378)
        at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at com.jascotty2.MySQL.MySQL.connect(MySQL.java:202)
        at com.jascotty2.MySQL.MySQL.connect(MySQL.java:72)
        at com.jascotty2.MySQL.MySQLPriceList.<init>(MySQLPriceList.java:27)
        at com.jascotty2.Shop.PriceList.loadMySQL(PriceList.java:149)
        at com.nhksos.jjfs85.BetterShop.BSPriceList.load(BSPriceList.java:30)
        at com.nhksos.jjfs85.BetterShop.BetterShop.onEnable(BetterShop.java:282)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    Caused by: java.net.ConnectException: Connection refused: connect
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.PlainSocketImpl.doConnect(Unknown Source)
        at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
        at java.net.PlainSocketImpl.connect(Unknown Source)
        at java.net.SocksSocketImpl.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.connect(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at java.net.Socket.<init>(Unknown Source)
        at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:254)
        at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:292)
        ... 30 more
    2011-05-12 14:29:49 [SEVERE] [BetterShop] Failed to connect to MySQL database minecraft
    2011-05-12 14:29:49 [SEVERE] [BetterShop] cannot load pricelist: null
    2011-05-12 14:29:49 [SEVERE] [BetterShop] null
    java.lang.NullPointerException
        at com.jascotty2.Shop.PriceList.close(PriceList.java:241)
        at com.nhksos.jjfs85.BetterShop.BetterShop.onDisable(BetterShop.java:335)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:129)
        at com.nhksos.jjfs85.BetterShop.BetterShop.onEnable(BetterShop.java:285)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:49 [INFO] BetterShop now unloaded
    2011-05-12 14:29:49 [INFO] [BBROTHER] ------------------------------------
    2011-05-12 14:29:49 [INFO] [BBROTHER] Hello, and thank you for using the TESTING version of BigBrother!
    2011-05-12 14:29:49 [INFO] [BBROTHER] Please note that, since this is far from complete, there will be many bugs.
    2011-05-12 14:29:49 [INFO] [BBROTHER] IF YOU FIND ANY BUGS, PLEASE REPORT THEM ON http://bugs.nexisonline.net/bb
    2011-05-12 14:29:49 [INFO] [BBROTHER] Please stay tuned in irc.esper.net #bigbrother for updates and build notifications.
    2011-05-12 14:29:49 [INFO] [BBROTHER] ------------------------------------
    2011-05-12 14:29:51 [SEVERE] [BBROTHER] Your database settings are probably incorrect:
    java.sql.SQLException: invalid database address: jdbc:jdc:jdcpool
        at org.sqlite.JDBC.createConnection(JDBC.java:74)
        at org.sqlite.JDBC.connect(JDBC.java:64)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at java.sql.DriverManager.getConnection(Unknown Source)
        at me.taylorkelly.bigbrother.datasource.BBDB.reconnect(BBDB.java:142)
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:108)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:51 [SEVERE] null loading BigBrother v1.8-SNAPSHOT (Is it up to date?)
    java.lang.NullPointerException
        at me.taylorkelly.bigbrother.datasource.BBDB.tableExists(BBDB.java:95)
        at me.taylorkelly.bigbrother.tablemgrs.DBTable.tableExists(DBTable.java:31)
        at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.<init>(BBDataTable.java:55)
        at me.taylorkelly.bigbrother.tablemgrs.BBDataMySQL.<init>(BBDataMySQL.java:16)
        at me.taylorkelly.bigbrother.tablemgrs.BBDataTable.getInstance(BBDataTable.java:43)
        at me.taylorkelly.bigbrother.BigBrother.onEnable(BigBrother.java:115)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:51 [SEVERE] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading Cabinet v1.3 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at com.mjmr89.Cabinet.Cabinet.setupPermissions(Cabinet.java:57)
        at com.mjmr89.Cabinet.Cabinet.onEnable(Cabinet.java:36)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:51 [INFO] ChopTree 1.0 enabled!
    2011-05-12 14:29:51 [INFO] CommandBook 1.4.3-customized enabled.
    2011-05-12 14:29:51 [INFO] CommandBook: 0 banned name(s) loaded.
    2011-05-12 14:29:51 [INFO] CommandBook: 0 kit(s) loaded.
    2011-05-12 14:29:51 [INFO] CommandBook: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-12 14:29:51 [INFO] CraftBukkitUpToDate version 2.5.3 is enabled!
    2011-05-12 14:29:51 [INFO] [Permissions] version [2.7.3] (Phoenix)  loaded
    2011-05-12 14:29:51 [INFO] CommandBook: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-12 14:29:51 [INFO] CButD: Permission didn't work, defaulting to OP
    2011-05-12 14:29:51 [INFO] CButD: CraftBukkit is up to Date
    2011-05-12 14:29:51 [INFO] [Factions v1.1.7] === INIT START ===
    2011-05-12 14:29:51 [INFO] [Factions v1.1.7] Loading conf from disk
    2011-05-12 14:29:51 [INFO] [Factions v1.1.7] Loading players from disk
    2011-05-12 14:29:51 [INFO] [Factions v1.1.7] Loading factions from disk
    2011-05-12 14:29:52 [INFO] [Factions v1.1.7] Loading board from disk
    2011-05-12 14:29:52 [SEVERE] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading Factions v1.1.7 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at org.mcteam.factions.Factions.setupPermissions(Factions.java:190)
        at org.mcteam.factions.Factions.onEnable(Factions.java:138)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:52 [INFO] FalseBookBlock v0.84alpha by GeMo enabled
    2011-05-12 14:29:52 [INFO] [FalseBook Block] 2 Cauldrons successfully loaded.
    2011-05-12 14:29:52 [INFO] FalseBookCart v0.84alpha by GeMo enabled
    2011-05-12 14:29:52 [INFO] FalseBookChat v0.84alpha by GeMo enabled
    2011-05-12 14:29:52 [INFO] [FalseBook Core] FalseBookCore v0.84alpha by GeMo enabled!
    2011-05-12 14:29:52 [INFO] FalseBookExtra v0.84alpha by GeMo enabled
    2011-05-12 14:29:52 [INFO] FalseBookIC v0.84alpha by GeMo enabled
    2011-05-12 14:29:52 [INFO] plugins\Help\ExtraHelp\bettershop.yml
    2011-05-12 14:29:52 [SEVERE] loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "me/taylorkelly/help/HelpList" loading Help v0.2.4.1 (Is it up to date?)
    java.lang.LinkageError: loader constraint violation: loader (instance of org/bukkit/plugin/java/PluginClassLoader) previously initiated loading for a different type with name "me/taylorkelly/help/HelpList"
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:208)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at me.taylorkelly.help.HelpLoader.load(HelpLoader.java:81)
        at me.taylorkelly.help.Help.onEnable(Help.java:38)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:52 [INFO] [HeroicDeath] 1.8.1.156 enabled.
    2011-05-12 14:29:52 [INFO] [iChat] Found Permissions (v2.7.3)
    2011-05-12 14:29:52 [SEVERE] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading iChat v2.2.3 (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.iChat.iChat.onEnable(iChat.java:65)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:54 [INFO] [iConomy] Could not create connection: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    2011-05-12 14:29:54 [INFO] [iConomy] Database initialization failed: java.lang.NullPointerException
    2011-05-12 14:29:54 [INFO] [iConomy] Plugin disabled.
    2011-05-12 14:29:54 [INFO] LWC    Loaded 116 locale strings (0 overrides)
    2011-05-12 14:29:54 [INFO] LWC    Using Nijikokun's permissions plugin for permissions
    2011-05-12 14:29:54 [SEVERE] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading LWC v2.31 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at com.griefcraft.lwc.LWC.load(LWC.java:986)
        at com.griefcraft.lwc.LWCPlugin.onEnable(LWCPlugin.java:329)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:54 [SEVERE] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading mcbans v2.9.1 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at com.firestar.mcbans.mcbans_permissions.setupPermissions(mcbans_permissions.java:18)
        at com.firestar.mcbans.mcbans.onEnable(mcbans.java:121)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:54 [SEVERE] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading mcMMO v1.0.07 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at com.gmail.nossr50.mcPermissions.initialize(mcPermissions.java:21)
        at com.gmail.nossr50.mcMMO.onEnable(mcMMO.java:82)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:54 [INFO] [Minecart Mania] Debug mode switched to NORMAL
    2011-05-12 14:29:54 [INFO] [Minecart Mania] MinecartManiaCore version 1.2.2 is enabled!
    2011-05-12 14:29:54 [INFO] [Minecart Mania] MinecartManiaSignCommands version 1.2.2 is enabled!
    2011-05-12 14:29:54 [INFO] [Minecart Mania] MinecartManiaStation version 1.2.2 is enabled!
    2011-05-12 14:29:54 [INFO] [MYHOME]: 1 homes loaded
    2011-05-12 14:29:54 [INFO] [MYHOME] Permissions enabled using: Permissions v2.7.3
    2011-05-12 14:29:55 [INFO] [MYHOME] 'Help' support enabled.
    2011-05-12 14:29:55 [INFO] [MYHOME] MyHome 1.9.5 enabled
    2011-05-12 14:29:55 [INFO] [nSpleef] Hooked into Permissions 2.7.3
    2011-05-12 14:29:55 [INFO] [nSpleef] Hooked into iConomy 5.0
    2011-05-12 14:29:55 [INFO] nSpleef version 0.4.1 is enabled!
    2011-05-12 14:29:55 [SEVERE] com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions loading PermissionsPlus v2.1.1 (Is it up to date?)
    java.lang.ClassCastException: com.nijikokun.bukkit.Permissions.Permissions cannot be cast to com.nijikokun.bukkit.Permissions.Permissions
        at net.codej.permissionsplus.PermissionsPlus.loadPermissionsAddon(PermissionsPlus.java:184)
        at net.codej.permissionsplus.PermissionsPlus.onEnable(PermissionsPlus.java:75)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:127)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:676)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:249)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:131)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:109)
        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)
    2011-05-12 14:29:55 [INFO] [Runecraft] Rune blacklist with 0 runes loaded.
    2011-05-12 14:29:55 [INFO] [Runecraft] Loaded:
    2011-05-12 14:29:55 [INFO] [Runecraft]  - 1 waypoints, 1 teleporters
    2011-05-12 14:29:55 [INFO] [Runecraft]  - 0 position runes
    2011-05-12 14:29:55 [INFO] [Runecraft]  - 0 rune pads
    2011-05-12 14:29:55 [INFO] [Runecraft]  - 1 player data sets
    2011-05-12 14:29:55 [INFO] [Runecraft]  - 2 block runes
    2011-05-12 14:29:55 [INFO] [Runecraft] World 'world': id 0.
    2011-05-12 14:29:55 [INFO] [Runecraft] Runecraft 2.5.2 initialized.
    2011-05-12 14:29:55 [INFO] Runecraft plugin version 0.3 is enabled!
    2011-05-12 14:29:55 [INFO] SimpleSave: 2.2.1 Initialized
    2011-05-12 14:29:55 [INFO] SimpleSave: Current save interval is 10 minute(s)
    2011-05-12 14:29:55 [INFO] SimpleSave: Current backup interval is 60 minute(s)
    2011-05-12 14:29:55 [INFO] WorldEdit 4.4 enabled.
    2011-05-12 14:29:55 [INFO] WorldEdit: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-12 14:29:55 [INFO] WorldGuard: No known permissions plugin detected. Using configuration file for permissions.
    2011-05-12 14:29:55 [INFO] WorldGuard: (world) Single session is enforced.
    2011-05-12 14:29:55 [INFO] WorldGuard: (world) TNT ignition is blocked.
    2011-05-12 14:29:55 [INFO] WorldGuard: (world) Lighters are PERMITTED.
    2011-05-12 14:29:55 [INFO] WorldGuard: (world) Lava fire is blocked.
    2011-05-12 14:29:55 [INFO] WorldGuard: (world) All fire spread is disabled.
    2011-05-12 14:29:55 [INFO] WorldGuard: Loaded configuration for world 'world"
    2011-05-12 14:29:55 [INFO] WorldGuard: 1 regions loaded for 'world'
    2011-05-12 14:29:55 [INFO] WorldGuard 5.0-alpha10 enabled.
    2011-05-12 14:29:55 [SEVERE] [Minecart Mania] Permissions failed to load properly!
    2011-05-12 14:29:55 [INFO] [Minecart Mania] MinecartManiaAdminControls version 1.2.2 is enabled!
    2011-05-12 14:29:55 [INFO] [Minecart Mania] MinecartManiaAutomations version 1.2.1 is enabled!
    2011-05-12 14:29:55 [INFO] [Minecart Mania] MinecartManiaChestControl version 1.2.2 is enabled!
    2011-05-12 14:29:55 [INFO] Done (1.481s)! For help, type "help" or "?"
    2011-05-12 14:29:55 [INFO] [FalseBook Block] 0 Areas loaded.
    2011-05-12 14:29:55 [INFO] [FalseBook Block] 0 Bridges successfully loaded.
    2011-05-12 14:29:55 [INFO] [FalseBook Block] 0 Doors successfully loaded.
    2011-05-12 14:29:55 [INFO] [FalseBook Block] Gates successfully loaded.
    2011-05-12 14:29:55 [INFO] [FalseBook IC] plugins/FalseBook/Transmitter.db not found.
    2011-05-12 14:29:55 [INFO] [FalseBook IC] plugins/FalseBook/Receiver.db not found.
    2011-05-12 14:29:55 [INFO] [FalseBook IC] plugins/FalseBook/SensorList.db not found.
    2011-05-12 14:29:55 [INFO] [nSpleef] Arenas loaded!
    2011-05-12 14:30:01 [INFO] The automatic update-Check only work every 6 hours, the last check was 4 minutes ago.
    2011-05-12 14:30:04 [INFO] Stopping the server..
    2011-05-12 14:30:04 [INFO] CONSOLE: Stopping the server..
    2011-05-12 14:30:04 [INFO] Stopping server
    2011-05-12 14:30:04 [INFO] AppleTree disabled.
    2011-05-12 14:30:04 [INFO] Cabinet version 1.3 is disabled!
    2011-05-12 14:30:04 [INFO] ChopTree disabled!
    2011-05-12 14:30:04 [INFO] [Factions v1.1.7] Disabled
    2011-05-12 14:30:04 [INFO] FalseBookBlock v0.84alpha by GeMo disabled
    2011-05-12 14:30:04 [INFO] FalseBookCart v0.84alpha by GeMo disabled
    2011-05-12 14:30:04 [INFO] FalseBookChat v0.84alpha by GeMo disabled
    2011-05-12 14:30:04 [INFO] FalseBookExtra v0.84alpha by GeMo disabled
    2011-05-12 14:30:04 [INFO] FalseBookIC v0.84alpha by GeMo disabled
    2011-05-12 14:30:04 [INFO] [HeroicDeath] 1.8.1.156 disabled.
    2011-05-12 14:30:04 [INFO] [iChat] iChat Disabled
    2011-05-12 14:30:04 [INFO] LWC    Freeing MySQL
    2011-05-12 14:30:04 [INFO] MCBans: Waiting for threads to close!
    2011-05-12 14:30:04 [SEVERE] java.lang.NullPointerException
    2011-05-12 14:30:04 [SEVERE]     at com.firestar.mcbans.mcbans.onDisable(mcbans.java:230)
    2011-05-12 14:30:04 [SEVERE]     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:129)
    2011-05-12 14:30:04 [SEVERE]     at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:690)
    2011-05-12 14:30:04 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:261)
    2011-05-12 14:30:04 [SEVERE]     at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:255)
    2011-05-12 14:30:04 [SEVERE]     at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:120)
    2011-05-12 14:30:04 [SEVERE]     at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:241)
    2011-05-12 14:30:04 [SEVERE]     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:317)
    2011-05-12 14:30:04 [SEVERE]     at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)
    2011-05-12 14:30:04 [INFO] Stopping server
    2011-05-12 14:30:04 [INFO] mcMMO was disabled.
    2011-05-12 14:30:04 [INFO] [Minecart Mania] MinecartManiaCore version 1.2.2 is disabled!
    
    Ive noticed some of the server problems was MYSQL but there is some permissions problems
     
  15. Offline

    The_Nut

    What version of Java do you have?
     
  16. Offline

    juicychris47

    Thanks Man! It worked :)
     
  17. Offline

    fregaPT I steal plugins as my own

    How do I add permissions support to my plugin ?
    [HELP NEEDED]
     
  18. Offline

    Jeyge

    In the first post there is a link to the API.
     
  19. Yeah, but I'm running OS X 10.5.8 not OS X 10.6. The Java update is the same for both they're just named differently. I went into my Java preferences and and I have "J2SE 5.0 (32-bit), Java SE 6 (64 bit), and J2SE 5.0 (64-bit)" checked as on. The exact versions of each are 1.5.0_28-b04, 1.6.0_24-b07-334, and 1.5.0_28-b04.
     
  20. Offline

    Jeyge

    I'm not a Mac person myself so I had to look up how it works with Java and what the faq said was to bump the Java SE 6 up to the top of the list. Now I don't actually know what list or what it means, but I do know that Permissions requires 1.6 and you are trying to access it with 1.5. If you can get that 1.6 version to be the one being called, it should fix all of your problems. Perhaps it is the way you call Java from your ".bat" command line tool thingy (command file I think it is on the Mac).
     
  21. I just laughed at myself.. It was so easy. All I had to do was drag the 10.6 version of Java up to the top of the list and tada! It worked! Lol. Thanks for the help!
     
  22. Offline

    grapeman

    Permissions are not being applied to users :(

    The permissions plugin loads up alright, but it would seem the yml isnt doing anything.

    I had a search on this thread, but cant seem to see anything wrong with the file. Could someone help me out?

    YML file: pastebin
     
  23. Offline

    Zane B.

    Hitman4hire, Wheres ur 's between nodes?
    PermissionsPlus F***s up ur config file btw

    make sure the .yml file is named the EXACT name of the world you want it to apply to, so if your world is just called world, then it's world.yml

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

    Jeyge

    Your VIP group should start like:
    Code:
        VIP:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
    
     
  25. Offline

    Zane B.

    umm sir, you can't subtract from an '*'
     
  26. Offline

    DeathQueen

    Yeah, i am getting those, but I correctly naming it. It's named world.yml, which is my worlds name. Any other ideas?
     
  27. Offline

    Jeyge

    If you are getting the default files being created, then the Permissions plugin doesn't think you named it correctly. You could post up your server.properties, screen shot of your server directory, plugins directory and permissions directory if you want but outside of that, the plugin itself is saying it is wrong.

    Edit - wait, are you getting the BLOCK_PLACE errors or is it creating a dummy file or both?
     
  28. Offline

    grapeman

    Thanks for the replies. I have made sure the yml file is called world.yml (exactly the same as the sever.properties and i do have extensions on in windows so its not world.yml.yml)

    Thanks for spotting the VIP error :)

    But it still doesn't load :(
     
  29. Offline

    Jeyge

    Okay, you didn't actually say what wasn't working though. You just said it didn't seem to work. What commands aren't working and for who?
     
  30. Offline

    grapeman

    I'm in the default group and i can: warp (Warpz0r), use thor (craftbook) and kick people
     
  31. Offline

    Jeyge

    Damn, I didn't know how picky yml was. The missing permissions nodes from the users was causing it.
    Code:
    # Supports "Default" and "GroupUsers"
    plugin:
        permissions:
            system: default
            copies:
     
    ##
    # Groups can contain inheritance.
    #   To make a group inherit the permissions from another
    #   group simply place the groups name in the "inheritance:"
    #   field seperated by commas.
    #
    #   Example: inheritance: Default,Admins,
    ##
    #   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:
    #
    #       - '*'
    ##
    groups:
        Default:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - 'clearinventry.use'
                - 'commandbook.bans.isbanned'
                - 'commandbook.call'
                - 'commandbook.clear'
                - 'commandbook.give.infinite'
                - 'commandbook.give.stacks'
                - 'commandbook.give.stacks.unlimited'
                - 'commandbook.intro'
                - 'commandbook.kit.list'
                - 'commandbook.kit.kits.*'
                - 'commandbook.more'
                - 'commandbook.more.infinite'
                - 'commandbook.motd'
                - 'commandbook.msg'
                - 'commandbook.return'
                - 'commandbook.rules'
                - 'commandbook.spawn'
                - 'commandbook.teleport'
                - 'commandbook.say'
                - 'commandbook.say.me'
                - 'commandbook.spawn'
                - 'commandbook.whereami'
                - 'commandbook.whereami.compass'
                - 'commandbook.who'
                - 'commandbook.whois'
                - 'elevators.builder'
                - 'iConomy.rank'
                - 'minecartmania.commands.info'
                - 'minecartmania.commands.momentum'
                - 'minecartmania.commands.trucompass'
                - 'minecartmania.signs.*'
                - 'multiverse.list'
                - 'simplesign.edit'
                - 'simplesign.colour.*'
                - 'worldedit.navigation.unstuck'
                - 'warpz0r.compasshome'
                - 'warpz0r.compassreset'
                - 'warpz0r.compasswarp'
                - 'warpz0r.home'
                - 'warpz0r.list'
                - 'warpz0r.sethome'
                - 'warpz0r.warp'
                - 'worldguard.god'
                - 'worldguard.heal'    
        VIP:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Default
            permissions:
                - 'commandbook.barrage'
                - 'commandbook.rocket'
                - 'commandbook.shock'
                - 'commandbook.thor'
                - 'elevators.advancedbuilder'
                - 'simplesign.setowner'
                - 'simplesign.edit.all'
                - 'worldedit.navigation.jumpto'
                - 'worldedit.superpickaxe'
                - 'warpz0r.free.home'
                - 'warpz0r.free.sethome'
                - 'warpz0r.free.warp'
                - 'warpz0r.set'
                - 'warpz0r.worldwarp'
                - 'warpz0r.worldhome'
                - 'worldguard.stack'
                - 'worldguard.locate'
        Moderator:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - VIP
            permissions:
                - 'commandbook.bans.*'
                - 'commandbook.clear.other'
                - 'commandbook.give.other'
                - 'commandbook.kick'
                - 'commandbook.mute'
                - 'commandbook.slap.other'
                - 'commandbook.teleport.other'
                - 'commandbook.weather'
                - 'commandbook.weather.thunder'
                - 'commandbook.whois.other'
                - 'elevators.advancedbuilder'
                - 'iConomy.access'
                - 'midibanks.can-create'
                - 'midibanks.can-use'
                - 'minecartmania.commands.clearstalledcarts'
                - 'minecartmania.commands.redraw'
                - 'minecartmania.commands.clearemptycarts'
                - 'minecartmania.commands.eject'
                - 'multiverse.portal.list'
                - 'worldedit.chunkinfo'
                - 'worldedit.clipboard.copy'
                - 'worldedit.clipboard.paste'
                - 'worldedit.clipboard.cut'
                - 'worldedit.clipboard.rotate'
                - 'worldedit.clipboard.flip'
                - 'worldedit.clipboard.save'
                - 'worldedit.clipboard.clear'
                - 'worldedit.history.undo'
                - 'worldedit.history.redo'
                - 'worldedit.region.set'
                - 'worldedit.region.replace'
                - 'worldedit.region.overlay'
                - 'worldedit.region.smooth'
                - 'worldedit.selection.pos'
                - 'worldedit.selection.hpos'
                - 'worldedit.selection.chunk'
                - 'worldedit.wand'
                - 'worldedit.wand.toggle'
                - 'worldedit.selection.expand'
                - 'worldedit.selection.contract'
                - 'worldedit.selection.shift'
                - 'worldedit.selection.size'
                - 'worldedit.analysis.*'
                - 'worldedit.snapshots.*'
                - 'worldedit.superpickaxe.area'
                - 'worldedit.tool.*'
                - 'worldedit.fill'
                - 'worldedit.fixlava'
                - 'worldedit.fixwater'
                - 'worldedit.extinguish'
                - 'worldguard.slay'
                - 'warpz0r.admin.clearhome'
                - 'warpz0r.free.removewarp'
                - 'warpz0r.remove'
                - 'warpz0r.warpto'
        Admins:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
            permissions:
                - '*'
    #
    #
    #
    users:
        grapeman:
            group: Default
            permissions:
        anotheruser:
            group: Admins
            permissions:
    
     
Thread Status:
Not open for further replies.

Share This Page