[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

    Cryt

    He would thus have the same problem as me?
     
  3. Offline

    ChrisB

    Only if you are getting the message here below
    [ecoCreature] Please configure ecoCreature (plugins/ecoCreature.yml) before continuing. Plugin disabled.
     
  4. Offline

    Cryt

    No I have such a message:/ I believe to have found the problem anyway... Permissions do not absolutely work at home... I uninstalled quite my plugings and I try to param├Ętrer this monster which really begins to get on nerves of me.
    Be that the fact that the name of my world is: Heavenly Island can make bug Permissions? Can be that he does not accept Heavenly Island.yml ?

    How to change the name of my world in that case there? I am sorry I leave for irrelevant...
     
  5. Offline

    ChrisB

    I think naming the worlds strangely or with spaces can make permissions buggy, I'm not sure... but your config for permissions need to have the same name as the world
     
  6. Offline

    Cryt

    I return with a good piece of news ! EcoCreature works! It was simply of in the name of the world and in a bad installation of Permissions. And doubtless because of some plugings also.. But it is adjusted ! Thank you very much of your help !
     
  7. Offline

    Shanev

    Is there a way to make this plugin compatible with naturalGiants, since there is no other possibility to spawn giants naturally, right? Natural giants seems to work with your plugin, but I don't get any money or items configured in your plugin :( I always get the error message:



    Or is there a way to disable giants in your plugin? I've tried to delete the giants in the config but got the following error message when killing one:


     
  8. Offline

    BigBlueGER

  9. Offline

    Slugslug

    am getting

    [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.IllegalArgumentException: n must be positive
    at java.util.Random.nextInt(Random.java:265)
    at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDeath(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$42.execute(JavaPluginLoader.java:458)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java: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.EntitySheep.a(SourceFile:69)
    at net.minecraft.server.EntityHuman.d(EntityHuman.java:515)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:752)
    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)


    poss due to using a - (minus) for fine???
    Chicken:
    Drops: ''
    Coin_Minimum: -3000.00
    Coin_Maximum: -250.00
    Coin_Percent: 50
    NoReward_Message: '[$9!$f] The $2%m $fdies from a blow with your $3%i'
    Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $2%m'
    Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
     
  10. Offline

    ChrisB

    Congratulations on getting an error related to the drops, which should of have been fixed since ages ago... but, then you have an ancient configuration file and looks like its for the 0.0.4 series.

    java.lang.IllegalStateException: Entity is already tracked!
    That error is from naturalGiants and has nothing to do with ecoCreature, I'm sorry.

    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
    Permissions must of have been found to begin with, but then it seems like it had issues hooking up to it at a later point, it checks a users / groups permission for ecoCreature.Creature.CraftGiant or ecoCreature.Creature.*

    More of these have been popping up as of late, I'll rewrite a few bits and get a new version out in a while, see if it does hook correctly... thats what I believe it doesn't do, or if its in conflict with something else.

    I'm happy that you got it to work, finally :)
     
  11. Offline

    DoctorFedora

    ChrisB: I have permissions installed and it's in the default place (plugins folder) - why can't ecoCreatures find it?
     
  12. Offline

    ChrisB

    Hard to say, could you stop by on IRC? irc.esper.net in the channel #iConomy
     
  13. Offline

    Hakaslak

    @ChrisB

    Could you please add in a check to not allow drops from mobs if they are within the vicinity of a iron or wooden door? The players on my server have made cages similar to the one pictured below that allows them to sit and hit mobs all day, as the doors only allow for damage in one direction.

    Thank you very much!!

    [​IMG]
     
  14. Offline

    ChrisB

    Can't blame them for being crafty ;)
    I'll add some more fancy stuff in the next version, expect your idea to come to use in a way you never thought you'd think ... thinkynessylike. Well, I'm implenting it with a twist :p
     
  15. Offline

    Shalobee

    I love this plugin thanks for the work on it :) I have noticed something with the death penalty if your using integer=true it doesn't seem to round that one. Anyway that can be fixed? it makes my money look like i have more than i do :) i don't like decimals in my money keeps it cleaner on the list. Anyway hope it can be fixed thanks again for the awesome work.
     
  16. Offline

    ChrisB

    Ah, thanks for reporting it, I'll fix it for the next version :)
     
  17. Offline

    BioRage

    @ChrisB

    Late reply, but yes it ended up resolving, I had to take town the server and reboot it for it to show a .yml file.
     
  18. Offline

    ChrisB

    Good thing you got it working, I will try to make everything easier with the next release, in terms of upgrading / new installs.
     
  19. Offline

    Aridale

    This plugin isnt workin for me. My servers runnin the latest bukket (677) and the plugin seems to install fine. The death penalizing works fine if I die while fighting I get iconomy money taken away fine. But when I kill something I get this error in my log:

    Code:
    2011-04-17 10:37:44 [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.NullPointerException
        at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDeath(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$42.execute(JavaPluginLoader.java:458)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java: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.EntityHuman.d(EntityHuman.java:515)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:752)
        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)
     
  20. Offline

    Geoff Winans

    This seems to be pretty serious:

    Players ONLY get credit for killing mobs with swords.

    Killing mobs with emptyhands or with any other item in hand does no give credit.

    We use mcMMO which lets uses level axes and other skills for weapons. Can it be fixed up so they get credit no matter what they kill with?
     
  21. Offline

    Ebkrem

    Broken download link! D=

    This looks awesome. I was trying out Monster Hunt, but I couldn't get it to work. Really want this plugin!
     
  22. Offline

    ChrisB

    Fixed.

    I will see if I can get a workaround for those with mcMMO, its a bit frustrating I know.
     
  23. Offline

    Geoff Winans

    I have a distinct feeling it's mcMMO doing something bad with events not created by swords (Canceling thing?). I just started perusing the code for mcMMO. It's not pretty.
     
  24. Offline

    Shalobee

    awesome good to hear :D I have another feature that would be pretty cool unless there is already a way to do this. I have an arena for players to kill mobs spawned from falsebook spawners or do pvp and what i want to do is create a gladiator group so that the players in the arena wouldn't lose money when they die and also not make money from killing mobs during those times. What i tried was just take away the ecoCreature.* but the player still lost money when he died. A death penalty permission node would be perfect

    *edit - just did some testing and it seems it still drops uquest and the item drops but not money which I would like to block it all to prevent abuse.
     
  25. Offline

    hakre1

    Does this plugin support permissions 2.7?
    Its working but my players are not getting any drops or money...

    Oh and one more thing: Our server has multiple levels of VIP, any chance of supporting custom named groups and each one getting a different bonus?
     
  26. Offline

    Geoff Winans

    Request:

    New permission node: ecoCreature.NoDeathPenalty

    This will let people build in the creative world without losing money to oops-deaths.
     
  27. Offline

    WolwX

    Same results here, I win money but they have no money and no message :(
    Using Permissions, but GroupManager as main plugin for that

    I added each group to the eCreature config without success

    Anyone have a clue for me ?
     
  28. Offline

    semibreve42

    And same, using permissions 2.7. Added the correct permissions, but there are no drops, iconomy money given, or messages. Using bukkit 677 and ecoCreature .05a
     
  29. Offline

    Netto Hikari

    I love your plugin, but could your PLEASE stop changing the config file? Unnecessary changes like new color char and stuff like that? It's so annoying. -.-

    Or just update the config file automaticlally.

    EDIT: Using 0.0.5a, the %c tag doesn't seem to work any more. It's printing %c in the message instead of showing the amount of <insert currency here> gained.
     
  30. Offline

    hakre1

    Figured it out: delete the config file and let it regenerate, now it works.
     
  31. Offline

    thepackett

    i've been killing monsters from a distance and i'm getting no rewards, i have bows set to true and everything should work. I have a feeling it is part of the plugin that makes it so that if you kill a monster somewhat far away from you then it doesn't register it to give you a reward.
    Could it be made so that the plugin will register that that mob was killed and that the player should receive the reward (or not) no matter the distance between you and the monster?
     

Share This Page