[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

    MineralMC

    Looks like tab use. Always a giggle.
     
  3. Offline

    tooy66

    Hey wats up this plugin sounds cool an all but when i installed ecomonster into my plugins directory the config file wasnt made =/ is there any way to replicate or make a new one?
     
  4. Offline

    ChrisB

    Did you restart or reload your server? I will look into it and see what has gone wrong, it should automatically create the folder ecoCreature inside your plugins folder and place the ecoCreature.yml there - providing it has permission to do so. Otherwise you can open the ecoCreature.jar like you would with a ZIP or RAR file, and extract the ecoCreature.yml from inside it, it's located in "settings"

    Alright, taking the time to jotter some info down on this one.
    I have explored a multitude of ways to do checking if you're outdoors, indoors etc, and it just might be possible. I'll try get a preview release available before the actual release of the next version.

    I do not have any idea yet how well or not the function I'm preparing will do, but we'll see. I can't promise anything on this part, if it works out fine, I'll have it available as an option in the configurations file.

    Then again, I will try some other options as well, to please you and others.

    Edit:
    The maintenance release is out. This means:
    If spawn camping is not allowed, and the player is sniping them down with a bow and arrow from outside the checked radius, it will now check if the creature is close to the spawner - thus preventing camping. It will take QUITE a while for a creature to leave the default radius, since they seem to linger for a bit.

    Next version will also have an optional check to see whether or not the player is under sea level, if he is... no reward.

    I hope that helps some.

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

    tha d0ctor

    is there a link to the older version for CB 556 anywhere?
     
  6. Offline

    cheepz

    I'm using the 2nd latest version for the recommended build, I believe its 556, and I'm getting the "Is the plugin up to date error". I REALLY would like to put this into my server.
     
  7. Offline

    ChrisB

    I really don't keep old version, so no. Sorry.

    You will have to either wait for all plugins to catch up, or upgrade CB and ecoCreature. Sorry.
     
  8. Offline

    tha d0ctor

    no harm done, I appreciate the reply, thanks!

    I'm using iMonster in the meantime until most of my plugins are 600+ stable. I doubt this version (602?) will be around much longer because 1.4b is bound to have a lot-o-changes
     
  9. Offline

    imaxorz

    That sound's awesome. Like I said if its too complicated to have a check to see if the player is outside, having the sea leavel check is awesome too.

    The way I had players get around camping radius restriction is when they find a spawner, they enclosed it into a tiny area so there is little room for the monsters to linger. Then have a hole for the monsters to drop 10-15 blocks to they can kill them there.

    Thanks a lot again for doing this :)
     
  10. Offline

    ChrisB

    I'll be on the new version like a fly on a corpse, when its out, to make sure it works :)

     
  11. Offline

    Kevin Forte

    Is this Strictly for 609+?
    I get this, and I am using CB build 605 I believe:

    Code:
    19:40:16 [INFO] [ecoCreature] version {0.0.4b} is loading.
    19:40:16 [INFO] [ecoCreature] Failed to retrieve configuration from directory.
    19:40:16 [INFO] [ecoCreature] Please back up your current settings and let ecoCr
    eature recreate it.
    19:40:16 [SEVERE] null (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)
     
  12. I'm importing my old drops file from iMonster, and some of the monsters fail to load drops. These same monsters have the largest loot table. It doesn't appear that there's a limit to the number of drops, but perhaps there is a limit to how many bytes the drop table can hold. if so, can this be raised a bit?

    here's one of the ones that fails to load for me:


    Spider:
    Drops: '89:3:15;264:1:1;266:1:2.5;265:1:10;319:1:5;349:1:5;260:1:10;279:1:0.5;305:1:5;341:1:25;12:32:25'
    Coin_Minimum: 25.00
    Coin_Maximum: 75.00
    Coin_Percent: 100
    NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
    Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
    Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
     
  13. Offline

    TPMJB

    Can I just do

    ecoCreature.Rewarding.*



    Instead? Otherwise my permissions file is going to read like a phone book between your plugin and essentials.
     
  14. Offline

    keeperoflenneth

    Suggestions:
    Something kind of cool just on my personal tastes and server features is a global annonce on killing a spawner, and not rewarding anything if it's "mined". Swords take a LONG time to kill, so spawners are almost a boss on my server. Keeps people from being able to "solo" one. It would also be cool if multiple people could recieve gold for the kill. Also- Wolf drops (if wolves made it to multiplayer, i'm still updating my server)?

    Summary:
    • No reward on mining a spawner, only sword/axe kills
    • Shared gold on spawner kills for players in a radius of <x>
    • Global announce for killing spawners
    I have not experimented alot with this since i just switched form iMonster to eco this week- so if these are already implemented sorry for bothering you. Great mod- love it. Does everything i need it to. :)


    Edit: Also :( when I start with configure.understand.blabla true....
    Code:
    22:27:58 [INFO] [ecoCreature] Camping monster spawners is disabled, radius is set to 10 blocks in each direction.
    22:27:58 [SEVERE] Index: 0, Size: 0 loading ecoCreature v0.0.4b (Is it up to date?)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.RangeCheck(Unknown Source)
            at java.util.ArrayList.get(Unknown Source)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:260)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:512)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            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)
    Further Edit: Seems to function just fine anyway... weird.
     
  15. Offline

    thepackett

    it doesn't seem to work on cb 612 :O
    it says check configuration files and then it disables itself
     
  16. Offline

    Kevin Forte

    I get the same thing. Unfortunately, mine does not still function. I am on CB build 612. Here is my config if it helps at all:
    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 ...
    #
    # 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.
    #
    # VIPGain is a new and special thing that may apply to your most valued members.
    # If you add the permission ecoCreature.Rewarding.VIP to a player or group, it will allow
    # them some extra income. It is defined in percentage, and really only useful when IntegerCurrency
    # is set to FALSE.
    #
    # AllowCamping should be set 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.
    #
    # BowRewards
    # The bow and arrow is a dangerous weapon and can be considered overpowered in some way.
    # 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.
    #
    # PenalizePercent - How much money should they drop, from the amount they already have? Specified in percentage.
    #
    # AllowUnderSeaLVL - Really not that useful, should in most cases be set to true.
    # What does it do? If you are under the sealevel when hunting, rewards are enabled. If this is set to false,
    # you will not get rewards for kills below sealevel. This applies to everything under sealevel.
    #
    # Message Options!
    # ----------------
    # Output: Should you notify the player of rewards, penalties or no rewards? Defaults to true - to notify.
    # 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.
    System:
        Economics:
            IntegerCurrency: true
            VIPGain: 0
        Hunting:
            AllowCamping: false
            CampRadius: 10
            BowRewards: true
            PenalizeDeath: false
            PenalizePercent: 1
            AllowUnderSeaLVL: true
        Messages:
            Output: true
            Spawner: false
            NoCampMessage: '[$4Warning$f] Camping around the Monster Spawn gives no rewards.'
            NoBowMessage: '[$9???$f] You can''t seem to find any currency on this creature.'
            DeathPenaltyMessage: 'You wake up to find that $6%c $fis missing from your pockets!'
        ExtraHooks:
            uQuest: false
    #### UQUEST HOOK IS NOT DONE YET ####
    
    # 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 amount upon drop, and third
    # is the chanse it has to drop, in percent... 50 yields a fifty fifty, for instance.
    #
    # 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!
    #     - %m - Will display creature name
    #     - %c - Will display the amount + currency
    #     - %i - 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: ''
            Coin_Minimum: 5.00
            Coin_Maximum: 10.00
            Coin_Percent: 100
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $4%m'
    
        Skeleton:
            Drops: ''
            Coin_Minimum: 3
            Coin_Maximum: 7
            Coin_Percent: 75
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Zombie:
            Drops: ''
            Coin_Minimum: 2
            Coin_Maximum: 6
            Coin_Percent: 65
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Spider:
            Drops: ''
            Coin_Minimum: 2
            Coin_Maximum: 8
            Coin_Percent: 65
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        PigZombie:
            Drops: ''
            Coin_Minimum: 5
            Coin_Maximum: 8
            Coin_Percent: 60
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Ghast:
            Drops: ''
            Coin_Minimum: 10
            Coin_Maximum: 25
            Coin_Percent: 55
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Slime:
            Drops: ''
            Coin_Minimum: 1
            Coin_Maximum: 10
            Coin_Percent: 60
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Giant:
            Drops: ''
            Coin_Minimum: 10
            Coin_Maximum: 55.00
            Coin_Percent: 100
            NoReward_Message: '[$c!$f] You killed a $4%m$f, but didn't find any money!'
            Reward_Message: '[$c!$f] You killed a $4%m$f and found $6%c$f!'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Chicken:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 2.00
            Coin_Percent: 0
            NoReward_Message: ''
            Reward_Message: '[$c!$f] You have been awarded $6%c $ffor slaying a $4%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Cow:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 3.00
            Coin_Percent: 0
            NoReward_Message: ''
            Reward_Message: '[$c!$f] You have been awarded $6%c $ffor slaying a $4%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Pig:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 2.50
            Coin_Percent: 0
            NoReward_Message: ''
            Reward_Message: '[$c!$f] You have been awarded $6%c $ffor slaying a $4%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Sheep:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 1.50
            Coin_Percent: 0
            NoReward_Message: ''
            Reward_Message: '[$c!$f] You have been awarded $6%c $ffor slaying a $4%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Squid:
            Drops: ''
            Coin_Minimum: 1
            Coin_Maximum: 5
            Coin_Percent: 40
            NoReward_Message: ''
            Reward_Message: '[$c!$f] You have been awarded $6%c $ffor slaying a $4%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Squid:
            Drops: ''
            Coin_Minimum: 1
            Coin_Maximum: 5
            Coin_Percent: 40
            NoReward_Message: ''
            Reward_Message: '[$c!$f] You have been awarded $6%c $ffor slaying a $4%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Spawner:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 30.00
            Coin_Percent: 0
            NoReward_Message: ''
            Reward_Message: '[$c!$f] You have been awarded $6%c $ffor slaying a $4%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
    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.
     
  17. Offline

    Thelyfe21

    As I said for NPCX: "If this would work with EssentialsEco, I would INSTANTLY get it."
     
  18. Offline

    Neons

    Squids are listed twice in the config, and wolves are still missing.

    Also fails on loading with the same errors as above.
     
  19. Offline

    ChrisB

    Thanks for all the feedback, both positive input and error reports.

    I didn't have time to fix it before leaving for work today, so, I'll get right on it when I get home from work. It'll be a few hours, but thats just the way it is.
     
  20. Offline

    keeperoflenneth

    <3
     
  21. Offline

    EniGmA1987

    Just reporting that I have the same error as stated above with CB build 612 and Minecraft 1.4:

    [​IMG]


    Glad you are working on it :)
     
  22. Offline

    Zelif

    EDIT:Bug with creepers exploding: fixed with 4b

    I still get the:
    Which I'm sure you probably know of. Thanks heaps you plugin works like a charm again ;)

    CB:617

    Seems I had v4a in the time of a few hrs you have upgraded it to 4b will try it out. and see if it works.
     
  23. Offline

    shadow85

    So, I think I broke it lol...

    Code:
    08:07:55 [INFO] Starting minecraft server version Beta 1.4
    08:07:55 [INFO] Loading properties
    08:07:55 [INFO] Starting Minecraft server on *:25565
    08:07:55 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-609-
    g39996e1-b612jnks (MC: 1.4)
    08:07:55 [INFO] Preparing level "world"
    08:07:55 [INFO] Preparing start region
    08:07:55 [INFO] 144 recipes
    08:07:56 [INFO] Preparing spawn area: 65%
    08:07:56 [INFO] Invalid config file found and converted to proper name/format.
    08:07:56 [INFO] [Permissions] (Phoenix) was Initialized.
    08:07:56 [INFO] [ecoCreature] version {0.0.4b} is loading.
    08:07:56 [INFO] BorderGuard Lite (Square) version 2.4 is enabled!
    08:07:56 [INFO] [ecoCreature] Camping monster spawners is disabled, radius is se
    t to 15 blocks in each direction.
    08:07:56 [INFO] [Permissions] version [2.5.5] (Phoenix)  loaded
    08:07:56 [SEVERE] Index: 0, Size: 0 loading ecoCreature v0.0.4b (Is it up to dat
    e?)
    java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
            at java.util.ArrayList.RangeCheck(Unknown Source)
            at java.util.ArrayList.get(Unknown Source)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:260)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:512)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at se.crafted.chrisb.ecoCreature.ecoCreature.setupPermissions(Unknown So
    urce)
            at se.crafted.chrisb.ecoCreature.ecoCreature.onEnable(Unknown Source)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:118)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:511)
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:216)
            at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:72)
            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)
    08:07:56 [INFO] [iConomy] Logging is currently disabled.
    08:07:57 [INFO] [iConomy] v4.63 (Kenzi) loaded.
    08:07:57 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    08:07:57 [INFO] [iConomy] hooked into Permissions.
    08:07:57 [INFO] [iConomyHealth] Permissions enabled.
    08:07:57 [INFO] [iConomyHealth] version 0.1.1 is enabled!
    08:07:57 [INFO] LocalShops: Permissions found.
    08:07:57 [INFO] LocalShops: iConomy found.
    08:07:57 [INFO] LocalShops: Loading shop Me
    08:07:57 [INFO] LocalShops: Loaded 1 shop(s).
    08:07:57 [INFO] LocalShops: version 2.0.1b is enabled!
    08:07:57 [INFO] Done (0.268s)! For help, type "help" or "?"
    >
    and my config file

    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 ...
    #
    # 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.
    #
    # VIPGain is a new and special thing that may apply to your most valued members.
    # If you add the permission ecoCreature.Rewarding.VIP to a player or group, it will allow
    # them some extra income. It is defined in percentage, and really only useful when IntegerCurrency
    # is set to FALSE.
    #
    # AllowCamping should be set 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.
    #
    # BowRewards
    # The bow and arrow is a dangerous weapon and can be considered overpowered in some way.
    # 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.
    #
    # PenalizePercent - How much money should they drop, from the amount they already have? Specified in percentage.
    #
    # AllowUnderSeaLVL - Really not that useful, should in most cases be set to true.
    # What does it do? If you are under the sealevel when hunting, rewards are enabled. If this is set to false,
    # you will not get rewards for kills below sealevel. This applies to everything under sealevel.
    #
    # Message Options!
    # ----------------
    # Output: Should you notify the player of rewards, penalties or no rewards? Defaults to true - to notify.
    # 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.
    System:
        Economics:
            IntegerCurrency: false
            VIPGain: 25
        Hunting:
            AllowCamping: false
            CampRadius: 15
            BowRewards: true
            PenalizeDeath: true
            PenalizePercent: 5
            AllowUnderSeaLVL: true
        Messages:
            Output: true
            Spawner: false
            NoCampMessage: '[$4Warning$f] Camping around the Monster Spawn gives no rewards.'
            NoBowMessage: '[$9???$f] You can''t seem to find any currency on this creature.'
            DeathPenaltyMessage: 'You wake up to find that $6%c $fis missing from your pockets!'
        ExtraHooks:
            uQuest: false
    #### UQUEST HOOK IS NOT DONE YET ####
    
    # 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 amount upon drop, and third
    # is the chanse it has to drop, in percent... 50 yields a fifty fifty, for instance.
    #
    # 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!
    #     - %m - Will display creature name
    #     - %c - Will display the amount + currency
    #     - %i - 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: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 10.00
            Coin_Percent: 100
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $c%m'
    
        Skeleton:
            Drops: '261:1:15;262:5:50'
            Coin_Minimum: 0.05
            Coin_Maximum: 10.00
            Coin_Percent: 35
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Zombie:
            Drops: '298:1:10;299:1:10;300:1:10;301:1:10;275:1:25'
            Coin_Minimum: 0.01
            Coin_Maximum: 6.00
            Coin_Percent: 65
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Spider:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 6.70
            Coin_Percent: 10
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        PigZombie:
            Drops: '298:1:10;299:1:10;300:1:10;301:1:10;267:1:30'
            Coin_Minimum: 0.01
            Coin_Maximum: 20.00
            Coin_Percent: 20
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Ghast:
            Drops: ''
            Coin_Minimum: 0.15
            Coin_Maximum: 25.00
            Coin_Percent: 15
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Slime:
            Drops: ''
            Coin_Minimum: 0.08
            Coin_Maximum: 13.00
            Coin_Percent: 65
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Giant:
            Drops: '306:1:25;307:1:25;308:1:25;309:1:25;283:1:45'
            Coin_Minimum: 0.30
            Coin_Maximum: 55.00
            Coin_Percent: 60
            NoReward_Message: '[$9!$f] The $c%m $fdies from a blow with your $3%i'
            Reward_Message: '[$2:)$f] You have been awarded $6%c $ffor slaying a $c%m'
            Penalty_Message: '[$4:($f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'
    
        Chicken:
            Drops: '322:1:1'
            Coin_Minimum: 0.01
            Coin_Maximum: 2.00
            Coin_Percent: 10
            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'
    
        Cow:
            Drops: '296:1:45;325:1:15;335:1:5'
            Coin_Minimum: 0.01
            Coin_Maximum: 3.00
            Coin_Percent: 40
            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'
    
        Pig:
            Drops: '260:1:5;39:1:20;40:1:15'
            Coin_Minimum: 0.01
            Coin_Maximum: 2.50
            Coin_Percent: 20
            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'
    
        Sheep:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 1.50
            Coin_Percent: 15
            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'
    
        Squid:
            Drops: '349:1:70'
            Coin_Minimum: 0.04
            Coin_Maximum: 4.75
            Coin_Percent: 5
            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'
    
        Squid:
            Drops: ''
            Coin_Minimum: 0.04
            Coin_Maximum: 3.82
            Coin_Percent: 3
            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'
    
        Spawner:
            Drops: ''
            Coin_Minimum: 0.01
            Coin_Maximum: 30.00
            Coin_Percent: 100
            NoReward_Message: '[$9!$f] The $2%m $fexplodes 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'
    
    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.
    I read the config file, but I left everything but the last command the same. If you could figure it out and explain where I went wrong I'd be grateful :D
     
  24. Offline

    Kotoa

    Code:
    15:25:27 [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.NullPointerException
            at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.doYourThing(U
    nknown 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)
    >
    I get the above error whenever someone kills a creature, running CB617, ecoCreature 0.0.4b
     
  25. Offline

    cheepz

    I'm getting the Is it up to date? error on build 612
     
  26. Offline

    ChrisB

    Okay, theres a new version out and available.

    Remove your old configuration file / folder inside plugins and let ecoCreature generate a new one. This is mandatory.
     
  27. Offline

    riuthamus

    Was bosecon support removed? I dont see it on the listing anymore :(
     
  28. Offline

    ChrisB

    I had to yank out support for both Essentials and BOSE for the time being, I will be offering them in a near future again.
    Working out all the kinks with one system before jumping to the next... so, don't worry.

    Currently in the process of re-working lots of bits and pieces to improve stability and speed.
     
  29. Offline

    riuthamus

    Ah, understandable, just wish we were not the first to go! I take it you still luse iConomy! :p thanks again and hope to be using this plugin once again in the near future.
     
  30. Offline

    ChrisB

    It's easy to add back in, but... how's the state of BOSE today, does it accept double values for currency? I think it only acceptet single values when I tried last.
     
  31. Offline

    Poinball

    You must have been occupied lately with the 1.4 and everyday's life.
    If you still have some free time, I would need your skills of Java programmer
    to make a small interesting plugin for my Minecraft server.

    Since you are the one who made the money and the items drops plugin for monsters,
    I believe that you are the one with all the knowledge needed to make the plugin I need.

    Here is the idea behind my plugin :

    Define the zones with a tool like WorldGuard and Izone.
    In theses zones, the monsters would drop different items and have more health.
    It would work the same way it works with your items drops for monsters plugin.
    We would have a configuration file named with the name of the defined zone.

    Example :

    General_zone:
    Creature:
    Creeper:
    Life: 12
    Dammage: 3
    Drops: '298:1:3'
    Coin_Minimum: 5
    Coin_Maximum: 10
    Coin_Percent: 100
    Death_RMessage: '[$2+$f] You have been awarded $6%c $ffor slaying a $c%m'
    Death_PMessage: '[$c-$f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'


    Zone_monster2:
    Creature:
    Creeper:
    Life: 30
    Dammage: 30
    Drops: '138:1:6'
    Coin_Minimum: 5
    Coin_Maximum: 10
    Coin_Percent: 100
    Death_RMessage: '[$2+$f] You have been awarded $6%c $ffor slaying a $c%m'
    Death_PMessage: '[$c-$f] You have been penalized with a deduction of $6%c $ffor slaying a $2%m'

    Thx for your time !
     

Share This Page