[INACTIVE][ECON] ecoCreature 0.0.5b - PvM/E Rewards [740]

Discussion in 'Inactive/Unsupported Plugins' started by ChrisB, Mar 18, 2011.

  1. Offline

    ChrisB

    ecoCreature 0.0.5b - PvM/E Rewards

    Description:
    Based upon the stories of iMonster and CookieMonster, this nifty little plugin will allow you, the server owner to hand out more than the default, boring sets of items dropped from creatures on your server.

    Apart from allowing extra drops, how about economy support through iConomy & Essentials Economy as well as BOSEconomy? But... we just forgot one, MineConomy! (it works, too!)

    Did you like how iMonster treated your currency rewards without those decimals? Fully optional here!
    As if that wasn't enough, reward and penalty messages, fully customizable from your end!
    -------------------------------------------------------------------------------------------------------------------------
    Features:
    • Currencry rewards through iConomy. Messages are customizable.
    • Currency penalties, if thats your wish - with customizable messages.
    • Extra drops from all animals and monsters.
    • Prevent camping around monster spawners, fully optional.
    • Prevent rewards through the use of bow and arrow, optional with custom message.
    • Penalty for dieing, fully optional and can be set at percentage level. Custom messages.
    • Beloved donors and special members can earn more money through a simple permission switch, set in percentage gain.
    • Silent rewards, through the options. No more messages about rewards, penalties and such.
    • + more! (Read the config file for all the juicy details!)
    -------------------------------------------------------------------------------------------------------------------------
    !!! Requirements:
    • iConomy 4.6.5
    • Permissions 2.7.2
    • CraftBukkit 740
    • * BOSEconomy 0.6.2 (Only required if you do not have iConomy)
    • * Essentials 2.1.x (Only required if you do not have iConomy)
    • * MineConomy 0.5.6 (Only required if you do not have iConomy)
    -------------------------------------------------------------------------------------------------------------------------
    Permissions Setup for ecoCreature

    Each and every creature available! (If you do not add any of them, you won't get rewards)
    Code:
    - 'ecoCreature.Creature.CraftCreeper'
    - 'ecoCreature.Creature.CraftSkeleton'
    - 'ecoCreature.Creature.CraftZombie'
    - 'ecoCreature.Creature.CraftSpider'
    - 'ecoCreature.Creature.CraftPigZombie'
    - 'ecoCreature.Creature.CraftGhast'
    - 'ecoCreature.Creature.CraftSlime'
    - 'ecoCreature.Creature.CraftChicken'
    - 'ecoCreature.Creature.CraftCow'
    - 'ecoCreature.Creature.CraftPig'
    - 'ecoCreature.Creature.CraftSheep'
    - 'ecoCreature.Creature.CraftSquid'
    - 'ecoCreature.Creature.CraftWolf'
    - 'ecoCreature.Creature.Spawner'
    
    ======== Or if you just want them all. ========
    - 'ecoCreature.Creature.*'
    
    + Note that the permissions are case sensitive! +
    -------------------------------------------------------------------------------------------------------------------------
    Colour Codes @ ecoCreature.yml
    &0: Black
    &1: Dark Blue
    &2: Dark Green
    &3: Teal
    &4: Dark Red
    &5: Purple
    &6: Gold
    &7: Light Grey
    &8: Dark Gray
    &9: Light Blue
    &a: Light Green
    &b: Turquoise
    &c: Light Red
    &d: Pink
    &e: Yellow
    &f: White
    -------------------------------------------------------------------------------------------------------------------------
    Warnings / Notes:
    • I might of have missed something, if I did, just leave a message in the thread.
    -------------------------------------------------------------------------------------------------------------------------
    Known Issues:
    • None.
    -------------------------------------------------------------------------------------------------------------------------
    Suggestions / TODO:
    • Suggestions are welcome.
    -------------------------------------------------------------------------------------------------------------------------
    Downloads:
    ecoCreature.jar via gamebin.org
    Full working server setup, for reference via gamebin.org
    -------------------------------------------------------------------------------------------------------------------------
    Changelog:
    v0.0.5b
    • Updated for the latest stable bukkit.
    • Some features are still being worked on, in case you're wondering.
    v0.0.5a
    • Fixed messages with no colors.
    • Fixed death penalty.
    • Added FixedDrops, open your ecoCreature.yml and add FixedDrops: false right under OverrideDrops. You can set the value true or false, if true... creatures will only drop the specified amount in your loot table, otherwise when false it takes a random number between 0 and the amount you wanted. This only needs to be added if upgrading from 0.0.5 and don't want to re-generate your config.
    v0.0.5 - Lederhosen!
    • uQuest hooking, if a creature dies, it can give a random quest.
    • Spawner drops items now.
    • Dollar signs as your currency now works.
    • Updated to work with MineConomy 0.5.6
    • Flat or percentage for the death penalty.
    • Misc random stuff that didn't work should work.
    • Tested against iConomy, didn't have time for the others - but should work, report what doesn't work if thats the case.
    • THIS RELEASE IS A CONFIG-BREAKER, GENERATE A NEW ONE AND COMPARE TO YOUR OLD CONFIG, CHANGE WHERE REQUIRED!
    v0.0.4g4 - Cows with laserguns!
    • uQuest hooked, but doesn't do anything yet.
    • MineConomy support added.
    • If camping near a spawner, mobs shouldn't drop anything.
    • Minor fixes and tweaks here and there, hopefully working better and warns when not working.
    v0.0.4g3 - Crispy Milk!
    • Drops under 1% are working.
    • Added a check to see whether or not Permissions are hooked and enabled.
    • Minor fixes.
    v0.0.4g2 - Maintenance overdrive, supreme drift!
    • Fixed up some permission checking.
    • Tweaked some hooks.
    • Compiled and tested with RB 670
    • Minor maintenance, no config changes required.
    v0.0.4g1 - Maintenance maintenance of the maintenance extreme extreme release.... deluxe
    • Toggler for No Reward message fixed.
    v0.0.4g - Jeeeez man ;/
    • Hopefully nailed the DEATH and RESPAWN issues.
    • Added BOSEconomy, its back in the game.
    • PigZombie is PigZombie, and no longer Zombie :p
    • Permissions are back in, and there has been changes made.
    • Extra gains work on group-level, you'll see what I mean inside the config.
    • No Reward message can now be toggled on or off.
    • Drop overrides can also be toggled on or off.
    • Random acts of fiddling around with the code
    • You must backup, remove & let ecoCreature generate a new config with this release.
    v0.0.4f - Ohsnap
    • Default drop tables are overriden by ecoCreature, default table is added to the config. Will be optional later.
    • Fixed a serious bug, where the players inventory would be wiped upon death. (very random and not always happening - but could)
    • Specifying a drop amount for a creature will give it a random between 0 and the specified amount now.
    • Essentials Economy is again supported and seems to be working better than ever.
    • Where did all the permissions go? VIP is left in for now, everything should per default yield rewards for now.
    v0.0.4e - More
    • Pigs no longer looked upon as Creepers
    • IntegerCurrency fixed, and working again.
    v0.0.4d - Maintenance Deluxe
    • Drops should override default creatures drops now.
    • Drops should now drop at the location of the creature which died.
    • Minor fixes.
    v0.0.4c - Extra Maintenance Release
    • Should be working fine with RB617, two test servers reporting no errors.
    • Configuration file fixed.
    • Tiny fixes.
    v0.0.4b - Maintenance release.
    • Check and option to see whether or not a player is under sea level.
    • Wolves added and supported.
    • Expanded list of items held.
    • Configuration changes, backup and re-generate, make sure you are up to date!
    v0.0.4a- Maintenance release.
    • Small bugfixes and tweaks.
    • Mob/monster spawner camping checks both the player and creature if near the spawner now, not just the player.
    v0.0.4
    • New permission available.
    • New configurable messages, send a message even if there aren't any rewards!
    • Option for configuring spawncamping message, or turn it off.
    • Empty messages should no longer output to players.
    • VIP group permission, reward your donors or special players with extra cash!
    • Penalty upon death (optional, drop some money when you die)
    • New and improved configuration,back up and generate a new one to see the newlyadded awesome.
    • + some other changes and fixes.
    v0.0.3
    • Fixed a bug with iConomy adding money even though a negative amount was entered.
    • Small tweaks.
    v0.0.2
    • Quick bugfix for proper messages.
    v0.0.1
    • Initial Release.
    -------------------------------------------------------------------------------------------------------------------------

    Special Thanks & Stuff
    mudzereli, Mirage & Mineral, for initial testing & ideas.
    Nijikokun for iConomy, testing, code and ideas.
    Essentials Team for Essentials & Essentials Economy.
    Brotherhood Of Slaughter for their economy plugin.
     
  2. Offline

    StefanG

    it works, for me. If for whatever reason you need a download of the version i have working let me know. I actually came here to make sure no one picked up the project-now I'm moving on though. It throws exceptions and errors all the time ;/
    [SEVERE] messages are all over my .log from this plugin...Going to try MobBounty...it's a shame really...
     
  3. Offline

    Kainzo

    MobBounty wouldnt work with mysql/ico5 with me. good luck @StefanG - I have a coder picking this up - but it wont have any new features, just maintenance.
     
  4. Offline

    LucidLethargy

    Devs have had a lot of time to save this one... but it's just flat out dead seemingly. Sorry guys, I loved this plugin as well but it's time to move on it seems. Very disappointing loss of work here... I can only hope the replacements we find have half the configurability.

    Edit: Just checked all other plugins on the list, and nothing compares it seems... The closest seems to be "MobBounty", though.

    Edit2: It seems like reports of this plugin breaking with 935 are greatly exaggerated. It still works with the basics at least. One issue is that the custom drops still take place when you camp spawners.
     
  5. Offline

    StefanG

    @Kainzo I now love you. I just can't leave this beauty of a plugin behind <3

    lol, but really, thanks for saving this plugin, and most of all thanks SO much for helping out the community here all the time, you guys at Herocraft are one of a kind gentlemen.
     
  6. Offline

    Kainzo

    I'm actually using a modified version of this by Mung3r (a dev and player on my server)

    @StefanG - unlike some servers, we believe in giving back to the community - despite our own personal agendas, I think its been a good thing ;)
     
  7. Offline

    StefanG

    @Kainzo Yep everyone appreciates it. Could you link me to where this plugin is now being maintained? (or whatever) :D
     
  8. Offline

    BioRage

    Do you have a link?
     
  9. Offline

    Bombrider

    God please!!! Do not let this plugin die!!!
     
  10. Offline

    Kainzo

    BioRage likes this.
  11. Offline

    blutherz

  12. Offline

    LucidLethargy

  13. Offline

    Nachocuban

    it does!
     
  14. Offline

    Kainzo

    I'm just the messenger ;) a hot sexy messenger.
     
    Banana937 likes this.
  15. Offline

    Datenkralle

    There are no config for it? Or plugin is not load, because /plugins show me your plugin in red?
     
  16. Offline

    kemil88

    i hate permissions, can you set permissions possible but not needed?
     
  17. Offline

    mung3r

    The config is generated automatically. However, and this is important, you must edit the config to *enable* the plugin. Otherwise, it will not take effect.
     
  18. Offline

    pacmanjones

    Could you add multiworld support? That way I could have worlds with Mob Arenas where you don't get money from the mobs.
     
  19. Offline

    kahlilnc

    Would be nice to see this come back.
     
  20. Offline

    Datenkralle

    I testet it - restart the server, reload the plugins, but no config is created. My operating system is linux.
     
  21. Offline

    LucidLethargy

    I believe this is broken in CB 1000, any possibility of a kind gentlemen fixing it? There's just no equal to ecocreature that I can find anywhere...
     
  22. Offline

    mung3r

    My server is also linux and it does generate the config files. Also, make sure you use my updated jar here:
    https://github.com/downloads/mung3r/ecoCreature/ecoCreature.jar

    This works for both 953 and 1000.

    Give this a try:
    https://github.com/downloads/mung3r/ecoCreature/ecoCreature.jar

    I have it running just fine on my dev server with CB 1000

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 12, 2016
    LlmDl likes this.
  23. Offline

    LucidLethargy

    I've actually already switched over to cookiemonster and converted everything to mimic ecocreature. This one seems like nobody will truly re-invent it, and I hear the anti-camping mechanism doesn't work so i'll place my bets on cookiemonster as that dev claims he is working on that, where as this one is just barely alive : /

    thank you for sharing your efforts, though!
     
  24. Offline

    ftmichael

    It's mostly working for me but occasionally I'm seeing errors in my log:

    Code:
    [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.ArrayIndexOutOfBoundsException: -1
        at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.CashRegistry(ecoRewardHandler.java:27)
        at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDeath(ecoEntityListener.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.EntityLiving.q(EntityLiving.java:467)
        at net.minecraft.server.EntityLiving.die(EntityLiving.java:447)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:43)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile: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)
    Searching for others with this problem just showed me posts from last March or April. Anyone getting this issue currently? Is there a fix?

    I'm using craftBukkit #1000 (0.0.1); ecoCreature 0.0.5b; Permissions 3.1.6; iConomy 5.01; Essentials 2.4.2; and PlgSetspawn 4.1.
     
  25. Offline

    mung3r

    I just recently implemented support for CraftMonsters which this error comes from. However, the new JAR doesn't update existing ecoCreature.yml configs with the entry for monsters so you need to add it manually.

    Here's an example entry you can use:
    Code:
        Monster:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 20.00
            Coin_Percent: 100
            NoReward_Message: '[&9!&f] The &c<crt> &fdies from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &c<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
     
  26. Offline

    Zecharian


    So If I am gettings some errors like this:

    2011-07-25 13:32:56 [SEVERE] Could not pass event ENTITY_DAMAGE to ecoCreature
    java.lang.NoSuchMethodError: net.minecraft.server.EntityWolf.m_()Z
    at se.crafted.chrisb.ecoCreature.entities.ecoUW.isTame(ecoUW.java:44)
    at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDamage(ecoEntityListener.java:64)
    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)

    I can just create an entry in the yml to fix this if it is not in the file?
     
  27. Offline

    mung3r

    If you're using my Jar then you may need to add an entry for wolves.
     
  28. Offline

    ftmichael

    I added the example entry to my ecoCreature.yml, although I didn't re-download ecoCreature.jar because I'm already using the latest version. I'm still getting errors:

    Code:
    [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.ArrayIndexOutOfBoundsException: -1
        at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.CashRegistry(ecoRewardHandler.java:27)
        at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDeath(ecoEntityListener.java:118)
        at org.bukkit.plugin.java.JavaPluginLoader$59.execute(JavaPluginLoader.java:656)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
        at net.minecraft.server.EntityLiving.q(EntityLiving.java:467)
        at net.minecraft.server.EntityLiving.die(EntityLiving.java:447)
        at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:391)
        at net.minecraft.server.EntityMonster.damageEntity(EntityMonster.java:43)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:561)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:858)
        at net.minecraft.server.Packet7UseEntity.a(SourceFile: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)
    Looks like the exact same error to me. Thoughts? (Yes, I restarted the server after modifying the config file.)
     
  29. Offline

    mung3r

    I would start over and download this:
    https://github.com/downloads/mung3r/ecoCreature/ecoCreature.jar

    *and* either move away or delete your ecoCreature.yml file so that the Jar can create a new one from scratch.
     
  30. Offline

    king_of_ping

    I'm having an error:

    my ecoCreature.yml is:

    I Use Essentials (/w Ess Group Manager), LWC, Heroic Death & Voxel Sniper.

    Would love to impliment your plugin,
    look forward to your help.

    King
     
  31. Offline

    Juze

    @ChrisB : #740 very inactive, please test against latest RB.
     

Share This Page