Error upon player login #15


  • New
  • Defect
Open
Assigned to unfriendlybaron
  • _ForgeUser7191506 created this issue Nov 27, 2012

    What steps will reproduce the problem?
    1. craftbukkit-1.4.5-R0.2.jar
    2. DailyBonus as the only plugin

    What is the expected output? What do you see instead?
    This is the output I see:
    13:00:05 [SEVERE] Could not pass event PlayerJoinEvent to DailyBonus v3.5
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:341)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:462)
            at net.minecraft.server.ServerConfigurationManagerAbstract.c(ServerConfi
    gurationManagerAbstract.java:153)
            at net.minecraft.server.ServerConfigurationManagerAbstract.a(ServerConfi
    gurationManagerAbstract.java:93)
            at net.minecraft.server.NetLoginHandler.d(NetLoginHandler.java:132)
            at net.minecraft.server.NetLoginHandler.c(NetLoginHandler.java:45)
            at net.minecraft.server.DedicatedServerConnectionThread.a(DedicatedServe
    rConnectionThread.java:44)
            at net.minecraft.server.DedicatedServerConnection.b(SourceFile:29)
            at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:595)
            at net.minecraft.server.DedicatedServer.r(DedicatedServer.java:222)
            at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:493)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:426)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
    Caused by: java.lang.NoClassDefFoundError: net/milkbowl/vault/economy/Economy
            at me.itsatacoshop247.DailyBonus.DailyBonusPlayerListener.onPlayerJoin(D
    ailyBonusPlayerListener.java:77)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:339)
            ... 14 more
    13:00:13 [INFO] Connection reset
    13:00:13 [INFO] Fevenis lost connection: disconnect.quitting
    >

    What version of the product are you using?
    3.5

    Do you have an error log of what happened?
    See above.

    Please provide any additional information below.
    Here is the config.yml, using the default for testing (except for setting the economy values to 0):
    Main:
      Number of Tiers: 3
      Item Give Delay (In Seconds): 0
      Global Message: '&9[DailyBonus] &6!playername just got a bonus of !amount !type
        for logging in today!'
      Global Message is Enabled: false
    Tier:
      '1':
        Economy Amount: 0
        Message: '&6You were given &4!amount !type &6for joining today!'
        Items:
        - 5;5-1
        - 357;1
      '2':
        Economy Amount: 0
        Message: '&6You were given &4!amount !type &6for joining today!'
        Items:
        - 265;2
        - 364;5
        Commands:
        - give !player 5 10
      '3':
        Economy Amount: 0
        Message: '&6You were given &4!amount !type &6for joining today!'
        Items:
        - 266;5
        - 22;10;5
        - 372;1
        - 5;10;5-1
        Commands:
        - god !player
        - give !player 4 10
    Notes:
    - Tiers are defined with the highest number being the highest Tier. Hence why Tier 3 give a larger amount by default than 1 or 2 do.
    - To make a new Tier, copy and past one of the current Tiers below, and simply change the number to the next highest. Also make sure to change the Number of Tiers in the main.
    - An amount of Economy Amount= 20;5 would give a random amount between 15 and 25. 5 in either direction.
    - You can delete the Items= list to give no items, or make it one line of 0;0 to also give no items.
    - In the item lists, the order is Item Id;Amount;Randomness*dash*Data Num.
    - So 5;10;5*dash*1 would give Anywhere from 5 to 15 dark-wood planks. (10 to start, then randomly 0 to 5 more or less) (*dash*1 become a data of 1, the darkwood)
    - Please use the Ticket system on bukkitDev for all issues with the plugin!

  • _ForgeUser7191506 added the tags Defect New Nov 27, 2012
  • _ForgeUser9917534 posted a comment Jun 6, 2013

    I have the same problem, and I make a fix. I just recompile the plugin with the new bukkit version (1.5.2) and that work. Just try it :)

    https://www.dropbox.com/s/qfvy1icxbrp1bsp/DailyBonus_1.5.2_by_splint33.jar


To post a comment, please login or register a new account.