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

    Shalobee

  3. Offline

    mung3r

  4. Offline

    erdrickk

    I have it set for a percentage on death but it seems to still drop a flat amount...any reason?
     
  5. Offline

    mung3r

    Can you post your settings file?
     
  6. Offline

    erdrickk

    sure...not sure if I am doing this right.....seems like a large paste......

    Code:
    # Welcome new and old user of ecoCreature!
    # ----------------------------------------
    # It is vital that you go through the configuration from start to end before you continue
    # using this plugin, to make sure that it is functioning with your server configuration.
    #
    # Remember, it is YOUR server, it is YOUR rules. You can not appease everyone.
    #
    # Now then ...
    #
    # Which economy system are you running? ecoCreature supports the following four.
    # iConomy, BOSEconomy, Essentials, MineConomy
    #
    # As an example, you have BOSE, you should change the CORE setting to Core: BOSEconomy
    #
    # IntegerCurrency set to true will round the reward to a whole number, no decimals.
    # While if it is set to false, it will give rewards with a decimal value.
    #
    # AllowCamping defaults to false, it will prevent camping around mobspawners / dungeons etc.
    # This setting is followed by CampRadius - what it does is that it prevents camping within the set
    # amount of blocks in all directions. Both can be changed to suit your needs.
    #
    # ClearCampDrops is available as an option, it will clear the creature / monster drops if set to
    # true, and if false, it will allow regular creature drops.
    #
    # OverrideDrops, if set to true... default drops will be overriden by the drops specified
    # for ecoCreature. This only applies to the player killed monsters.
    # If a monster dies by accident / fire / whatever it will default to the Minecraft default drops. Have
    # this in mind.
    #
    # FixedDrops
    # If you do not like your drops to be random between 0 and the amount you wanted, set FixedDrops to true
    # and the creature / spawner will drop the amount of items you specified.
    #
    # BowRewards
    # If this value is set to false, there will be no gains from killing with a bow.
    #
    # PenalizeDeath should only be set to true if you want to penalize your players for dieing while hunting.
    # as it will withdraw the money they hold in their hand, and not from their banks, if they have that.
    #
    # PenalizeType, this has two values: true or false.
    # If the type is set to false, the amount will be a flat amount, a constant value of the set amount upon death.
    # If the type is set to true, the amount will be used as a percentage value and drawn from the total held currency.
    # This is so that ecoCreature knows whether you want to punish via flatrate or percent.
    #
    # PenalizeAmount - How much money should they drop, from the amount they already have?
    # This depends on what you set the type to, flat or percent (false or true).
    # An example;
    # PenalizeType: true <---- we want to punish with percentage of held money
    # PenalizeAmount: 5 <---- draw 5% of the players held money
    #
    # AllowUnderSeaLVL - Really not that useful, should in most cases be set to true.
    # What does it do? If you are under the sea level when hunting, rewards are enabled. If this is set to false,
    # you will not get rewards for kills below sea level. This applies to everything under sea level.
    #
    # WolverineMode - When set to true, wolf owners are rewarded for kills by their wolves
    #
    # Message Options!
    # ----------------
    # Output :: Should you notify the player of rewards, penalties or no rewards? Defaults to true - to notify.
    # NoReward :: If set to true, it will output a message to the player, stating he got no reward, false will not
    # output anything to the player when they get no reward.
    # Spawner :: When accidently killing around the spawn, a player can be notified of a nearby dungeon.
    # Having this option set to false will not send them the spawn/mobspawn camping message.
    #
    # Gains!
    # -----
    # These are per group on your server, if a player is in a group called Donors in your permissions
    # they will gain the base amount * value specified in the amount bit for the group.
    # You may freely add additional groupnames and specify your own amount here.
    # The group names must match those within your Permissions configuration, ecoCreature compares.
    System:
        Economy:
            Core: 'iConomy'
            IntegerCurrency: false
        Hunting:
            AllowCamping: false
            ClearCampDrops: true
            OverrideDrops: true
            FixedDrops: false
            BowRewards: true
            PenalizeDeath: true
            PenalizeType: true
            PenalizeAmount: 3
            AllowUnderSeaLVL: true
            WolverineMode: true
            CampRadius: 15
        Messages:
            Output: true
            NoReward: true
            Spawner: false
            NoCampMessage: '[&4Warning&f] Camping Monster Spawners gives no rewards.'
            NoBowMessage: '[&9???&f] You can''t seem to find any rewards on this creature.'
            DeathPenaltyMessage: 'You wake up to find that &6<amt> &fis missing from your pockets!'
    Gain:
        Default:
            Amount: 1
        Donors:
            Amount: 2.5
    
    # HOW DO I DROPS!?
    #     - format: 'item:amount:percent'
    #     - more drops: Seperate the items with ; add next
    #         - format example: 'item:amount:percent;item2:amount:percent'
    # This means, first you input the item id, second the item max amount upon drop, and third
    # is the chanse it has to drop, in percent... 50 yields a fifty fifty, for instance.
    #
    # -+-+- Special note on the AMOUNT, if you set an item to drop with the value set to 10
    #       it selects a random amount, there's no guarantee that it will be fixed to 10.
    #       ---> This will later be optional.
    #
    # Coin_Minimum - Minium amount of coins to drop.
    # Coin_Maximum - The max amount of coins to drop.
    # !!! With a low minimum and high maximum, you will get a random amount between those values
    #
    # OH GOD, FIXED AMOUNT ... ALL THE WAY!
    # Sometimes, it would be great if the amount was fixed instead of everchanging, but how?
    # It's simple... set the MINIMUM to the same amount as MAXIMUM - and you're ready for action!
    #
    # Coin_Percent - What are the odds to receive any currency at all?
    #
    # NoReward_Message - Even if the player doesn't receive a reward, a death message can be configured.
    #
    # Reward_Message - Every creature destroyed can have its personal reward message upon death
    #     - Acceptable codes:
    #     - &colourcode - Check out the forum post for the colour codes!
    #     - <crt> - Will display creature name
    #     - <amt> - Will display the amount + currency
    #     - <itm> - Will display the item you held in your hand at the time
    #
    # Penalty_Message - If you have a negative amount for a creature, this is the custom message
    # for when the player is penalized with a deduction.
    RewardTable:
        Creeper:
            Drops: '289:3:10'
            Coin_Minimum: 0.01
            Coin_Maximum: 10.00
            Coin_Percent: 75
            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 &c<crt>'
    
        Skeleton:
            Drops: '352:2:10;262:2:20'
            Coin_Minimum: 0.05
            Coin_Maximum: 10.00
            Coin_Percent: 35
            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>'
    
        Zombie:
            Drops: '288:2:15'
            Coin_Minimum: 0.01
            Coin_Maximum: 6.00
            Coin_Percent: 65
            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>'
    
        Spider:
            Drops: '287:1:8'
            Coin_Minimum: 0.01
            Coin_Maximum: 5.70
            Coin_Percent: 10
            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>'
    
        PigZombie:
            Drops: '320:2:3;288:2:8'
            Coin_Minimum: 0.01
            Coin_Maximum: 20.00
            Coin_Percent: 20
            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>'
    
        Ghast:
            Drops: '289:2:15'
            Coin_Minimum: 0.15
            Coin_Maximum: 25.00
            Coin_Percent: 15
            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>'
    
        Slime:
            Drops: '341:2:5'
            Coin_Minimum: 0.08
            Coin_Maximum: 13.00
            Coin_Percent: 65
            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>'
    
        Giant:
            Drops: ''
            Coin_Minimum: 0.30
            Coin_Maximum: 55.00
            Coin_Percent: 60
            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>'
    
        Chicken:
            Drops: '288:2:30'
            Coin_Minimum: 0.01
            Coin_Maximum: 2.00
            Coin_Percent: 10
            NoReward_Message: '[&9!&f] The &2<crt> &fdies from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &2<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
        Cow:
            Drops: '334:2:25'
            Coin_Minimum: 0.01
            Coin_Maximum: 3.00
            Coin_Percent: 40
            NoReward_Message: '[&9!&f] The &2<crt> &fdies from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &2<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
        Pig:
            Drops: '319:2:25'
            Coin_Minimum: 0.01
            Coin_Maximum: 2.50
            Coin_Percent: 43
            NoReward_Message: '[&9!&f] The &2<crt> &fdies from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &2<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
        Sheep:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 1.50
            Coin_Percent: 15
            NoReward_Message: '[&9!&f] The &2<crt> &fdies from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &2<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
        Squid:
            Drops: '351:2:25'
            Coin_Minimum: 0.04
            Coin_Maximum: 4.75
            Coin_Percent: 5
            NoReward_Message: '[&9!&f] The &2<crt> &fdies from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &2<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
        Wolf:
            Drops: ''
            Coin_Minimum: 0.04
            Coin_Maximum: 3.82
            Coin_Percent: 3
            NoReward_Message: '[&9!&f] The &2<crt> &fdies from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &2<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
        Monster:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 20.00
            Coin_Percent: 20
            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>'
    
        Spawner:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 30.00
            Coin_Percent: 100
            NoReward_Message: '[&9!&f] The &2<crt> &fexplodes from a blow with your &3<itm>'
            Reward_Message: '[&2:)&f] You have been awarded &6<amt> &ffor slaying a &2<crt>'
            Penalty_Message: '[&4:(&f] You have been penalized with a deduction of &6<amt> &ffor slaying a &2<crt>'
    
    DidYou:
        Read:
            Understand:
                Configure: true
    
    # If you have now reached this point of the ecoCreature.yml file, you may of have noticed the last entry.
    # Switch the Configure: false to Configure: true
    #
    # Why? It means that you have, hopefully, read, understood as well as configured the plugin to your needs.
    # If this value is still false when you start your server, the plugin will be disabled.
    #
    # WHY!?
    # Because. It simply just explains itself. Don't even think about starting an argument about it.
     
  7. Offline

    Sherryberry

    Aw, this would have been PERFECT for what I was looking for as an upgrade to CookieMonster, because then I won't have to get a separate plugin for player death penalty - but CookieMonster is still the only plugin that lets me define WorldEdit regions so that players can't pull mobs into my protected areas and get easy kills for cash. :(
     
  8. Offline

    LlmDl

    @mung3r since updating to 0.0.5e and RB1060 my players aren't getting money from monsters, but they do get the item drops. Here's my config.
     
  9. Offline

    mung3r

    You did fine :). I found the bug and I will post a new release shortly.

    Update: I just posted 0.0.5f. Re-download and give that one a try.

    Thanks for posting your config. I'll take a look at the bug.

    Update: Was there a particular mob that didn't give coin? I'm getting coin using your config with various mobs.

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

    erickingsr

    Thank you for this plugin! :D
     
  11. Offline

    LlmDl

    @mung3r Sadly it is all monsters that do not drop coin, they only drop the extra items.

    Here's my start-up in case you spot any plugin/conflict I might not be aware of.
     
  12. Offline

    mung3r

    Ah, I see exactly what's going wrong. Add ecoCreature.Creature.* to your permissions. That should do the trick.
     
  13. Offline

    LlmDl

    Here's the nodes I have so far:

    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
    
    I didn't want players getting anything from spawners. Are these not kosher?
     
  14. Offline

    mung3r

    They look ok. I'll try it out on my test server and see what happens.

    Update: I see the problem. Please re-download and try the new build.
     
  15. Offline

    dyrnwyn

    Does this plugin also support the monster (notch) mob?
     
  16. Offline

    mung3r

    Why yes, it does!
     
  17. Offline

    dyrnwyn

    Awesome! I didn't see it listed in the permissions, so I wasn't sure. :)
     
  18. Offline

    mung3r

    Good catch! I will update the thread.
     
  19. Offline

    Kainzo

    Mung3r is part of Herocraft Development and is upkeeping this plugin :) I hope you guys enjoy it, he works hard.
     
    kahlilnc likes this.
  20. Offline

    kahlilnc

    iConomy 6 support anytime soon?

    I never knew that, but I knew you guys had this plugin on your server :O

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

    mung3r

    Actually, it already supports iConomy 6 so give it a try :). My plugin uses Register and therefore has support for the economy plugins supported by that API.

    I will update/edit the description. Thanks for taking notice!
     
  22. Offline

    kahlilnc

    I deleted my iconomy db and now this plugin wont work anymore but other iconomy plugins do for me.
     
  23. Offline

    mung3r

    FYI, we're moving to this forum for further support:
    http://dev.bukkit.org/server-mods/heroes/forum/

    Yeah, got a lot of exceptions in the log when trying 6. Since 6 is in "testing" right now and doesn't seem to work well with Register, I would stick with 5.

    Update: Version 0.0.6 with iConomy6 now works without error.

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

    neriuxa32

    Hi im running a zombie server but i have a problem:
    Only i can get money from killing zombies [I am an ADMIN] and other players can't and I am new to this permission stuff... HELP?
     
  25. Offline

    thepackett

    does this support bukkit permissions?
     
  26. Offline

    mung3r

    First, you need to install a Permissions plugin. That will tell you how to use/configure permissions.

    It currently does not. I plan on adding this support.

    Update: This is now supported in version 0.0.6.

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

    thepackett

    ok, thanks :D
     
  28. Offline

    neriuxa32

    i have the plugin but how do i do that other people get money? i tried everything i can and i only found out that admins can get money nobody else :( HELP?
     
  29. Offline

    kahlilnc

    Code:
    2011-09-17 12:06:32 [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.NullPointerException
        at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerReward(ecoRewardManager.java:107)
        at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerCreatureReward(ecoRewardManager.java:79)
        at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:85)
        at org.bukkit.plugin.java.JavaPluginLoader$60.execute(JavaPluginLoader.java:663)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:338)
        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.EntityPigZombie.damageEntity(EntityPigZombie.java:72)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:566)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:883)
        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:89)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:478)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:454)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  30. Offline

    mung3r

    Now you need to add permissions for your players to get rewards.

    Something like:
    Code:
    groups:
        Default:
            default: true
            permissions:
            - ecoCreature.Creature.*
    Looks like there's no Economy plugin installed. Install one like iConomy.

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

    kahlilnc

    Ohoh I know that. ;O I think I was experiementing. Ik what happened now.
     

Share This Page