Inactive [ECON] ecoCreature 0.2.2 - Mob & PVP Rewards [1.4.6]

Discussion in 'Inactive/Unsupported Plugins' started by mung3r, Aug 3, 2011.

  1. Offline

    mung3r

    [​IMG]
    ecoCreature 0.2.2 (Belay that nose-picking, Cadet!)
    Mob & PVP Rewards
    More plugins to try:
    MobRider - Finally, a proper use for saddles!
    DeathTpPlus - Death notifications & recall!

    Features:
    • Coin rewards, coin penalties and drops for:
      • Killing mobs
      • PVP
      • Kill streaks
      • Death streaks
      • Leveling
      • Breaking blocks
    • Share coin rewards with:
    • Increase or decrease coin rewards based on:
      • Biome (swampland, forest, etc.)
      • Environment (normal, nether, etc.)
      • Time of Day (day, night, etc.)
      • Weather (sunny, stormy)
      • Permissions Group (e.g. default, elite, etc.)
      • Factions (neutral, enemy, etc.)
      • Heroes party
      • mcMMO party
      • MobArena participants
      • WorldGuard region
      • Regios region
      • Residence region
      • Towny membership
      • Weapon used
    • Customize items drops to include:
    • DeathTpPlus rewards:
      • Rewards for kill streaks
      • Penalties for death streaks
    • Heroes rewards:
      • Rewards for mastering a class
      • Rewards for leveling
    • mcMMO rewards:
      • Rewards for leveling
    • Prevent exploits:
      • Camping around Mob Spawners
      • Mob farming
      • Limit projectile use (e.g. Bow & Arrow)
    • Multi-world support
    Usage Stats:
    [​IMG]
    --------------------------------------------------------------------------------------------------------

    Acknowledgements:
    The original ecoCreature was made by ChrisB. All credit goes to him for his creation. Since his plugin has gone inactive since rb740, I have decided to continue doing maintenance updates for his plugin.
     
  2. Offline

    FuRiouSOne

    Ill wait on official release as all i mainly want is the ability to input 3+ digit hex codes so i can add in potion and poison drops on mobs :)
     
  3. Offline

    LlmDl

    @mung3r
    How do you feel about adding xp-orb drop-control? I'd like it if spawners didn't give xp orbs, and the ability to decide which mobs drop xp/how much they'd drop.

    Do you think that could happen?
     
  4. Offline

    mung3r

    In bukkit for mc 1.8, XP orbs were not part of the normal drops returned for mobs that died. Now, if there's a way to get at the orbs in the latest bukkit, then it's absolutely possible.
     
    LlmDl likes this.
  5. Offline

    Evonava

    ok. Ecocreature, essentials, group manager, log block, mcmmo, votifier, world guard/edit.
    the problem i have is that I can kill monsters and get money. but none of my players can.
    did I flub up a permission? or what did I flub up?
     
  6. Offline

    mung3r

    Did you also install Vault.jar?
     
  7. Offline

    Zidkon

    Yes, actually there is a way to control/set the number of dropped experience orbs, and actually this would be a GREAT add to the plugin.

    Btw, when will be up new version? I know you hav dev builds but like a official version release?
     
  8. Offline

    Evonava

    yes sir or ma'am.
     
  9. Offline

    mung3r

    Permissions setup?
    Code:
    ecocreature.reward.*
    ecocreature.gain.*
    This will grant reward permissions for everything.
     
  10. Offline

    mung3r

    Ok, have at it! :) Download here.
     
  11. Offline

    JanTTuX

    Great plugin, keep working this.
     
  12. Offline

    mung3r

    Hmm, still pending approval from the bukkit crew. Try this link.

    Here's an drop example of what you can do with the new release:

    Code:
    Drops: 'diamond_pickaxe,durability.3:1-1:100;diamond_sword,damage_all.5:1-1:100;potion.5:1-1:100'
    Let's pick this apart. This will drop:
    • 1 Diamond Pick with Unbreaking III (a.k.a. durability.3)
    • 1 Diamond Sword with Sharpness V (a.k.a. damage_all.5)
    • 1 Potion of Healing (a.k.a. potion.5)
    Enchantment names can be found here.
    Potion data IDs can be found here.

    You can only apply one enchantment at the moment. Working on stacking these in the next maintenance release.

    Update: figured out stackable enchantments so you can have something like this now:

    Code:
    Drops: 'diamond_pickaxe,silk_touch.1,durability.3:1-1:100;diamond_sword,damage_all.5,knockback.2,fire_aspect.2:1-1:100;potion.2:1-1:100'
    Make sure you verify in the server.log that you downloaded v0.0.9a. It took a while for the files to get approved on dev.bukkit so you might have downloaded the older version.

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

    Evonava

    I attempted to look up all the permissions for the plugin. I am missing them I guess.
    I Presume
    ecocreature.reward.* ecocreature.gain.*
    will give them aces to the rewards and the drops but not power to alter them?
     
  14. Offline

    ScottSpittle

    MobArena Rewards doesn't work.
     
  15. Offline

    Zidkon

    Great Thanks :) and very thanks for adding support on Override drops
     
    mung3r likes this.
  16. Offline

    mung3r

    The actual rewards are configured server side in the default.yml file located in plugins/ecoCreature/default.yml. There's no way a user can modify those via permissions.
     
  17. Offline

    Zidkon

    @mung3r 1% of chance doesn't drop right?

    Random*100+1 Will never be 1 or lower than it xD, Or I'm wrong?
     
  18. Offline

    Jdbye

    Could you add a version to the config file so the plugin will detect older config files and add the new entries automatically? It's kind of annoying having to rename the config file for every new version and letting it regenerate so I can copy paste the new entries manually just to get rewards from new mobs.
     
  19. Offline

    mung3r

    Good catch. Will patch that up.

    Yeah, I agree it's a hassle. It's on the "to do" list but has always been of lower priority.

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

    LlmDl

    @dumptruckman wrote a very nice config system which is used in some of this plugins and Towny, I haven't got a clue where you'd get his code though.

    Also, did you get anywhere on eliminating xporb drops from monsterspawners?
     
  21. Offline

    Zidkon

    @mung3r I was testing the updated ecoCreature and the new feature of ClearDefaultDrops (I haven't seend the code anyway), and the first I noticed is that I deleted the drop of the Creeper (Sulphur is the only drop, so I deleted it), and I used Essentials to make powertool on a block (to spawn a lot of creepers fast) and while I spawn em I hit them so they explode and kill the others Creepers, and it still drops Sulphur.

    Not sure if this was happening too if I killed them by using Flint and Steel's fire, butI think it was working the same way too.
     
  22. Offline

    LordPhrozen

    Awesome plugin.
    Suggestions:
    1) Global lootlist and monster use globallootlist flag. [ for those of us who want 98234572345 items :3]
    2) Random loot support (itemname, Number of enchants, maximum level of chants, chance to drop) God this would be so much nicer.


    currently im using things like below:
    Drops: 'potion.1:1:13;potion.5:1:10;potion.9:1:8;potion.12:1:8;wood_sword:1:16;wood_sword,damage_all.1:1:13;wood_sword,damage_all.2:1:15;wood_sword,damage_all.3:1:10;wood_sword,damage_all.4:1:8;iron_sword:1:12;iron_sword,damage_all.1:1:10;iron_sword,damage_all.2:1:9;iron_sword,damage_all.3:1:7;iron_sword,damage_all.4:1:5;leather_helmet:1:18;leather_helmet,protection_environmental.1:1:13;leather_helmet,protection_environmental.2:1:6;leather_helmet,protection_environmental.3:1:2;iron_helmet:1:18;iron_helmet,protection_environmental.1:1:13;iron_helmet,protection_environmental.2:1:6;iron_helmet,protection_environmental.3:1:2;iron_leggings:1:15;iron_leggings,protection_environmental.1:1:10;leather_leggings,protection_environmental.3:1:2;iron_leggings:1:18;iron_leggings,protection_environmental.1:1:13;iron_leggings,protection_environmental.2:1:6;iron_leggings,protection_environmental.3:1:2;wood_sword,damage_all.1,fire_aspect.2:1:1;wood_sword,damage_undead.4,durability.2:1:1;wood_sword,durability.3,damage_arthopods.3:1:1'

    By having dynamic loot this would make this plugin quite a bit more efficient, than it checking for 2345 items per monster kill.

    3) Again, Fantastic plugin.
     
  23. Offline

    mung3r

    For those having similar issues, grab the build here.

    Thanks for the tip!

    So far, just confirmed that I have access to the orbs in the events.

    If you're talking about indirectly killing mobs, then clearing drops will not work. It only applies to direct kills from a player.

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

    dumptruckman

    @mung3r LlmDl mentioned my config thing. I recently updated it for the new bukkit config but it's not tested yet though it should theoretically still work. https://github.com/dumptruckman/Plu...n/java/com/dumptruckman/plugintemplate/config it's part of my PluginTemplate i commonly use. Those 2 classes. Notice, it allows you to add comments automatically to your config. Everything has to be commented or it will be removed. You set up values in the Config enum for what your current config values are. This means if things are missing they will be added with a default and old stuff that isn't in the enum anymore will be removed because it's comments will no longer be added.
     
    mung3r likes this.
  25. Offline

    batubozkan

    Help's needed and much appreciated

    Code:
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    19.12 22:00:31 [Server] INFO     at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:93)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:916)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.EntityHuman.f(EntityHuman.java:794)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:44)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:502)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.EntityCreeper.die(EntityCreeper.java:91)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.EntityLiving.die(EntityLiving.java:606)
    19.12 22:00:31 [Server] INFO     at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:631)
    19.12 22:00:31 [Server] INFO     at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(CraftEventFactory.java:305)
    19.12 22:00:31 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    19.12 22:00:31 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    19.12 22:00:31 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$65.execute(JavaPluginLoader.java:718)
    19.12 22:00:31 [Server] INFO     at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:44)
    19.12 22:00:31 [Server] INFO     at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
    19.12 22:00:31 [Server] INFO     at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    19.12 22:00:31 [Server] INFO     at org.bukkit.plugin.java.JavaPluginLoader$97.execute(JavaPluginLoader.java:945)
    19.12 22:00:31 [Server] INFO     at se.crafted.chrisb.ecoCreature.listeners.DeathEventsListener.onCustomEvent(DeathEventsListener.java:27)
    19.12 22:00:31 [Server] INFO     at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onCreatureKilledByPlayer(ecoDeathListener.java:22)
    19.12 22:00:31 [Server] INFO     at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerCreatureDeath(ecoRewardManager.java:154)
    19.12 22:00:31 [Server] INFO     at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerReward(ecoRewardManager.java:240)
    19.12 22:00:31 [Server] INFO     at se.crafted.chrisb.ecoCreature.managers.ecoMessageManager.sendMessage(ecoMessageManager.java:57)
    19.12 22:00:31 [Server] INFO     at net.milkbowl.vault.economy.plugins.Economy_iConomy6.format(Economy_iConomy6.java:98)
    19.12 22:00:31 [Server] INFO     at com.iCo6.iConomy.format(iConomy.java:476)
    19.12 22:00:31 [Server] INFO     at com.iCo6.util.Common.formatted(Common.java:125)
    19.12 22:00:31 [Server] INFO     at java.util.ArrayList.get(ArrayList.java:382)
    19.12 22:00:31 [Server] INFO     at java.util.ArrayList.rangeCheck(ArrayList.java:604)
    19.12 22:00:31 [Server] INFO java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
    19.12 22:00:31 [Server] SEVERE Could not pass event CUSTOM_EVENT to ecoCreature
    
    
     
  26. Offline

    mung3r

    Post your config on pastie.org so I can take a look.
     
  27. Offline

    FuRiouSOne

    Still unable to use 3+ digit data IDs, 373.8197:2-1:100 will not drop healing potions. So would love to have potion drops off spiders one day :).
     
  28. Offline

    mung3r

    Did you try this?
    Code:
    potion.5:1-2:100
    These are the Data IDs that are supported:
    http://www.minecraftwiki.net/wiki/Data_ids#Potions
     
  29. Offline

    FuRiouSOne

    mung3r likes this.
  30. Offline

    Fancypantsy

    Will this plugin get rid of the orb drops when spawncamping?
     

Share This Page