[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

    pRagmata

    Okay, so I just went through all my plugins individually and it still didn't work. Awestruck, I then removed all plugins except ecoCreature (0.0.4g1), iConomy (4.6.5) and Permissions (2.5.5) and it still didn't work. :( I then went and created a second server using the snapshot of #617 and made sure I was in fact on the right CB... and I am. Any other thoughts? Also, I am in IRC #iConomy at least for a little bit.
     
  3. Offline

    ChrisB

    Try the new version out, see if it solves anything.

    Thanks :)
    If you find any issues with the BOSEconomy hooks and ecoCreature, sling me a message in the thread or through a PM :)
     
    MCbyWay likes this.
  4. Offline

    MCbyWay

    Well it's great but I'm having the same error as known error now 0.0

    I did change the bottom part of the config file to true =o

    Every mob death doesn't produce drops or gives messages. will disable temporarily but I;m willing to do more tests if necessary [sheep]
     
  5. Offline

    ChrisB

    Did you also grab the new version? I made some slight changes to the permissions hooking
     
  6. Offline

    Neo_Bahamut_19

    I was just getting that same error he was listing, going to try out your new version. Will report back with a yay or nay.

    Update: Despite updating the plugin I'm still getting the same error: "Could not pass event ENTITY_DEATH to ecoCreature..."

    Plugin List:
    Ancient Gates
    ecoCreature
    Factions
    HomeX
    iConomy
    PigSetspawn_op
     
  7. Offline

    Dr.Revolte

    How dowloading v.0.0.4c ?

    Because I was V. CB 617

    Tanks
     
  8. Offline

    ChrisB

    The 0.0.4g2 should still be compatible with 617, just tested it.

    What of Permissions?
     
  9. Offline

    Neo_Bahamut_19

    Just installed Permissions, going to give it a quick go again and see what happens. Still configuring my server.

    Update: Works flawlessly now :D
     
  10. Offline

    ChrisB

    Permissions really is a requirement, most of the errors that pop up is because I haven't properly added checks to whether the economy or permissions plugins are running... not really that highly prioritized but I will add them, and they will warn whether or not permissions or economy plugins are running or not
     
  11. Offline

    Sergeant

    Perhaps allow for percentages less than 1. For example, I wanted to have a 0.1% chance of a diamond pickaxe dropping from a zombie, but the loot table fails to load with 0.1 in the field. Removing this or setting it to 1 makes it work again.
     
  12. Offline

    ChrisB

    Looking that issue up right now.
     
  13. Offline

    Neo_Bahamut_19

    Now that I have it working I can't thank you enough, this is a great plugin! 10/10 Now if only I can find a plugin that allows players to rent "guards" to patrol their towns. I know that the Citizens plugin is out there, but it's not quite finished yet. QQ
     
  14. Offline

    ChrisB

    Check out NPCX, I see a good future there :)

    It's only used for Essentials Economy, since they do not have any way of naming their currency yet, I think

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

    BioRage

    this plugin, is AWESOME.

    You sir = Win
     
  16. Offline

    knownerror

    I still get the same error as previous, i use
    - 'ecoCreature.Creature.*'
    - 'ecoCreature.Rewarding.*'

    for permissions but still no luck and I have newest version.

    Code:
    19:07:27 [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.NoClassDefFoundError: com/nijiko/permissions/PermissionHandler
        at se.crafted.chrisb.ecoCreature.entities.ecoEntityListener.onEntityDeath(Unknown Source)
        at org.bukkit.plugin.java.JavaPluginLoader$39.execute(JavaPluginLoader.java:405)
        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: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)
    Caused by: java.lang.ClassNotFoundException: com.nijiko.permissions.PermissionHandler
        at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
        ... 16 more
    
     
  17. Offline

    MCbyWay

    I think I found the issue but it's my own fault :(

    In previous versions of Ecocreature permissions isnt a requirement, I avoid permissions due to time of set up as i own a small private server for 8 people and do not think it's necessary.

    I guess I should either drop or learn how to use permissions properly [creeper]
     
  18. Offline

    Scipione

    better lean how to use permissions then, its a requirement of many good plugins.
     
  19. Offline

    MatCat

    Giants have stopped giving credits since g1, still same on g3
     
  20. Offline

    deadlock989

    Can I ask - can this be used to stop players turning dungeon mob spawners into exploitable item farms? I see the option to prevent spawner camping but does that also stop them dropping items as well as paying money?
     
  21. Offline

    ChrisB

    Just tested it out to make sure, it seems to work just fine. If you're using individual permissions, check to make sure it's 'ecoCreature.Creature.CraftGiant'

    Or otherwise, do you have any plugin that you might think interferes with giant spawns in some way?

    Good point there, I'll get to work on it, see if I can clear drops close to spawners as well, if camping is off.
     
  22. Offline

    riuthamus

    Everything works, top part is a bit.. confusing at first but great system, thanks!
     
  23. Offline

    ChrisB

    Glad to know it works as it should :)
     
  24. Offline

    Nqoba

    does 0.0.4g3 work w/ cb: 617?
     
  25. Offline

    Pablomittens

    Awesome got it working! Thanks so Much this is a Awesome mod and I cant wait to go on creeper hunts with friends =D
     
  26. Offline

    kahlilnc

    What about wolves does this work 100% with wolves.
     
  27. Offline

    ChrisB

    It should.

    If you mean by slaying wolves, yes.
     
  28. Offline

    CoffeeOD

    Bukkit version: #670
    ecoCreature version: 0.0.4g3
    Economy: BOSEconomy

    Tried: start server, edit config and stop server, delete config, restart server, enable new config.

    Problem: Atm I allow monsters only in PVP world, I go in PVP world, spawn some monster and kill it. This give message about killing monster but never any many (tried with zombie, spider and skeleton). When I try to kill something again (anything really, monster or animal) it stops working, no message in chat or anything and server logs shows following message.

    Player reported that he get message every time about killing monster/animal, but no money. For some reason I get only from first kill after each time I loging to server or restart it.

    Code:
    2011-04-10 09:31:39 [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
        java.lang.NullPointerException
        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$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.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:514)
        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)
     
  29. Offline

    ChrisB

    What does your config file look like?
     
  30. Offline

    CoffeeOD

    Well I removed plugin for now, but it plugin generated config file and I only changed economy setting from 1 to 2 and that "did you read and understand config" from false to true.
     
  31. Offline

    ChrisB

    I'm getting a new version up for you to try in a second, hang tight
     

Share This Page