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

    vanmc

    I notice something it creates default.yml without anything on it.
     
  3. Offline

    mung3r

    I just tried this, 1) deleted my default.yml file from plugins/ecoCreature, 2) stop/started my server and 3) saw that the default.yml file was created with settings inside.

    I would delete the blank file and let it regenerate it for you again.
     
  4. Offline

    MinerCrafter

    Hello :).

    Same for me... The default.yml auto generated is empty (0.0.9d).
    I've tried to delete it and restarting (with restart and stop/start) the server, but the new generates file is empty too.

    Can i use the default.yml present in the / of the ecoCreatue.jar file ?

    Thanks !
     
  5. Offline

    mung3r

    Yup, you can use that file. It's the default.
     
  6. Offline

    MinerCrafter

    Thanks !

    Can you, for a future release, add the ability to log each action from ecoCreature ?
    In a text file or a database !
    With date/time, player, item used, mob, gain, etc...

    It will be cool for give stats to players !

    Thanks a lot !
     
  7. Offline

    mung3r

    Yup, there's already a feature request ticket for that there:
    https://github.com/mung3r/ecoCreature/issues/39
     
  8. Offline

    MinerCrafter

    Perfect :) !

    I have a solution for users of latins languages with special characters !
    You will need to have Notepad++ :

    - Open the config file with Notepad++.
    - Clic on "Encoding".
    - Clic on "Convert to UTF-8 without BOM".
    - Edit the strings.
    - Save the file.
    - Upload the file to your plugin directory and restart the server !

    This works with a lot of plugins.

    --------------------------

    Pour ceux qui veulent traduire les fichiers de config, mais qui sont bloqués face à un soucis de caractères spéciaux :
    Vous aurez besoin de Notepad++ :

    - Ouvrez le fichier de config.
    - Cliquez sur "Encodage".
    - Cliquez sur "Convertir en UTF-8 sans BOM".
    - Editez le fichier (vous pouvez mettre des caractères spéciaux).
    - Enregistrez le fichier.
    - Envoyez le vers le répertoire des plugins et redémarrez le serveur.

    Cette astuce fonctionne avec la plus part des plugins.

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

    egladius

    Is it possible to have the player lose money that is diffrent then the ammount awarded to the player?

    I want the player to gain a flat ammount of currency for kills, but I want the killed to lose a % of money for death. This will be a hedge against inflation, while allowing new players to get into the game without having relatively stiff death penalties..

    Is this possible with current setup? (There are areas in config for % player loss, and for flat player kill rewards)
     
  10. Offline

    kahlilnc

  11. Offline

    HappyGrenades

    ok 2 things, 1: add some pictures so we can get an idea of how well you made things.
    2: you claim to have dragons in the title but after the title is repeated you never mention them again...
     
  12. Offline

    mung3r

    kahlilnc likes this.
  13. Offline

    akaBruce

    What does Replace instead of stack drops/items do? I could never quite understand that config line.

    Also, it says in the Changelog that 0.0.9d allows you to modify the exp dropped from monsters. How do you modify that? It doesn't tell in the config file.
     
  14. Offline

    mung3r

    Let's say you want diamonds to drop for Cows. If you "replace", no leather or beef will drop - only diamonds. If you "stack", then leather, beef and diamonds will drop.
     
  15. Offline

    hoticecube

    does this plugin conflict with Towny at all, my server has both, and until we installed it, everything was fine, but now my console keeps saying "SEVERE Could not pass event CreatureKilledByPlayerEvent to ecoCreature"
     
  16. Offline

    mung3r

    I don't think it's Towny. I would need to see the entire error (post it on pastie.org) to know what is causing the error.
     
  17. Offline

    akaBruce

    Ahhh, I enabled only drop items shown in the config, so that option is pretty much unnecessary for me. But how do I modify how much EXP a mob drops?
     
  18. Offline

    mung3r

    It's similar to coin. Here's an example for 5 to 10 exp 100% of the time on a Cow:
    Code:
        Cow:
            Drops: 'leather:2:75;raw beef:3:75'
            Coin_Minimum: 0.10
            Coin_Maximum: 2.50
            Coin_Percent: 1.0
            ExpMin: 5
            ExpMax: 10
            ExpPercent: 100
    
     
  19. Offline

    hoticecube

    http://pastie.org/3350293
     
  20. Offline

    mung3r

    You sure that's the right error? I don't see ecoCreature anywhere in that pastie.
     
  21. Offline

    hoticecube

    whoops sorry
    http://pastie.org/3350293
     
  22. Offline

    blunderbuss

    Do I need perms for my players to get money from killing?
     
  23. Offline

    mung3r

    Yes
    Yes

    That one looks better, but it's incomplete. Look here for an example of what a complete error looks like.

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

    Maxxgold

    Can we get these errors fixed for CB 1846 and Spout 737 both recomended.


    2012-02-11 12:53:42 [SEVERE] Could not pass event PlayerKilledByPlayerEvent to ecoCreature
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:27)
    at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:370)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:171)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:544)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:612)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:213)
    at net.minecraft.server.EntityHuman.attack(EntityHuman.java:797)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:942)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    ... 24 more
    Caused by: java.lang.NullPointerException
    at org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.permission(AnjoPermissionsHandler.java:68)
    at org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.has(AnjoPermissionsHandler.java:56)
    at net.milkbowl.vault.permission.plugins.Permission_GroupManager.playerHas(Permission_GroupManager.java:107)
    at net.milkbowl.vault.permission.Permission.has(Permission.java:84)
    at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.hasPermission(ecoRewardManager.java:301)
    at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerPVPReward(ecoRewardManager.java:71)
    at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onPlayerKilledByPlayer(ecoDeathListener.java:26)
    ... 28 more
    2012-02-11 12:53:45 [SEVERE] Could not pass event PlayerKilledByPlayerEvent to ecoCreature
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:27)
    at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:370)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:171)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:544)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:612)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:213)
    at net.minecraft.server.EntityHuman.attack(EntityHuman.java:797)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:942)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    ... 24 more
    Caused by: java.lang.NullPointerException
    at org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.permission(AnjoPermissionsHandler.java:68)
    at org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.has(AnjoPermissionsHandler.java:56)
    at net.milkbowl.vault.permission.plugins.Permission_GroupManager.playerHas(Permission_GroupManager.java:107)
    at net.milkbowl.vault.permission.Permission.has(Permission.java:84)
    at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.hasPermission(ecoRewardManager.java:301)
    at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerPVPReward(ecoRewardManager.java:71)
    at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onPlayerKilledByPlayer(ecoDeathListener.java:26)
    ... 28 more
    2012-02-11 12:53:54 [SEVERE] Could not pass event PlayerKilledByPlayerEvent to ecoCreature
    org.bukkit.event.EventException
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDeath(ecoEntityListener.java:27)
    at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
    at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerDeathEvent(CraftEventFactory.java:370)
    at net.minecraft.server.EntityPlayer.die(EntityPlayer.java:171)
    at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:544)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:612)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:213)
    at net.minecraft.server.EntityHuman.attack(EntityHuman.java:797)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:942)
    at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
    at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:552)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.GeneratedMethodAccessor152.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
    ... 24 more
    Caused by: java.lang.NullPointerException
    at org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.permission(AnjoPermissionsHandler.java:68)
    at org.anjocaido.groupmanager.permissions.AnjoPermissionsHandler.has(AnjoPermissionsHandler.java:56)
    at net.milkbowl.vault.permission.plugins.Permission_GroupManager.playerHas(Permission_GroupManager.java:107)
    at net.milkbowl.vault.permission.Permission.has(Permission.java:84)
    at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.hasPermission(ecoRewardManager.java:301)
    at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerPVPReward(ecoRewardManager.java:71)
    at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onPlayerKilledByPlayer(ecoDeathListener.java:26)
     
  25. Offline

    blunderbuss

    Now I'm a super server rookie and with the plugins and permissions, y'know. So are we talking 'permissions.yml' or a permissions plugin and I have to add the node?
     
  26. Offline

    mung3r

    So, I'm not getting this error at all. This is what I have in my serer.log:

    Code:
    19:30:48 [INFO] This server is running CraftBukkit version git-Bukkit-1.1-R3-b1846jnks (MC: 1.1) (Implementing API version 1.1-R3)
    19:30:48 [INFO] [Spout] Loading Spout v737.
    19:30:49 [INFO] [Spout] Spout 737 has been initialized
    19:30:49 [INFO] [Vault] Loading Vault v1.2.8-b87.
    19:30:51 [INFO] [ecoCreature] Loading ecoCreature v0.0.9d-b71 (All your death are belong to us!).
    
    Just make sure you install the Vault plugin (ecoCreature depends on this) and you can use permissions.yml or whatever you want.

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

    NotYetRated

    Anyone know where I can find the error in my config from this error:

    Code:
    2012-02-14 01:48:59 [SEVERE] Error occurred while enabling ecoCreature v0.0.9c (All your death are belong to us!) (Is it up to date?): special characters are not allowed
    unacceptable character ' ' (0x0) special characters are not allowed
    in "<reader>", position 7922
        at org.yaml.snakeyaml.reader.StreamReader.checkPrintable(StreamReader.java:98)
        at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:191)
        at org.yaml.snakeyaml.reader.StreamReader.peek(StreamReader.java:145)
        at org.yaml.snakeyaml.scanner.ScannerImpl.scanToNextToken(ScannerImpl.java:967)
        at org.yaml.snakeyaml.scanner.ScannerImpl.fetchMoreTokens(ScannerImpl.java:235)
        at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:179)
        at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockMappingKey.produce(ParserImpl.java:563)
        at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:161)
        at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:146)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:237)
        at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
        at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:123)
        at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:106)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:121)
        at org.yaml.snakeyaml.Yaml.loadFromReader(Yaml.java:480)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:423)
        at org.bukkit.util.config.Configuration.load(Configuration.java:90)
        at se.crafted.chrisb.ecoCreature.managers.ecoConfigManager.load(ecoConfigManager.java:64)
        at se.crafted.chrisb.ecoCreature.ecoCreature.onEnable(ecoCreature.java:118)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:231)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:379)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:191)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:174)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)

    I cannot find the error in my config...

    Code:
    System:
        Economy:
            #
            # Round reward amounts to the nearest integer
            # Default : false
            IntegerCurrency: false
     
        Hunting:
            #
            # Give rewards for mob spawner camping
            # Default: false
            AllowCamping: false
            #
            # Clear drops from mobs killed near spawners
            # Default: true
            ClearCampDrops: true
            #
            # How many blocks away from a spawner you need to be to get a reward
            # Default: 7           
            CampRadius: 7
            #
            # Do not drop anything except for rewards defined in this file
            # Default: false
            ClearDefaultDrops: false
            #
            # Replace instead of stack rewards drops/items
            # Default: true
            OverrideDrops: false
            #
            # Do not randomize the amount of drop items - always drop a fixed amount
            # Default: false
            FixedDrops: false
            #
            # Enable rewards for mobs killed with bow & arrow
            # Default: true
            BowRewards: true
            #
            # Enable rewards for killing mobs under sea level
            # Default: true
            AllowUnderSeaLVL: true
            #
            # Enable rewards for kills with tamed creatures (wolves)
            # Default: true
            WolverineMode: true
            #
            # Penalize players when they die. Use PenalizeType to select whether PenalizeAmount
            # is used as a percentage (PenalizeType: true) or a fixed amount (PenalizeType: false)
            # taken from the player.
            # Default: false
            PenalizeDeath: false
            PenalizeType: true
            PenalizeAmount: 0.05
            #
            # Remove drops from mobs killed by farming contraptions (mob death by cacti, falling,
            # drowning or suffocation)
            # Default: false
            NoFarm: false
     
            #
            # MobArena: allow rewards when players are in the arena
            # Default: false
            MobArenaRewards: false
           
        Messages:
            #
            # Enable all reward messages
            # Default: true
            Output: true
            #
            # Message players when they get no reward for a kill
            # Default: true
            NoReward: true
            #
            # Message players for camping spawners
            # Default: false
            Spawner: false
            #
            # Custom message for no camping mob spawners
            NoCampMessage: '&7You find no rewards camping monster spawners.'
            #
            # Custom message for no rewards killing with bow & arrow
            NoBowMessage: '&7You find no rewards on this creature.'
            #
            # Custom message for death penalty
            DeathPenaltyMessage: '&7You wake up to find &6<amt>&7 missing from your pockets!'
     
    Gain:
        #
        # Multiply reward amount based on group (NOTE: requires a permission plugin that
        # supports groups)
        Groups:
            Default:
                Amount: 1.0
            Legends:
                Amount: 2.0
        #
        # Multiply reward amount based on time period of day/night
        Time:
            Sunrise:
                Amount: 1.0
            Day:
                Amount: 1.0
            Sunset:
                Amount: 1.0
            Dusk:
                Amount: 1.125
            Night:
                Amount: 1.25
            Dawn:
                Amount: 1.125
        #
        # Multiply reward amount based on environment type
        Environment:
            Normal:
                Amount: 1.0
            Nether:
                Amount: 1.25
            The_End:
                Amount: 1.0
     
    RewardTable:
        #
        # Format for Drops:
        #
        #  Drops: ITEM_ID.DATA_ID,ENCHANTMENT.LEVEL:[MIN-]MAX:CHANCE;ITEM_ID.DATA_ID:[MIN-]MAX:CHANCE;...
        #
        # Drop example 1: drop 0 to 5 diamonds 50% of the time
        #  Drops: 'diamond:5:50'
        #
        # Drop example 2: drop 1 to 2 birch leaves 100% of the time
        #  Drops: 'leaves.2:1-2:100'
        #
        # Drop example 3: drop 0 to 5 diamonds 50% of the time AND drop 1 to 2 birch leaves 100% of the time
        #  Drops: 'diamond:5:50;leaves.2:1-2:100'
        #
        # Drop example 4: drop nothing
        #  Drops: ''
        #
        # Drop example 5: drop 0 to 1 diamond swords with a damage_all level 4 enchantment (a.k.a. Sharpness IV) 25% of the time
        #  Drops: 'diamond_sword,damage_all.4:1:25'
        #
        # Drop example 6: drop 0 to 1 potion type 2 (a.k.a. Swiftness) 25% of the time
        #  Drops: 'potion.2:1:25'
        #
        # Drop example 7: go crazy :P
        #  Drops: 'diamond_pickaxe,durability.3:1:25;diamond_sword,damage_all.5:1:25;potion.2:1-1:25'
        #
        # Coin reward examples:
        #
        # Coin example 1: award 0 to 10 coin 50% of the time
        #  Coin_Minimum: 0.0
        #  Coin_Maximum: 10.0
        #  Coin_percent: 50.0
        #
        # Coin example 2: award 10 coin 100% of the time
        #  Coin_Minimum: 10.0
        #  Coin_Maximum: 10.0
        #  Coin_percent: 50.0
        #
        # Coin example 3: award nothing
        #  Coin_Minimum: 0.0
        #  Coin_Maximum: 0.0
        #  Coin_percent: 0.0
        #
        # Coin example 4: penalize 0 to 10 coin 50% of the time
        #  Coin_Minimum: -10
        #  Coin_Maximum: 0
        #  Coin_percent: 50.0
        #
        # Custom reward messages
        #
        #  &[0-9a-f] - color codes
        #  <plr> - display player name in a message
        #  <crt> - display creature name in a message
        #  <amt> - display amount in a message
        #  <itm> - display item used to kill in a message
        #
        # Message examples:
        #  NoReward_Message: '&7You slayed a &5<crt>&7 using a &3<itm>.'
        #  Reward_Message: '&7You are awarded &6<amt>&7 for slaying a &5<crt>.'
        #  Penalty_Message: '&7You are penalized &6<amt>&7 for slaying a &5<crt>.'
        #
        Blaze:
            Coin_Minimum: 6.50
            Coin_Maximum: 10.50
            Coin_Percent: 90.0
        CaveSpider:
            Coin_Minimum: 0.50
            Coin_Maximum: 5.50
            Coin_Percent: 90.0
        Chicken:
            Coin_Minimum: 0.10
            Coin_Maximum: 3.00
            Coin_Percent: 50.0
        Cow:
            Coin_Minimum: 0.10
            Coin_Maximum: 2.50
            Coin_Percent: 50.0
        Creeper:
            Coin_Minimum: 5.50
            Coin_Maximum: 10.50
            Coin_Percent: 85.0
        PoweredCreeper:
            Coin_Minimum: 10.50
            Coin_Maximum: 15.50
            Coin_Percent: 50.0
        #
        # IMPORTANT NOTE:
        # This reward requires "classic" build of DeathTpPlus here http://tiny.cc/dtpclassic.
        # Also note that the penalty amount is multiplied by the number of deaths in the streak.
        DeathStreak:
            Coin_Minimum: -1.00
            Coin_Maximum: -1.00
            Coin_Percent: 100.00
            NoReward_Message: ''
            Reward_Message: '&7You earned &6<amt>&7 for that death streak!'
            Penalty_Message: '&7That death streak cost you &6<amt>&7.'
        EnderDragon:
            Coin_Minimum: 500.00
            Coin_Maximum: 5000.50
            Coin_Percent: 95.00
        Enderman:
            Coin_Minimum: 1.00
            Coin_Maximum: 7.50
            Coin_Percent: 75.0
        Ghast:
            Coin_Minimum: 3.50
            Coin_Maximum: 18.50
            Coin_Percent: 97.0
        Giant:
            Coin_Minimum: 80.50
            Coin_Maximum: 6000.50
            Coin_Percent: 70.00
        #
        # IMPORTANT NOTE:
        # This reward requires "classic" build of DeathTpPlus here http://tiny.cc/dtpclassic.
        # Also note that the reward amount is multiplied by the number of kills in the streak.
        KillStreak:
            Coin_Minimum: 2.00
            Coin_Maximum: 2.00
            Coin_Percent: 100.00
            NoReward_Message: ''
            Reward_Message: '&7You earned &6<amt>&7 for that kill streak!'
            Penalty_Message: '&7That kill streak cost you &6<amt>&7.'
        MagmaCube:
            Coin_Minimum: 0.00
            Coin_Maximum: 2.00
            Coin_Percent: 50.00
        Monster:
            Coin_Minimum: 0.50
            Coin_Maximum: 3.50
            Coin_Percent: 79.0
        MushroomCow:
            Coin_Minimum: 0.10
            Coin_Maximum: 2.50
            Coin_Percent: 1.0
        Pig:
            Coin_Minimum: 0.10
            Coin_Maximum: 2.50
            Coin_Percent: 1.0
        PigZombie:
            Coin_Minimum: 1.00
            Coin_Maximum: 3.50
     
  28. Offline

    qaz32152

    I'm using the latest version but default.yml is blank.
     
  29. Offline

    Nazralte

    Having an error. Like the guy above me posted, the default.yml was blank so I found one and copied and pasted, edited to my liking. (I did use this plugin when it was the original). But since Ive had it I get an error when someone kills something. Im using the bukkit permissions. Im using CB 1.1R3
    Code:
     [SEVERE] Could not pass event CreatureKilledByPlayerEvent to ecoCreatur
    e
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.
    java:1026)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:453)
            at se.crafted.chrisb.ecoCreature.listeners.ecoEntityListener.onEntityDea
    th(ecoEntityListener.java:44)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.
    java:1024)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:453)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callEntityDeathEvent(C
    raftEventFactory.java:355)
            at net.minecraft.server.EntityLiving.dropDeathLoot(EntityLiving.java:673
    )
            at net.minecraft.server.EntityLiving.die(EntityLiving.java:648)
            at net.minecraft.server.EntityLiving.damageEntity(EntityLiving.java:544)
     
            at net.minecraft.server.EntityAnimal.damageEntity(EntityAnimal.java:141)
     
            at net.minecraft.server.EntityHuman.attack(EntityHuman.java:797)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:942)
            at net.minecraft.server.Packet7UseEntity.handle(SourceFile:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:7
    8)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.
    java:1024)
            ... 24 more
    Caused by: java.lang.UnsupportedOperationException: SuperPerms no group permissi
    ons.
            at net.milkbowl.vault.permission.plugins.Permission_SuperPerms.getPrimar
    yGroup(Permission_SuperPerms.java:81)
            at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.computeReward
    (ecoRewardManager.java:277)
            at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerRewar
    d(ecoRewardManager.java:251)
            at se.crafted.chrisb.ecoCreature.managers.ecoRewardManager.registerCreat
    ureDeath(ecoRewardManager.java:161)
            at se.crafted.chrisb.ecoCreature.listeners.ecoDeathListener.onCreatureKi
    lledByPlayer(ecoDeathListener.java:20)
            ... 29 more
    Thoughts?
     
  30. Offline

    mung3r

    That definitely a bug. Try this build.

    I've been trying to duplicate this on my server, which is linux. What type of server are you using?

    I copied and pasted your config here. No errors. You might want to just copy and paste into a new text file since it appears the original has some white space character that's hard to edit out.

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

    NotYetRated

    Okay that the same parser I used and came up with no errors in it as well. Just making sure I am not going(completely) crazy. Thanks!
     

Share This Page