[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

    Galdrak


    I have the lagging issue as well using the db4free.net site for the database. I will look into the H2 database option to fix my problem.
     
  3. Offline

    xxdilbertxx

    iv bin getting this i dont have essentials only iConomy

    Code:
    12:25:14 [SEVERE] Could not pass event PLAYER_RESPAWN to ecoCreature
    java.lang.NoClassDefFoundError: com/earth2me/essentials/User
            at se.crafted.chrisb.ecoCreature.entities.ecoRewardHandler.UnfortunateAccident(Unknown Source)
            at se.crafted.chrisb.ecoCreature.entities.ecoPlayerListener.onPlayerRespawn(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$3.execute(JavaPluginLoader.java:181)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
            at net.minecraft.server.ServerConfigurationManager.d(ServerConfigurationManager.java:206)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:727)
            at net.minecraft.server.Packet9Respawn.a(SourceFile:10)
            at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Caused by: java.lang.ClassNotFoundException: com.earth2me.essentials.User
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            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(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 14 more
     
  4. Offline

    ChrisB

    It's a planned feature ;)

    Thank you for reporting this error, I will definitely put it at a highest priority to be fixed!
     
  5. Offline

    killerbeez

    @ChrisB

    Code:
    2011-04-05 11:50:58 [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$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.EntityMonster.a(EntityMonster.java:47)
        at net.minecraft.server.EntityPigZombie.a(EntityPigZombie.java:74)
        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)
    2011-04-05 11:50:59 [INFO] killerbeez was killed by an angry PigZombie
    
    Newest version, 617 bukkit

    Every time I kill a pigzombie in the nether this happens and gives me no reward. This is a fresh install from this morning. Every other mob works and gives me the rewards I set.

    My CONFIG below.

    Show Spoiler
    # 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? There are currently two enabled out of three.
    # 1 for iConomy
    # 2 for BOSEconomy (support added, not yet fixed)
    # 3 for Essentials Economy *** ESSTC IS THE TEMPORARY FIX FOR NAMING YOUR ESSENTIALS CURRENCY! ***
    #
    # 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:
    Which: 1
    ESSTC: 'Simoleon'
    IntegerCurrency: true
    #VIPGain: 25
    Hunting:
    AllowCamping: false
    CampRadius: 15
    BowRewards: true
    PenalizeDeath: false
    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
    ExtraGains:
    Default:
    Amount: 2
    Donors:
    Amount: 25
    #### 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 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!
    # - %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: '289:1:50'
    Coin_Minimum: 1.00
    Coin_Maximum: 3.00
    Coin_Percent: 100
    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: '352:2:50;262:2:50'
    Coin_Minimum: 0.05
    Coin_Maximum: 10.00
    Coin_Percent: 0
    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: '288:2:30'
    Coin_Minimum: 0.01
    Coin_Maximum: 6.00
    Coin_Percent: 0
    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: '287:1:10'
    Coin_Minimum: 0.01
    Coin_Maximum: 6.70
    Coin_Percent: 0
    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: '320:2:5;288:2:30'
    Coin_Minimum: 1.00
    Coin_Maximum: 4.00
    Coin_Percent: 100
    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: '289:2:100'
    Coin_Minimum: 10.00
    Coin_Maximum: 15.00
    Coin_Percent: 100
    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: '341:2:10'
    Coin_Minimum: 0.08
    Coin_Maximum: 13.00
    Coin_Percent: 0
    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: ''
    Coin_Minimum: 0.30
    Coin_Maximum: 55.00
    Coin_Percent: 0
    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: '288:2:45'
    Coin_Minimum: 0.01
    Coin_Maximum: 2.00
    Coin_Percent: 0
    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: '334:2:65'
    Coin_Minimum: 0.01
    Coin_Maximum: 3.00
    Coin_Percent: 0
    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: '319:2:70'
    Coin_Minimum: 0.01
    Coin_Maximum: 2.50
    Coin_Percent: 0
    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: 0
    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: '351:2:65'
    Coin_Minimum: 0.04
    Coin_Maximum: 4.75
    Coin_Percent: 0
    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'

    Wolf:
    Drops: ''
    Coin_Minimum: 0.04
    Coin_Maximum: 3.82
    Coin_Percent: 0
    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: 0
    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.
     
  6. Offline

    ChrisB

    I'll perform some additional tests and see whats going on, hopefully have this one solved soon!
     
    killerbeez likes this.
  7. Offline

    DJ_Idol

    Well what I mean is, basically I have a professions system set-up on my server:

    -Trader
    -Builder
    -Fighter

    And what I want is for only the Fighter group to have permission to get ecoCreature rewards, not anyone else, but I'm guessing you'll be adding that soon? :)
     
  8. Offline

    ChrisB

    You've been peeking at the config and found something that isn't enabled yet, haven't you? ;)
     
  9. Offline

    imaxorz

    Where did the permissions info go from the first post?

    Can someone post it for me please :)
     
  10. Offline

    ChrisB

    Theres only one permission option right now, reworking them, stay tuned for those ;)
     
  11. Offline

    imaxorz

    Oh! I see. So it will work now without the permission info with the current version?
     
  12. Offline

    ChrisB

    That it will, only permission node active is the VIP one, to allow a certain group to earn extra currency
     
  13. Offline

    xGONExCRAZYx

    Thank you so much. I love you. [cake]
     
  14. Offline

    Nqoba

  15. Offline

    Elbie

    Another one here I'm afraid. Excelent plugin, my server players love the idea!!! Here's my code ^_^

    Code:
     [SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.ArrayIndexOutOfBoundsException: -1
        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$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.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)
    
    Ooo and know it's only a little thing but Zombie-Pigmen and Pigmen just come up as ' You slayed a Zombie' etc.. Just thought you shold know ^_^
     
  16. Offline

    ChrisB

    Hopefully nailed them both with the release thats coming... now ;)
     
  17. Offline

    LyInIa

    Code:
    SEVERE] Could not pass event ENTITY_DEATH to ecoCreature
    java.lang.IllegalArgumentException: n must be positive
        at java.util.Random.nextInt(Random.java:250)
        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.EntitySheep.a(SourceFile:69)
        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)
    Same here :/ Good luck !
     
  18. Offline

    ChrisB

    Which version are you running? If you have 0.0.4g with an old config, remove the config and try it again.
     
  19. Offline

    Quenaros

    Hey ChrisB
    I noticed that I don't get money in other Worlds than the main world.
    Last time I tried it was maybe still iMonsters and Nathans Nethergate plugin.
    Now I switched to ecoCreature and Multiverse

    Is Multiworld not supported yet? Am I doing something wrong?

    CB 617
    eco 4d/4g
    multiverse 1.6
     
  20. Offline

    ChrisB

    It should automagically get the current world the player is in, however, the permissions are now a requirement, if there are none set, there will be no rewards.

    Make sure that you also have the new configuration file since it has changes and additions
     
  21. Offline

    LyInIa

    Code:
    15:03:48 [INFO] Starting minecraft server version Beta 1.4
    15:03:48 [INFO] Loading properties
    15:03:48 [INFO] Starting Minecraft server on *:25565
    15:03:48 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-612-g4c7a9e7-b617jnks (MC: 1.4)
    15:03:48 [INFO] Preparing level "world"
    15:03:48 [INFO] Preparing start region
    15:03:49 [INFO] 144 recipes
    15:03:49 [INFO] Invalid config file found and converted to proper name/format.
    15:03:49 [INFO] [Permissions] (Phoenix) was Initialized.
    15:03:49 [INFO] [ecoCreature] version {0.0.4g} is loading.
    15:03:49 [INFO] [Permissions] version [2.5.5] (Phoenix)  loaded
    15:03:49 [INFO] Loaded Essentials build 2.1.19 maintained by Zenexer, ementalo, Aelux, Brettflan, KimKandor, snowleo and ceulemans.
    15:03:49 [INFO] [HEROBOUNTY] HeroBounty version 1.5.0 active.
    15:03:50 [INFO] [iChat] Found Permissions (v2.5.5)
    15:03:50 [INFO] iChat (v2.2.2) enabled
    15:03:50 [INFO] [iConomy] Logging is currently disabled.
    15:03:50 [INFO] [iConomy] v4.65 (Kenzi) loaded.
    15:03:50 [INFO] [iConomy] Developed by: [Nijikokun, Coelho]
    15:03:50 [INFO] [iConomy] hooked into Permissions.
    15:03:50 [INFO] [mcMMO] Permissions enabled.
    15:03:50 [INFO] mcMMO version 0.9.15 is enabled!
    15:03:50 [INFO] [RealShop] load dependency : iConomy 4.x ok
    15:03:50 [INFO] [RealShop] Uses iConomy plugin (/money commands) as economy system
    15:03:50 [INFO] [RealShop] version [0.58] (tickleman) loaded
    15:03:50 [INFO] Done (0.154s)! For help, type "help" or "?"
    >
    
    0.0.4g indeed, I've deleted the config file and relauch the server twice and I'll see :)
     
  22. Offline

    ChrisB

    It should be fixed, but if it pops up again, I'm sure to know where to find that bug :p
     
  23. Offline

    LyInIa

    Code:
    15:03:49 [INFO] Invalid config file found and converted to proper name/format.
    
    One more thing (for now xD) Should be worried by this ?
     
  24. Offline

    ChrisB

    No idea where that comes from, usually pops up when loading Permissions here for me, but I'll investigate it further if required ;)
     
  25. Offline

    mxms

    Love this plugin, thanks for your work on it!

    The only real suggestion I have is maybe making the drops more configurable. I use DropBonus for items, and I like how one can set the probability of a drop even happening. So while there might be only a 10% chance that a drop will occur, if it does happen then you know there is a 100% chance of you getting a particular item. I hope that makes sense (lol). I'd eventually like to use this plugin for all my drops on creatures. :)
     
  26. Offline

    ChrisB

    The drops will be altered later on, but currently, it works like this

    the item id is specified, then the max amount, it will be random between 0 and the amount specified, and the chance it will drop, anywhere between 0 and 100% chance.

    So even if you specify that a creeper should drop 5 diamonds with a chance of say 1%, even if this occurs, theres no guarantee that they will get all 5, it will be either 0 (dun dun duuuuhn), or 3, maybe 2 or 5 if they're that lucky ;)
     
  27. Offline

    mxms

    I understand that, but my wish is for there to be a 10% probability of a drop with a 100% guarantee that the person will get 5 diamonds.

    Also I might have missed this, but is it multiworld compatible?
     
  28. Offline

    RomaClanServer

    Is this plugin going to develop PVP rewards?
     
  29. Offline

    ChrisB

    Ah, I see.. I will look into that ;)
    With the permissions, it should be... but it will be taken further to allow different drops / rates in different worlds

    It certainly will, it's not too far into the future
     
  30. Offline

    Scipione

  31. Offline

    Shanev

    what does uQuest hooking do? Since you always have an active quest when using uQuest and it is not possible to gain 2 quests at the same time. So what is this function for?

    And what priority does multiworld support have on your list, since I cannot wait to implement a world with stronger enemies (via mobControl) and higher rewards (via ecoCreature) ;)

    btw. very nice plugin and gui!
     

Share This Page