MobMastery

MobDamage

MobDamage allows you to configure the health and damage values for all the mobs on the server, it allows quick and easy configuration.

MobDamage was coded from scratch to provide an easy way for server admins to grant a new playing experience to players on their servers. The way in which the plugin was coded means it can be reloaded on the fly without having to restart the server. You can configure the health and damage values of nearly all the mobs on the server!

Permissions:

mobdamage.reload : Reload MobDamage Configuration

Config:

The config contains the health and damage values for all the mobs. The health is the amount of HP the mob has (2 HP = 1 Heart). The default config looks like this: (will generate on first run)

MobHealth:
  Pig: -1
  Cow: -1
  Spider: -1
  CaveSpider: -1
  Zombie: -1
  Skeleton: -1
  Creeper: -1
  Ocelot: -1
  Bat: -1
  Chicken: -1
  Mooshroom: -1
  Sheep: -1
  Squid: -1
  Villager: -1
  Enderman: -1
  Wolf: -1
  ZombiePigman: -1
  Blaze: -1
  Ghast: -1
  MagmaCube: -1
  Silverfish: -1
  Slime: -1
  Witch: -1
  WitherSkeleton: -1
  ZombieVillager: -1
  IronGolem: -1
MobDamage:
  Pig: -1
  Cow: -1
  Spider: -1
  CaveSpider: -1
  Zombie: -1
  Skeleton: -1
  Creeper: -1
  Ocelot: -1
  Bat: -1
  Chicken: -1
  Mooshroom: -1
  Sheep: -1
  Squid: -1
  Villager: -1
  Enderman: -1
  Wolf: -1
  ZombiePigman: -1
  Blaze: -1
  Ghast: -1
  MagmaCube: -1
  Silverfish: -1
  Slime: -1
  Witch: -1
  WitherSkeleton: -1
  ZombieVillager: -1
  IronGolem: -1

A value of -1 sets the mob to default health, meaning that the mob has the health value as Notch and Jeb intended.

Bugs:

We haven't found any bugs in MobDamage yet, but if you have, please contact one of us!

Compatibility:

MobDamage works with CraftBukkit 1.3.2 R3+, it was compiled using the 1.4.2 Development Bukkit Binaries, so should work fine with 1.4.2+

Changelog:

v1.0:

  • Initial version of the plugin

v1.1

  • Added Snow Golems to the configuration.
  • Fixed the /mobdamage command not reporting version correctly.

