[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

    Scipione

    Thanks ChrisB, now it works, just pondering y it didn't work with default config (Perhaps of the last line in the new config ? ^^)
     
  3. Offline

    ChrisB

    Changing that line will make it work on a reload or a stop / start :)
     
  4. I did all the config but...
    Code:
    14:23:14 [INFO] [ecoCreature] version {0.0.4c} is loading.
    14:23:14 [INFO] [ecoCreature] Failed to retrieve configuration from directory.
    14:23:14 [INFO] [ecoCreature] Please back up your current settings and let ecoCr
    eature recreate it.
    14:23:14 [SEVERE] null initializing ecoCreature v0.0.4c (Is it up to date?)
    java.lang.NullPointerException
            at se.crafted.chrisb.ecoCreature.ecoCreature.onLoad(Unknown Source)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:66)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:215)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:202)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:142)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:257)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    14:23:14 [INFO] [ecoCreature] Please configure ecoCreature (plugins/ecoCreature.
    yml) before continuing. Plugin disabled.
    14:23:14 [INFO] [ecoCreature] has been disabled!
    Or does it HAVE to be 617?
     
  5. Offline

    ChrisB

    I won't support any version before the recommended version, as I don't actually know whether or not it will work there. I'm sorry, either upgrade or stay with what works for the time being as Minecraft 1.4 is still very new.
     
  6. How do you find 617? I can only find 612...
     
  7. Offline

    ChrisB

  8. I downloaded all of them, tested them, and it still ran as 612. Is that a glitch?
     
  9. Offline

    ChrisB

    You need to make sure the server is offline, and that you replace the old craftbukkit version with the new... filenames etc. then try again
     
  10. Still not working... I'm writing my computer off as a lemon...
    EDIT:I downloaded 621, and it showed up as 617! sadly, it didn't work...
     
  11. Offline

    ksevelyar

    How can I disable NoReward_Message?
     
  12. Offline

    pixelbat

    Using CB 617, Permissions 2.5.5, iConomy 4.6.5, EcoCreature 0.0.4c
    I am getting the following error anytime someone kills a mob:
    Code:
    17:07:25 [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.NullPointerException
            at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.GivePlayerDro
    pReward(Unknown Source)
            at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.GivePlayerRew
    ard(Unknown Source)
            at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onCreatureDe
    ath(Unknown Source)
            at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDeat
    h(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$39.execute(JavaPluginLoader.j
    ava:405)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:255)
            at net.minecraft.server.EntityLiving.p(EntityLiving.java:466)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:445)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:393)
            at net.minecraft.server.EntityMonster.a(EntityMonster.java:47)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:508)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:720)
            at net.minecraft.server.Packet7UseEntity.a(SourceFile:33)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  13. Offline

    ChrisB

    Newly installed? Running alongside which plugins?
     
  14. Offline

    pixelbat

    I'm using a lot of plugins, however I uninstalled everything except permissions, ecocreatures, and iconomy to test, and still getting the error.
     
  15. Offline

    dervonz

    Same here!!

    Getting [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.NullPointerException Bukkit 627

     
  16. Offline

    ChrisB

    Download updated, get the new one please and try again
     
  17. Offline

    dervonz

    Updated to 0.0.4d

    still getting...



    and

     
  18. Offline

    Mwahagga

    I am having an issue where pigs are counted as creepers. Every time a pig gets killed the creeper-amount of money drops and I get the "You have been awarded yadda-yadda for slaying a creeper" message. I tried using the default ecoCreature.yml file but still had the same issue.

    Other than that, this plugin is amazing. I get no load errors or run errors using CB 617.

    Edit: Forgot to note, none of the other mobs seem to have this issue. I was using this with a few other plugins but when I noticed the pig error I tried using only Permissions 2.5.5 and iConomy 4.6.5 but still had the issue.
     
  19. Offline

    spelmyst

    BLOCK-BREAK error breaking a spawner block

     
  20. Offline

    MrAdam

    When killing a wolf, it recognizes it as a spawner.
     
  21. Offline

    LucidLethargy

    Bugs with 0.0.4d:

    When pigs are killed, you are alerted that you just killed a creeper, and paid as such (pretty big error -.-)

    Even though I have the integercurrency set to "true", I am still getting .25 and .5 rewards. As our server uses solid gold "drakes" this makes no sense at all.

    Either way, you've got the best plugin out here even with those errors - awesome work coming out with an update in such good time as well!
     
  22. Offline

    fugue2005

    2011-04-04 00:27:59 [SEVERE] Could not pass event PLAYER_RESPAWN to ecoCreature
    java.lang.NumberFormatException: For input string: "10,249.44"
    at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1242)
    at java.lang.Double.valueOf(Double.java:492)
    at se.crafted.chrisb.ecoCreature.utils.ecoFunctions.roundTwoDecimals(Unknown Source)
    at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.UnfortunateAccident(Unknown Source)
    at se.crafted.chrisb.ecoCreature.entities.ecoPlayerListener.onPlayerRespawn(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:181)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
    at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:206)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:727)
    at net.minecraft.server.Packet9Respawn.a(SourceFile:10)
    at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  23. Offline

    LordJason

    I did think about starting an argument about it. I decided that it would be pointless to do. I also decided that I would be arguing the same viewpoint that the config file reflects, as I agree with it. But I did briefly think about it.
     
  24. Offline

    ChrisB

    Please try to remove the entire ecoCreature folder within your plugins folder, restart your server.
    ecoCreature will create a proper config file for you.

    Try again.

    I swiftly fixed the pig being a creeper, had missed a number :p
    As for integer currency, It's also fixed now.

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

    spartan9910

    What is still broken or is everything fixed?
     
  26. Offline

    ChrisB

    It works for me, and several others that test before I release, so... it should work just fine, if people opened their eyes and read the information posted in the very first thread.
     
  27. Offline

    Ryole

    Uh... When I installed ecoCreature, I have huge laggs....

    And the bug:
    Code:
    2011-04-03 03:15:24 [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature java.lang.StringIndexOutOfBoundsException: String index out of range: 5 at java.lang.String.charAt(Unknown Source) at java.util.regex.Matcher.appendReplacement(Unknown Source) at java.util.regex.Matcher.replaceAll(Unknown Source) at java.lang.String.replaceAll(Unknown Source) at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.doYourThing(Unknown Source) at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDeath(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$40.execute(JavaPluginLoader.java:411) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255) at net.minecraft.server.EntitySkeleton.p(EntitySkeleton.java:111) at net.minecraft.server.EntityLiving.a(EntityLiving.java:445) at net.minecraft.server.EntityLiving.a(EntityLiving.java:393) at net.minecraft.server.EntityMonster.a(EntityMonster.java:47) at net.minecraft.server.EntityHuman.d(EntityHuman.java:508) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:722) at net.minecraft.server.Packet7UseEntity.a(SourceFile:33) at net.minecraft.server.NetworkManager.a(NetworkManager.java:198) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72) at net.minecraft.server.NetworkListenThread.a(SourceFile:100) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283) at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
     
  28. Offline

    ChrisB

    Right, I have seen nearly all errors possible. However, it would be great to know the following as well, please return these to me:
    Your CraftBukkit version.
    Your other plugins installed.
    Have you had this installed before, yes or no.
    If no, did you delete the old config and generate a new one + configure it properly.
    Did you just reload CB or did you stop / start?
     
  29. Offline

    Ryole


    CB 617

    BoarderGuasrd Lite
    Essentials
    LWC
    NaturalGiant
    Permissions
    Prefixer
    WorldEdit
    WordlGuard
    EcoCreature
    iConomy
    mcMMO

    no

    yes

    I restarted my Server
     
  30. Offline

    Plop

    I have delete my old config file, and configure the new, but it doesnt work anymore...

    http://pastebin.com/TiC04YjU

    18:16:21 [INFO] [ecoCreature] Please configure ecoCreature (plugins/ecoCreature.yml) before continuing. Plugin disabled.
    18:16:21 [INFO] [ecoCreature] has been disabled!
     
  31. Offline

    Dr_Herbalist

    Hey,
    Im running 617, i have these plugins...
    AntiBuild.jar
    AntiHack.jar
    BigBrother.jar
    BlastControl.jar
    CommandIConomy.jar
    CraftBook.jar
    CraftBookCircuits.jar
    CraftBookMechanisms.jar
    CraftBookVehicles.jar
    dynmap.jar
    ecoCreature.jar
    FakePermissions.jar
    General.jar
    GroupManager.jar
    HeroicDeath.jar
    iChat.jar
    iConomy.jar
    items.db
    LocalShops.jar
    LWC.jar
    mclauncher.jar
    MultiVerse.jar
    SignColours.jar
    SpawnX.jar
    WolfPound.jar
    WorldEdit.jar
    WorldGuard.jar


    I had it installed then deleted the whole ecoCreature folder, then restarted the server (full restart) twice.
    I have the latest iConomy and yet it does nothing when I kill a creature.

    Thanks.

    I fixed it. I didnt read the bottom of config :p

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

Share This Page