Inactive [ECON] CookieMonster v1.6 - Money and Items for PvM [1240]

Discussion in 'Inactive/Unsupported Plugins' started by jascotty2, Apr 1, 2011.

  1. Offline

    jascotty2

    CookieMonster! - iConomy Money and Items for PvM
    Version: 1.6.6
    Download(static jar): CookieMonster.jar
    alternate download: CookieMonster_1.6.6.jar
    803-compatible: CookieMonster_1.3.4.jar
    684-compatible: CookieMonster 1.3.2.jar

    CookieMonster is now on BukkitDev


    This is a continuation of Coelho's initial CookieMonster Plugin
    CookieMonster is based off of the inactive iMonster, however uses none of the code from it,
    so it is more lightweight.


    Features:
    configurable item drops and economy reward for each monster
    configurable economy reward for items used to kill monsters
    also supports PvP
    Supports iConomy 4,5,6, BOSEcon 6,7, MultiCurrency, & EssentialsEco
    Ability to change entity drops with drop-rate.
    Ability to add minimum and maximum money drops for randomness
    A kill tracking system to check for spawn camping
    - define a square-radius for area to check, including max. elevation change, # of kills in this area, & timespan before an individual kill is no longer counted
    - anything over that number within the area will disable rewards until the records are old enough to be removed
    - so far, only lasts in server memory, so records are lost on server stop/reload


    doesn't allow to damage a creature/mobspawner if penalty is greater than account balance
    option to only drop items for a direct kill (stops autofarmers)
    option to replace normal drops with custom drops
    option to drop custom drops items globally
    configurable messages (including if there is no reward)
    can distingush charged from normal creepers, and tame/pet wolves from wild wolves
    can disable/enable rewards for defined regions
    - uses WorldEdit for selections


    Commands:
    /cookiemonster (cm) reload reloads settings from configuration file
    /cm region define <id> set a region (once a region is selected in worldedit)
    /cm region list [page] list regions (in current world if as a player)
    /cm region remove <id> to remove regions

    To-Do:
    ? import itemsDB from bettershop to check against config (check if valid items entered as drops)
    permissions? (for rewards & maybe permission to kill without penalty?)
    ?penalties/rewards for killing players in groups?


    Version 1.6.4 - 9/24/11
    • updated for mc 1.8
    • fixed custom drops occuring in disabled regions
    • updated register (fixes iConomy6 errors)
    Version 1.6.3 - 9/5/11
    • fixed a nullpointer error if a config node is missing
    Version 1.6.2 - 9/5/11
    • fixed global tracking errors
    • fixed some missing messsage errors
    • other code cleanup by nickrak
    Version 1.6.1 - 8/30/11
    • Arrow Kills fixed (was changed in bukkit 1060)
    Version 1.6 - 8/19/11
    • added PvP settings :)
      • more settings & messages accompany these additions
    Changelog (open)


    Version 1.5.1 - 8/9/11
    • added economy support via Register
      • now supports iConomy 4,5,6, BOSEcon 6,7, MultiCurrency, EssentialsEco
    • fixed unknown Material name.. not sure if was throwing errors
    Version 1.5.0.1 - 7/21/11
    • fixed worldedit not found error message
    • added ability to have WorldEdit in CookieMonster folder or lib folder if not otherwise installed
    Version 1.5 - 7/20/11
    • added a kill tracking system to check for spawn camping
      • define a square-radius for area to check, including max. elevation change, # of kills in this area, & timespan before an individual kill is no longer counted
      • anything over that number within the area will disable rewards until the records are old enough to be removed
      • so far, only lasts in server memory, so records are lost on server stop/reload
    • fixed anonymous replace/add drops setting
    • (hopefully) fixed a nullpointer exception in region checking
    Version 1.4 - 7/14/11
    • wolves updated for mc 1.6 (although appearent breaks didn't really seem to be broken, anyway...)
      • notibly, entities killed with wolves will reward the owner
    • fixed decimal reward if using older iConomy
    • added option to not clear drops before adding custom drops
    • added ability to disable for defined worlds
    • added regions (selections using worldguard, most code came from worldguard)
      • command to set (once a region is selected in worldedit) - /cm region define <id>
      • can list regions (in current world if as a player) - /cm region list [page]
      • then, to remove regions - /cm region remove <id>
      • default is to disable for these regions
        • on disabled worlds, regions will be enabled areas
      • alternatively, can be set to only be enabled in defined regions
    • "Wolf" has been replaced with "Wild_Wolf"
      • and added "Tame_Wolf" & "Pet_Wolf"
    • added "Charged_Creeper"
    Version 1.3.4 - 5/11/11
    • updated for iConomy 1.5 (1.4 compatiblity maintained :D)
    Version 1.3.3 - 4/27/11
    • Items are checked to be valid before added to drops list
    • updated wolves for 1.5
    Version 1.3.2 - 4/18/11
    • fixed default drops when onlyKillDrop enabled
    • added reload command
    Version 1.3.1 - 4/12/11
    • fixed player not dropping items if onlyKillDrop enabled
    Version 1.3 - 4/11/11
    • mobspawner destroy check fixed
    • BOSeconomy support added
    • added alwaysReplaceDrops option, so your custom drop always occur
    • support for no economy plugin added - so can just replace monster drops
    • configurable rewards for items used
    Version 1.2.1 - 4/8/11
    • custom messages for no reward added
    Version 1.2 - 4/8/11
    • fixed negative reward being added (not subtract)
    • added settings for config:
      • wholeNumberRewards: for rounding decimals to whole numbers
      • onlyKillDrop: entities only drop items if killed by a player
      • disableExpensiveKill: can't harm something that a player can't afford to kill
    Version 1.1 - 4/1/11
    • Configurable Messages
    • configuration file & format changed
    • can now reward/penalize any LivingEntity kill
    • custom drops replace normal drops, instead of adding to them
    • note: if you're getting "NoSuchMethodError: com.jascotty2.Rand.RandomDouble(DD)D", update BetterShop
    • (confusing, i know, but java is caching the older of the two versions of the same file)
    • kill handlers fixed for 600+
    • known fixes from 0.2:
    • no longer messes up the drop amount
    • drops are droped by the killed entity, not in front of the player
    • no more multi-rewards for killing the same entity
    Version 1.0 - 3/31/11

    Initial re-release, now maintained by jascotty2
    compatibility with 612


    -------- Coelho's versions --------
    Version 0.2:
    Fixed tuns of first-release bugs
    Version 0.1:
    Initial release
     
    .яιgнт, Roscoe55, Greylee and 2 others like this.
  2. Offline

    alfskan

    I have aproblem.

    using cb954 mc1.7.2

    and it never happens with this.
    http://forums.bukkit.org/threads/econ-mobbounty-v4-05-simple-mob-reward-937-953.10456/

    But I love your plugin for more detailed configure.

    please help me!

    Code:
    17:23:20 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:20 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:20 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:21 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:21 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:21 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:21 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:21 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:22 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    17:23:22 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
            at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
            at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListen
    er.java:53)
            at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityL
    istener.java:35)
            at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.j
    ava:628)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:321)
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
            at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
            at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
            at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
            at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    8)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
            at net.minecraft.server.World.cleanUp(World.java:1102)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  3. Offline

    efstajas

    Okay, thank you. Maybe you could also include a way to disable CookieMonster in a certain world? We have a creative one and I don't want my users to make mobfarms there and earn tons of money.
     
  4. Offline

    Krapinou

    Hi,
    If i want creeper drop 2256 with a percentage = 0.5. It's possible ?
    Because i write this 2256@1%0.5 and it doesn't work :/
    Thank
     
  5. Offline

    jascotty2

    try not using the 0
    not sure why that could cause a problem (will look into that), but on my server i have this for creeper:
    Code:
    drops: 2256@1%.5, 289@4%80
    (which is funny that we both had the same idea :cool:)
     
  6. Offline

    Krapinou

    And Do you drop some 2256 when you destroy creeps ?
     
  7. Offline

    jascotty2

    yep :)
    quite rare (0.5% isn't too often) but they do drop
    (about 1 every 200)
     
  8. Offline

    Krapinou

    Thank, Now chickens can drop one 226 with .5% percent :)
     
  9. Offline

    Bonkerz

    it doesn't work with SDK GunMod (we can't had money gain with the guns..)
     
  10. Offline

    God0x

    I get some problem... The plug-in doesnt work with sheeps, i perfectly configured the plug-in but when i kill a sheep i don't earn money... Is it a bug ?
     
  11. Offline

    alfskan

    Code:
    2011-07-11 09:24:47 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
        at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
        at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListener.java:53)
        at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityListener.java:35)
        at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
        at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
        at net.minecraft.server.World.cleanUp(World.java:1102)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    please why this happened?

    cb953 mc173 latest cookie

    deleted your plugin.

    becaus of this error.

    I posted it over 3 imes, and any reponse.

    Code:
    2011-07-12 04:06:30 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
        at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
        at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListener.java:53)
        at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityListener.java:35)
        at org.bukkit.plugin.java.JavaPluginLoader$55.execute(JavaPluginLoader.java:628)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
        at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
        at net.minecraft.server.World.cleanUp(World.java:1102)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 13, 2016
  12. Offline

    jascotty2

     
  13. Offline

    alfskan

    ok.

    ty for reply.

    and I`ll test it.
     
  14. Same here, I'm waiting for the wolf thing fix.
    Thanks for continuing this plugin x)
     
  15. Offline

    darkwarriors

    some permissions, for disblaing drop in a particular world? and pls release a stable version that fix wolf error!!!!!!!!!
     
  16. Offline

    Danton1983

    Please fix the wolves.
     
  17. Offline

    fneyret

     
  18. Offline

    Danton1983

    sweet thanks!
     
  19. Offline

    Zarius

    Sheep is a bug (they don't fire an entity death event) in latest CraftBukkit recommended build (953) - later builds have fixed this and the next recommended build should be fine.
     
  20. Offline

    God0x

    ok, thanks ! :D
     
  21. Offline

    mnopjh

    im getting this error....
    Code:
    17:59:30 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
        at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
        at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListener.java:53)
        at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityListener.java:35)
        at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
        at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1190)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1172)
        at net.minecraft.server.World.cleanUp(World.java:1102)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  22. Offline

    Danton1983


    If you read up just a few posts you'll find the temp fix for this.
     
  23. Offline

    StefanG

    can you tell me whats wrong with my yaml, ive been at this for hours :(

    Code:
    settings:
        # general plugin settings
        # if you don't want deciamls ($1.23)
        wholeNumberRewards: false
        # if only direct player kills gives reward
        #   (disables mob farming)
        onlyKillDrop: false
        # if onlyKillDrop: false, should custom drops always occur?
        alwaysReplaceDrops: true
        # if allow hunting with wolves
        # NOTE: wolf attack canceling does not yet work, as bukkit entity damage event is broken for wolves
        allowWolfHunt: true
        #disable damage if can't afford to kill?
        disableExpensiveKill: true
    
    # any LivingEntity listed here can have it's own rewards
    # can give a range for economy reward ( min-max )
    # itemCoins to give custom ranges for individual items (note: durability not supported for items here)
    # can configure custom drops for each (origional drops are replaced with these, so 0%0 would disable rewards)
    # drops syntax: itemID[:subData][@maxDrop]%Probability[,another drop... ]
    ## 100 Probability means will drop each time
    ## if = 50, only means 50% chance of drop, chance of full drop is random
    rewards:
        Chicken:
            drops: 344%40, 288@2%70, 354%10
            coins: 1-5
        Cow:
            drops: 298%10, 352@2%40
            coins: 1-5
        Creeper:
            drops: 2256@1%5, 289@4%80, 46@3%5
            coins: 8-15
            # itemCoins example: bow&arrow give no reward, wooden sword is worth more
            itemCoins: "261>0, 268>3-6"
        Ghast:
            drops: 310%100
            coins: 20-30
        Giant:
            # giant zombie, not very likely to encounter
        Monster:
            # this is a fake human, not likely to occur
        Pig:
            drops: 282%30, 319@2%70
            coins: 1-5
        PigZombie:
            drops: 320@2%70, 283%01
            coins: 15-22
        Sheep:
            drops: 35:1%30, 35@3%50, 348@4%30
            coins: 1-5
        Skeleton:
            drops: 261@1%20, 262@4%80
            coins: 8-15
        Slime:
            drops: 341@2%100, 354%100
            coins: 30-40
        Spider:
            drops: 287@2%69, 347%10
            coins: 8-15
        Squid:
            drops: 351@2%70, 302%30, 349@5%50
            coins: 15-20
        Zombie:
            drops: 338@2%40, 357%50
            coins: 8-15
        Wolf:
            drops:
            coins: -1--2
        MobSpawner:
            drops: 264%100
            coins: 50-51
    
    messages:
        # Colors are specified by using "&[colorcode]".
        #     (Never put colors within the angle brackets of a tag)
        #   Color table:
        #       &0 is black
        #       &1 is dark blue
        #       &2 is dark green
        #       &3 is dark sky blue
        #       &4 is red
        #       &5 is magenta
        #       &6 is gold or amber
        #       &7 is light grey
        #       &8 is dark grey
        #       &9 is medium blue
        #       &a is light green
        #       &b is cyan
        #       &c is orange-red
        #       &d is pink
        #       &e is yellow
        #       &f is white
        # (use && for a & symbol)
    
        # rewarded for killing a monster:
        # <amount>  how much credited to account
        # <monster> name of the creature killed
        reward: "&a You are rewarded &f<amount>&a for killing the &f<monster>"
        # <item>    what used to kill it
        itemreward: "&a You are rewarded &f<amount>&a for killing the &f<monster>&a with a &f<item>"
    
        # penalized for killing a monster (if coin range is negative)
        # <amount>  how much removed from account
        # <monster> name of the creature killed
        penalty: "&c You are penalized &f<amount>&c for killing the &f<monster>"
        # <item>    what used to kill it
        itempenalty: "&c You are penalized &f<amount>&c for killing the &f<monster>&c with a &f<item>"
    
        # if cannot afford the penalty for killing the entity
        notafford: "&c You cannot afford to kill a &f<monster>"
        itemnotafford: "&c You cannot afford to kill a &f<monster>&c with a &f<item>"
    
        # if no money rewarded (can be blank for none)
        norewardMonster: "&c there is no reward for killing a &f<monster>"
        norewardCreature:
        # <item>    what used to kill it
        itemnorewardMonster: "&c there is no reward for killing a &f<monster>&c with a &f<item>"
        itemnorewardCreature:
    
     
  24. Offline

    jascotty2

    put spawn camp tracking on-hold, and finished up regions, so (finally) here's the next release :D
    thanks for all of your patience (and impatience :p)

    Version 1.4
    wolves updated for mc 1.6 (although appearent breaks didn't really seem to be broken, anyway...)
    - notibly, entities killed with wolves will reward the owner
    fixed decimal reward if using older iConomy
    added option to not clear drops before adding custom drops
    added ability to disable for defined worlds
    added regions (selections using worldguard, most code came from worldguard)
    - command to set (once a region is selected in worldedit) - /cm region define <id>
    - can list regions (in current world if as a player) - /cm region list [page]
    - then, to remove regions - /cm region remove <id>
    - default is to disable for these regions
    - - on disabled worlds, regions will be enabled areas
    - alternatively, can be set to only be enabled in defined regions
    "Wolf" has been replaced with "Wild_Wolf"
    - and added "Tame_Wolf" & "Pet_Wolf"
    added "Charged_Creeper"


    @StefanG
    try renaming your config & let cookiemonster write a new one, then edit that (manually change what you changed, not copy-paste)
    it could be syntax error, but more settings have been added, anyway ;)
     
  25. Offline

    gyoloco

  26. Offline

    Datenkralle

    Nice Plugin, but no changes in the config works. If i change anything in the config and i will reload the config, your plugins says: "Reload failed" and it can't read anything from the config. So it give me no money and something by a monsterkill. Please fix it.
     
  27. Offline

    Raycrash

    Is there a way to prevent people from farming mob spawners ?
     
  28. Offline

    mnopjh

    im getting alot of this...
    Code:
    23:24:34 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
        at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
        at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListener.java:53)
        at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityListener.java:35)
        at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:339)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
        at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
        at net.minecraft.server.World.cleanUp(World.java:1104)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    23:24:34 [SEVERE] Could not pass event ENTITY_DAMAGE to CookieMonster
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
        at com.jynxdaddy.wolfspawn_04.UpdatedWolf.isTame(UpdatedWolf.java:47)
        at com.pi.coelho.CookieMonster.CMEntityListener.entDamage(CMEntityListener.java:53)
        at com.pi.coelho.CookieMonster.CMEntityListener.onEntityDamage(CMEntityListener.java:35)
        at org.bukkit.plugin.java.JavaPluginLoader$56.execute(JavaPluginLoader.java:635)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:321)
        at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:423)
        at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:179)
        at net.minecraft.server.EntityWolf.a(EntityWolf.java:346)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:92)
        at net.minecraft.server.EntityLiving.v(EntityLiving.java:685)
        at net.minecraft.server.EntityWolf.v(EntityWolf.java:133)
        at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218)
        at net.minecraft.server.EntityWolf.m_(EntityWolf.java:161)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1198)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1180)
        at net.minecraft.server.World.cleanUp(World.java:1104)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    
     
  29. Offline

    Krzywy

    I've got some problem, and don't know what to do. When i start local server, with jar file in plugin folder, CookieMonster folder should be created, it doesn't. in log I can find this:
    Code:
    [SEVERE] Error occurred while enabling CookieMonster v1.4 (Is it up to date?): com/sk89q/worldedit/bukkit/selections/Polygonal2DSelection
    java.lang.NoClassDefFoundError: com/sk89q/worldedit/bukkit/selections/Polygonal2DSelection
        at com.pi.coelho.CookieMonster.CookieMonster.onEnable(CookieMonster.java:37)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:878)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:272)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.sk89q.worldedit.bukkit.selections.Polygonal2DSelection
        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.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 11 more
    What should i do?

    Ps. Sorry for my english.
     
  30. Offline

    Flenix

    Thanks for the warning about overwriting my heavily edited config....
     
  31. Offline

    bluemoondevil

    How do I configure this plugin to reward no coins if a monster comes from a monster spawner?
     

Share This Page