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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    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


    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

    This post has been edited 10 times. It was last edited by jascotty2 Oct 5, 2011.
    .яιgнт, Roscoe55, Greylee and 2 others like this.
  2.  
  3. Offline

    Fujikatoma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Idk when the bug happens because i only found it in my server log ... the plugin works fine :D
  4. Offline

    Fujikatoma

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Ok i got to much errors :
    Appears if somone kills a monster , this error iss postet on page 3 too but i cant find an illegal item in my config.yml:

  5. Offline

    Kevin Forte

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Code:
    17:31: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$51.execute(JavaPluginLoader.j
    ava:598)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:310)
            at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:419)
            at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:184)
    
            at net.minecraft.server.EntityWolf.a(EntityWolf.java:295)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:68)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:88)
            at net.minecraft.server.EntityLiving.u(EntityLiving.java:692)
            at net.minecraft.server.EntityWolf.u(EntityWolf.java:119)
            at net.minecraft.server.EntityLiving.o_(EntityLiving.java:231)
            at net.minecraft.server.EntityWolf.o_(EntityWolf.java:147)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1114)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:6
    2)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1096)
            at net.minecraft.server.World.cleanUp(World.java:1073)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:395)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I get this pretty often, especially when using MobArena. It seems as though it happens whenever a wolf damages a player.
  6. Offline

    Wakko

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is it possible to separate wolves into tamed, wild, aggressive maybe?
    Same with creepers: normal, charged?
    Would separate slime sizes be pushing it? :p
    I'd be nice to give a better reward for killing charged creepers, and only punish someone for killing a tamed wolf.
    It's not fair to lose money because you were being attacked.
  7. Offline

    Nori_Silverrage

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I have been getting this error too. Anychance this'll be fixed?
  8. Offline

    Niemand

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    maybe when its updated for b860. ;)
  9. Offline

    PatrickFreed

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to disable iConomy drops from monsters spawned from monster spawners?
  10. Offline

    arsjet

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    When did you update?
  11. Offline

    Maskur

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Somehow I don't get any money when killing a giant.

    I have this in my config file:

    Giant:
    coins: 50-100

    Edit: It seems like this issue is related to the NaturalGiant plugin I'm using :/
  12. Offline

    efstajas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you add an option to disable CookieMonster with a command like /cookiemonster off?
  13. Offline

    musicin3d

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey! I love this plugin. I just killed my dog and got money for it though. :/ Can you separate wolves and tame wolves?
  14. Offline

    quickclay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This error just started showing up and spamming my console in CB928. At a guess, it looks like anytime a wolf is nearby this is happening?

    2011-06-24 10:47:07 [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:310)
    at net.minecraft.server.EntityWolf.a(EntityWolf.java:357)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:68)
    at net.minecraft.server.EntityWolf.c_(EntityWolf.java:95)
    at net.minecraft.server.EntityLiving.u(EntityLiving.java:702)
    at net.minecraft.server.EntityWolf.u(EntityWolf.java:141)
    at net.minecraft.server.EntityLiving.o_(EntityLiving.java:232)
    at net.minecraft.server.EntityWolf.o_(EntityWolf.java:169)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1142)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1124)
    at net.minecraft.server.World.cleanUp(World.java:1101)
    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)
  15. Offline

    quickclay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No sign of life here. Going to have to remove the plugin until this is resolved.
  16. Offline

    Taemera

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    22:03:12 [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:310)
    at net.minecraft.server.EntityWolf.a(EntityWolf.java:357)
    at net.minecraft.server.EntityCreature.c_(EntityCreature.java:68)
    at net.minecraft.server.EntityWolf.c_(EntityWolf.java:95)
    at net.minecraft.server.EntityLiving.u(EntityLiving.java:702)
    at net.minecraft.server.EntityWolf.u(EntityWolf.java:141)
    at net.minecraft.server.EntityLiving.o_(EntityLiving.java:232)
    at net.minecraft.server.EntityWolf.o_(EntityWolf.java:169)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1142)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
    at net.minecraft.server.World.playerJoinedWorld(World.java:1124)
    at net.minecraft.server.World.cleanUp(World.java:1101)
    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)

    928
  17. Offline

    quickclay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yup. That's the same one I posted. I see essentials 2.3.4 has modified wolf targeting. It may fix the issue, but not tested yet.

    EDIT: Problem persists in Essentials 2.3.4
  18. Offline

    darukas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to disable CookieMonster for specific cuboid? I have MobArena mod on my server and would love to keep both plugin's but I makes farming too easy for the players.
  19. Offline

    quickclay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  20. Offline

    Taemera

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  21. Offline

    deshadowc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Also getting this error spammed.
    Code:
    2011-06-27 20:13:50 [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:357)
        at net.minecraft.server.EntityCreature.c_(EntityCreature.java:68)
        at net.minecraft.server.EntityWolf.c_(EntityWolf.java:95)
        at net.minecraft.server.EntityLiving.u(EntityLiving.java:702)
        at net.minecraft.server.EntityWolf.u(EntityWolf.java:141)
        at net.minecraft.server.EntityLiving.o_(EntityLiving.java:232)
        at net.minecraft.server.EntityWolf.o_(EntityWolf.java:169)
        at net.minecraft.server.World.entityJoinedWorld(World.java:1142)
        at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
        at net.minecraft.server.World.playerJoinedWorld(World.java:1124)
        at net.minecraft.server.World.cleanUp(World.java:1101)
        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

    quickclay

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yeah that's the same some we've been experiencing since RB 928. Has something to do with how wolves are called out now. Had to finally disable this plugin.
  23. Offline

    xxdilbertxx

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Being spamed any time almost anything happens to or involving a wolf
    sorry to keep posting the same shit as every one else but.. the plugins bin doing it to me for a wile now so.....

    Code:
    11:23:45 [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:357)
            at net.minecraft.server.EntityCreature.c_(EntityCreature.java:68)
            at net.minecraft.server.EntityWolf.c_(EntityWolf.java:95)
            at net.minecraft.server.EntityLiving.u(EntityLiving.java:702)
            at net.minecraft.server.EntityWolf.u(EntityWolf.java:141)
            at net.minecraft.server.EntityLiving.o_(EntityLiving.java:232)
            at net.minecraft.server.EntityWolf.o_(EntityWolf.java:169)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1142)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:49)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1124)
            at net.minecraft.server.World.cleanUp(World.java:1101)
            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)
    
  24. Offline

    deshadowc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Temporary fix is to use worldguard to disable wolves. Need a long term one.
  25. Offline

    jascotty2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    sorry, didn't want to release a half-working prototype, but here it is.. (until i get it finished..)

    this has the wolf thing fixed (removed the custom wolf class)
    kill tracking isn't finished (and electrified/tame untested), but there shouldn't be any debug messages: CookieMonster_1.4_beta.jar
  26. Offline

    Demonofbirth

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this have an option to set certain permission groups to have a multiplier?
  27. Offline

    deshadowc

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can you add an option to not give iconomy/drops, if within x blocks of a mob spawner?
  28. Offline

    m5k

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Great job on the plugin, jascotty2. Could you perhaps add a single permission node that restricts who can receive the bonuses?
  29. Offline

    Thatpyrodude

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    2011-07-01 02:16:47 [SEVERE] Could not load 'plugins\CookieMonster.jar' in folder 'plugins':
    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:60)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:199)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:122)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:89)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigurationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:132)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    note this not the only plugin i have this prroblom with when it cant load
    think it has to do with essentials?
  30. Offline

    Ryannober

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Can Anyone Confirm if this works with b958?
  31. Offline

    Krapinou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Doesn't work for 953 :/
  32. Offline

    jascotty2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    really? what error are you getting?

    when i tested, i found no problems

Share This Page