To-Do / In-Development:

  • Random numbers added to low health for mobs to add a unique playing experience. IN DEVELOPMENT
  • MobHealth controllable by distance away from a set point, progressive difficulty. IN DEVELOPMENT
  • Changing of speed for any mob
  • Change MobHealth using commands DONE
  • MultiWorld Support
  • Ability to change Passive mob behaviour. Courtesy Alpha_x_Beta

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of croftcw croftcw Apr 21, 2014 at 00:36 UTC - 0 likes

    I am very thankful for this plugin. Thank you. However, I wish to allow snowmen to deal damage with their snowballs. This allows me to do so. But, the snowballs hurt all mobs, and even the players. If you could make it so they only hurt mobs that they attack on purpose, that would be fantastic.

    Thank you,

    Micah

  • Avatar of crash2323 crash2323 Mar 02, 2013 at 03:46 UTC - 0 likes

    Getting this error spamming my server log while using MobDamage: (Note I am using MCPC+ I had errors with the Extra Hard Mode plugin as well with errors similar to this. The Dev of that mob fixed it and said it was an easy fix. If it is the same kind of issue, please do the same... something with plugins not passing to the mods properly. I am using the following mods/plugins:

    I am using the following plugins: MobDamage AngryWolves Catacombs ExtraHardMode GravesPlus InfiniteStrongholds Likeaboss mcMMO PermissionsBukkit PluginMetrics Rebalance Villagers SpawnMob WorldEdit WorldGuard ZombieResurrection

    Mods using MCPC+ for Minecraft 1.4.7 BattleTowers_1.4.6, DrZhark's Mo'Creatures Mod v4.5.1, CustomMobSpawner 1.11, ExtrabiomesXL-universal-1.4.7-3.9.0, industrialcraft-2_1.112.170-lf, Metallurgy Core 2.4.2 plus all the metals, RedPowerCore-2.0pr6 plus the addons, Ruins_1.4.6

    22:38:15 [SEVERE] Could not pass event EntityDamageEvent to MobDamage v1.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:394) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at md.y(EntityLiving.java:600) at lq.j_(Entity.java:507) at md.j_(EntityLiving.java:878) at qj.j_(EntityMob.java:46) at lq.U(Entity.java:2065) at md.U(EntityLiving.java:845) at yc.a(World.java:2682) at in.a(WorldServer.java:844) at yc.g(World.java:2649) at yc.a(World.java:2746) at in.a(WorldServer.java:844) at yc.g(World.java:2649) at yc.h(World.java:2478) at in.h(WorldServer.java:701) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:956) at ho.r(DedicatedServer.java:309) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:857) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:744) at fy.run(ThreadMinecraftServer.java:16)

    Last edited Mar 02, 2013 by crash2323
  • Avatar of island219 island219 Feb 26, 2013 at 18:31 UTC - 0 likes

    @doorknock23: Go

    What plugins are you currently running?

    BFAK:TheLonelyIsland,1996,dff9752c1d753d59f479af3d8bf079e50f87166b31d2a5ed45f1fbc5f609454b

  • Avatar of doorknock23 doorknock23 Feb 19, 2013 at 02:44 UTC - 0 likes

    I am getting this kind of error over and over on my server due to this mod... is this a known issue? I am using mcpc-plus-1.4.7-R1.1-SNAPSHOT-f524-195

    21:41:31 [SEVERE] Could not pass event EntityDamageEvent to MobDamage v1.1 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:394) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at lq.y(Entity.java:620) at md.y(EntityLiving.java:587) at lq.j_(Entity.java:507) at md.j_(EntityLiving.java:878) at pk.j_(EntityWolf.java:227) at yc.tickEntity(World.java:2730) at yc.a(World.java:2666) at in.a(WorldServer.java:844) at yc.g(World.java:2648) at yc.h(World.java:2477) at in.h(WorldServer.java:701) at net.minecraft.server.MinecraftServer.r(MinecraftServer.java:956) at ho.r(DedicatedServer.java:309) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:857) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:744) at fy.run(ThreadMinecraftServer.java:16) Caused by: java.lang.NullPointerException at com.i2.mobdamage.MobDamageListener.onDamage2(Unknown Source) at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:392) ... 19 more

  • Avatar of CommodoreAlpha CommodoreAlpha Jan 21, 2013 at 18:04 UTC - 0 likes

    It appears that giants, enderdragons, and withers are not on the list. Could you add them?

    Also, for slimes and magma cubes, their health, (armour), and damage scales with size, so the current configuration for them seems confusing. If I changed a slime's health, will it set all slimes to one HP, regardless of size? Or will it start scaling differently?

    The same goes for creepers and ghasts: how does the plugin change their damage? Will it change their blast radius or just the damage? And does the damage done to players scale with proximity to the explosion?

    What about skeletons? Will it alter the damage they do via arrows, or melee? (Yes, they can do melee; summon one without a bow.) And as for blazes, will it change blaze contact damage or blaze fireball damage? Can we change the fire duration that each fireball inflicts on the player? The same issue of ambiguity might apply to Withers in that they can deal damage in three ways: contact, and the two type of wither skulls they can shoot out.

    ...and, if possible, could you make it so that we can also change a mob's innate armour? Zombies have magma cubes have natural armour, but server admins may want to tweak the armour on any mob. Just keep in mind not to override the armour points provided by armour a mob might be wearing (i.e. a zombie in full diamond will make it much more armoured).

    Also, could you hook into MobHealth (the plugin)?

    Sorry for shotgun-blasting you with questions, but I felt it was necessary. (That and, there aren't really any other plugins that can change health and damage of mobs.)

    Last edited Jan 21, 2013 by CommodoreAlpha

    Sure, I'd love to include my server IP here. But it's under construction, and I wouldn't want to get sued for players wandering inside and getting hit by a random beam of steel floating about. And no, I doubt plugins would make very good lawyers either. I've never seen a plugin that forced you to sign a contract do so well.

  • Avatar of xclucky xclucky Jan 15, 2013 at 14:40 UTC - 0 likes

    So is there a chance for a fix for the issue I provided here? @xclucky: Go

  • Avatar of island219 island219 Jan 14, 2013 at 22:57 UTC - 0 likes

    @xclucky: Go

    Thanks :)

  • Avatar of xclucky xclucky Jan 01, 2013 at 19:51 UTC - 0 likes

    This was added in 1.4.6 R0.2, It may be of some help to you:

    BUKKIT-266: Add setMaxHealth to set the maximum health cap of an entity.

  • Avatar of Qwahchees Qwahchees Dec 28, 2012 at 11:56 UTC - 0 likes

    Working for 1.4.6?

  • Avatar of xclucky xclucky Dec 17, 2012 at 01:45 UTC - 0 likes

    For some reason, if you hit a zombie really fast, they only get hurt 8 times before they die, however, if you hit them slowly, it takes the normal 24 hits for them to die. Why is this?
    Here is my config:

    MobHealth:
      Pig: -1
      Cow: -1
      Spider: 20
      CaveSpider: 16
      Zombie: 24
      Skeleton: 22
      Creeper: 18
      Ocelot: -1
      Bat: -1
      Chicken: -1
      Mooshroom: -1
      Sheep: -1
      Squid: -1
      Villager: -1
      Enderman: -1
      Wolf: -1
      ZombiePigman: 18
      Blaze: 24
      Ghast: -1
      MagmaCube: -1
      Silverfish: 10
      Slime: -1
      Witch: -1
      WitherSkeleton: -1
      ZombieVillager: 26
      IronGolem: -1
      SnowGolem: -1
    MobDamage:
      Pig: -1
      Cow: -1
      Spider: 2
      CaveSpider: 2
      Zombie: -1
      Skeleton: 4
      Creeper: -1
      Ocelot: -1
      Bat: -1
      Chicken: -1
      Mooshroom: -1
      Sheep: -1
      Squid: -1
      Villager: -1
      Enderman: 7
      Wolf: -1
      ZombiePigman: 9
      Blaze: 6
      Ghast: -1
      MagmaCube: -1
      Silverfish: -1
      Slime: -1
      Witch: -1
      WitherSkeleton: 9
      ZombieVillager: 4
      IronGolem: -1
      SnowGolem: -1
    

    I am using CraftBukkit 1.4.5-R0.2

    EDIT: It seems to be going by mouse clicks... I have NCP installed, so it should not let mobs die THIS fast, at least not without spamming the console.

    Last edited Dec 17, 2012 by xclucky

Facts

Date created
Oct 30, 2012
Categories
Last update
Oct 31, 2012
Development stage
Release
License
GNU General Public License version 3 (GPLv3)
Curse link
MobMastery
Downloads
3,661
Recent files

Authors