[INACTIVE][ECON] iMonster v1.7 - Give players iConomy money and drops when killing monsters [292]

Discussion in 'Inactive/Unsupported Plugins' started by ZeroDPS, Feb 9, 2011.

  1. Offline

    ZeroDPS

    iMonster - The Monster Money and Drop Plugin for iConomy: Version: 1.7
    This plugin is designed to allow servers using iConomy to reward players with in-game currency.
    Must have iConomy 2.2+
    Must Have Bukkit/Craftbukkit 292+
    edit the /Plugins/iMonster/iMonster.yml file foe configurations.
    Features:
    • Configure Reward Currency and Items Drops per Monster.
    • Set Max Reward drop for monsters
    • Prevent MobSpawner Camping
    • Permissions Support (iMonster.User)
    • Set Reward for killing the Mob Spawner
    TO-DO:

    • Death Penelty (waiting for better Bukkit support on the EntityDeath event)
    • Prevent Reward with use of Bow
    • Configurable Messages
    • Max Kills Per Hour (configurable and can be disabled) uses variable coin rewards and % based drop rates for coins to give admins ability to prevent abuse instead of a hard cooldown/
    • Decimal Percentage
    Change Log:

    v1.7

    • Minor update added /imonster command to help troubleshoot problems...it doesnt do anything but send you a message with some settings information to help us better troubleshoot the plugin if a problem arises.
    v1.6

    • Bow Kills now works correctly
      • Slimes and ghasts were not working because they are not considered "monsters" in bukkit so they failed the check to make sure it was a player attacking a monster i have coded the plugin to handle this issue now so they WORK
    v1.5 Release

    • Fixed Creeper Coin Bug (all mobs giving set creeper amount_
    • Added Coin Range for mob kills.
    • Added Coin Percentage for mob kills
    v1.1

    • Added ability to Give rewards for killing a mob spawner.
    v1.0 BETA Release

    • Fixed Error with old Permissions version
    • Added Configurale Messages WITH Chat Color Support
    • Added Bow Camping Settings
    • Added Abolity to use Decimal Percentages for item drop rates.
    v1.5/v1.6 config file changes - ADD These (also included the default config file in the zip for copy/paste)

    or you can always delete/rename your current file and let the plugin make one for you.

    Creeper-Coin-Max: 0
    Creeper-Coin-Percent: 100
    Skeleton-Coin-Max: 1000
    Skeleton-Coin-Percent: 10
    Zombie-Coin-Max: 0
    Zombie-Coin-Percent: 50
    Spider-Coin-Max: 1000
    Spider-Coin-Percent: 50
    PigZombie-Coin-Max: 0
    PigZombie-Coin-Percent: 100
    Ghast-Coin-Max: 0
    Ghast-Coin-Percent: 100
    Slime-Coin-Max: 0
    Slime-Coin-Percent: 100
    Giant-Coin-Max: 0
    Giant-Coin-Percent: 100

    v1.1 config file changes - ADD These

    Mob-Spawner-Coin: 200
    Mob-Spawner-Drops: "264:2:75;354:1:80"
    Reward-Mob-Spawner-Destroy: true
    iConomy-Mob-Spawner-Message: "$5Mob Spawner Killed! You have been awarded %c!"
    iConomy-Mob-Spawner-Message-Enabled: true

    v1.0 BETA CONFIG FILE CHANGES - Either Delete your config and let it create a new one, or add THESE values to your config!

    Reward-Kills-With-Bow: true
    RewardKillsWithBowDisabledMessageEnabled: true
    RewardKillsWithBowDisabledMessage: "$cNo Reward for camping with a bow go out and fight!"

    Mob-Spawner-Camping-Message-Enabled: true
    Mob-Spawner-Camping-Message: "$cNo Reward for %m camping near the spawner."

    iConomy-Kill-Deposit-Message-Enabled: true
    iConomy-Kill-Deposit-Message: "$e%m Killed - %c deposited into your iConomy Account."

    iConomy-Protected-Kill-Message-Enabled: true
    iConomy-Protected-Kill-Message: "$cProtected %m Killed - %c removed from your iConomy Account."

    iConomy-Protected-Kill-No-Money-Message-Enabled: true
    iConomy-Protected-Kill-No-Money-Message: "$4Protected %m, you don't have the money for the fine. %m resurecting >.< "
     

    Attached Files:

    zani007 likes this.
  2. Offline

    ChrisB

    This is one of the features I haven't really tested with iMonster, but I suppose I could have a look at it and see where it goes wrong.

    It's case-sensitive, for some reason, it *has* to be like ZeroDPS specified it in the first post.

    Edit:
    Updated the code again, mob spawners should now work again.

    JAR / Zip
     
    unachemaxwell likes this.
  3. Offline

    unachemaxwell


    Your AWESOME! for quick reply and work :)

    I do get this when I break a mobspawner atm.

    13:35:04 [INFO] CraftPlayer: Giving UNache some 52
    13:35:18 [SEVERE] Could not pass event BLOCK_BREAK to iMonster
    java.lang.NullPointerException
    at zerodps.iMonster.iMonsterBlockListener.onBlockBreak(iMonsterBlockList
    ener.java:30)
    at org.bukkit.plugin.java.JavaPluginLoader$30.execute(JavaPluginLoader.j
    ava:309)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
    at net.minecraft.server.ItemInWorldManager.d(ItemInWorldManager.java:112
    )
    at net.minecraft.server.ItemInWorldManager.b(ItemInWorldManager.java:77)

    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:370)
    at net.minecraft.server.Packet14BlockDig.a(SourceFile:42)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:76)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:357)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:272)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)"

    Using bukkit 539 and latest iConomy. Will try to debug a little myself to see if it is my end.

    Sorry it was my end, ignore the error :) you do great work!
     
  4. Offline

    sowel

    this could be any one of 1000 things because im not to this whole server modding thing
    i get this anytime i run the server

    what ever the problem is i hope you can help me solve it
     
  5. Offline

    waboss

    I think I have the same problem! It does not load the plugin!
     
  6. Offline

    Jear

    Craftbukkit:550

    I'm using Chris' version because the supported one throws a SEVERE error. It still seems to award the player money before the monster has died. Is there a fix for this or a function of the hooks in with entitydeath right now?
     
  7. Offline

    Jotschie

    ChrisB, why don't you make your own thread for that plugin [​IMG]
    Keep up the good work!
     
  8. Offline

    Kainzo

    Totally make your own thread imo
     
  9. Offline

    groudon994

    EDIT: i know whats wrong, it doesn't load the plugin, can anyone help?
     
  10. Offline

    ChrisB

    Please follow this link right here as I will most likely not monitor this thread as much.
     
  11. Offline

    Piercing Goblin

    Any way this could get updated for 600+?
     
  12. Offline

    ChrisB

    No.
    Unless someone else picks it up.
     
  13. Offline

    Tealk

    is it possible to make a setting, that the money a player can earn per day (by killing mobs) is limited? and would it also be possible to take away the money (that a player earns by killing mobs) from a certain bankaccount?
     
  14. Offline

    gaz492

    ok can we get this for 818plz i loved it b4
     
  15. Offline

    Seth Walton

    I get the following error with the latest build

     
  16. Offline

    puyttre

    Anyone adopt plz?
     
  17. Offline

    xFoRgot3n_Fobz

    I am having some trouble installing when i start the server it came up

    [SEVERE] Could not load 'plugins/iMonster.jar' in folder 'plugins':
    java.lang.NoSuchMethodException: zerodps.iMonster.iMonster.<init>()
    at java.lang.Class.getConstructor0(Class.java:2706)
    at java.lang.Class.getConstructor(Class.java:1657)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:171)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:97)
    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)
     
  18. Offline

    AndrewD544

    Can anyone help me mine is not working! Here is the config I am trying to make it announce that you get 20 dollars for killing any monster.

    ## iMonster Config File ##
    #Coins can be both positive and negitive, if you love spiders and don't want them killed, make it -20 and the player will loose 20 coins each spider killed.
    #Drops Need to be configured as follows: Creeper-Drops: ITEMID:QTY:pERCENTCHANCE;ITEMID:QTY:pERCENTAGE
    #Monster Max Drops will limit the amount of loot that will drop. (!!MONSTER WILL STILL GIVE NORMAL DROPS!! i.e. String, Arrow, Sulphur)
    # 100 = always drops, 25 = 1 in 4 chance of dropping , 1 = 1 in 100 chance of dropping
    #Example Monster-Drop Settings: % chance needs to be between 1 and 100 for now
    #Creeper-Drops: "264:1:1" - Gives a 1 in 100 chance to drop 1 diamond
    #Creeper-Drops: "264:2:1;354:1:10" - Gives a 1 in 100 chance to drop 2 diamonds and a 10 % chance to drop a cake.

    Monster-Max-Drops: 2
    Creeper-Coin: 57
    Creeper-Coin-Max: 57
    Creeper-Coin-Percent: 100
    Creeper-Drops: ""

    Skeleton-Coin: 20
    Skeleton-Coin-Max: 20
    Skeleton-Coin-Percent: 100
    Skeleton-Drops: ""

    Zombie-Coin: 27
    Zombie-Coin-Max: 27
    Zombie-Coin-Percent: 100
    Zombie-Drops: ""

    Spider-Coin: 35
    Spider-Coin-Max: 35
    Spider-Coin-Percent: 100
    Spider-Drops: ""

    PigZombie-Coin: 5
    PigZombie-Coin-Max: 0
    PigZombie-Coin-Percent: 100
    PigZombie-Drops: ""

    Ghast-Coin: 10
    Ghast-Coin-Max: 0
    Ghast-Coin-Percent: 100
    Ghast-Drops: ""

    Slime-Coin: 5
    Slime-Coin-Max: 0
    Slime-Coin-Percent: 100
    Slime-Drops: ""

    Giant-Coin: 20
    Giant-Coin-Max: 0
    Giant-Coin-Percent: 100
    Giant-Drops: ""




    Mob-Spawner-Coin: 0
    Mob-Spawner-Drops: ""
    Reward-Mob-Spawner-Destroy: false
    iConomy-Mob-Spawner-Message: "$5Mob Spawner Killed! You have been awarded $2%c!"
    iConomy-Mob-Spawner-Message-Enabled: true


    Check-For-Mob-Spawner-Camping: true
    Mob-Spawner-Camping-Radius: 15
    Reward-Kills-With-Bow: true
    RewardKillsWithBowDisabledMessageEnabled: true
    RewardKillsWithBowDisabledMessage: "$cNo Reward for camping with a bow go out and fight!"


    #Variables for the messages:
    # Black = $0
    # Dark Blue = $1
    # Dark Green = $2
    # Dark Aqua = $3
    # Dark Red= $4
    # Dark Purple = $5
    # Gold = $6
    # Gray = $7
    # Dark Grey = $8
    # Blue = $9
    # Green = $a
    # Aqua = $b
    # Red = $c
    # Light Purple = $d
    # Yellow = $e
    # White = $f
    # %m = Mob Name
    # %p = Player Name
    # %c = iConomy Currency Reward (this includes the amount and iConomy currency name i.e. 100 Crazy Coins or what ever you named your iConomy currency)

    Mob-Spawner-Camping-Message-Enabled: true
    Mob-Spawner-Camping-Message: "$cNo Reward for %m camping near the spawner."

    iConomy-Kill-Deposit-Message-Enabled: true
    iConomy-Kill-Deposit-Message: "$e%m Killed - %c deposited into your iConomy Account."

    iConomy-Protected-Kill-Message-Enabled: true
    iConomy-Protected-Kill-Message: "$cProtected %m Killed - %c removed from your iConomy Account."

    iConomy-Protected-Kill-No-Money-Message-Enabled: true
    iConomy-Protected-Kill-No-Money-Message: "$4Protected %m, you don't have the money for the fine. %m resurecting >.< "
     
  19. Offline

    Werepire12

    nest time you should make it a link, that way people like me dont have to take their time to make an account. But otherwise, nice plugin!
     
  20. Offline

    dubcraft

    Eeehrm, i added this to my server, but it doesnt seem to create a folder...
    so it doesn't work.
    Help?
     
  21. Offline

    RaymanMaik

    Is that still compatible with Bukkit 1000?
    EDIT: Okay, I just tried and get this error:
    Code:
    2011-08-15 16:37:52 [INFO] While loading iMonster for iConomy (plugins/iMonster.jar) renamed data folder: 'plugins/iMonster' to 'plugins/iMonster for iConomy'
    2011-08-15 16:37:52 [SEVERE] Could not load 'plugins/iMonster.jar' in folder 'plugins':
    java.lang.NoSuchMethodException: zerodps.iMonster.iMonster.<init>()
        at java.lang.Class.getConstructor0(Class.java:2721)
        at java.lang.Class.getConstructor(Class.java:1674)
        at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:171)
        at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:207)
        at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:130)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:128)
        at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:378)
        at org.bukkit.command.SimpleCommandMap$ReloadCommand.execute(SimpleCommandMap.java:281)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:320)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:713)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:677)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    So I think it isn't

    Is there a good alternative?
     
  22. Offline

    Apocolypse

    19:16:32 [SEVERE] Could not load 'plugins\iMonster.jar' in folder 'plugins':
    java.lang.NoSuchMethodException: zerodps.iMonster.iMonster.<init>()
    at java.lang.Class.getConstructor0(Unknown Source)
    at java.lang.Class.getConstructor(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.
    ava:171)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager
    java:213)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManage
    .java:136)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:143)
    at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:110)
    at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigu
    ationManager.java:51)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:133)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)

    Also monsters dont leave drops even at 100%
     
  23. Offline

    Minecraft404

    it dosnt work for me it dosnt give me moneywhen i kill things i am the host(admin0 of my server)

    thats whats happening to me

    plz help somebody

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

    Mrchasez

    I can pick this plugin up, and actively dev. it.
    Fix it/ Update it/ Make it better
    If you guys want
     
  25. Offline

    MrNegative370

    help me plz when i kill mobs of any type i dont get money i added the permissions node and i have all the requirements i dont know plz help i want this mob badly
     
  26. Offline

    Pokejml

    I hope this works for 1.8.1!!!

    Please do that!!!!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016

Share This Page