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
update for 1.8 would be great
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
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)
@doorknock23
What plugins are you currently running?
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
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.)
So is there a chance for a fix for the issue I provided here? @xclucky
@xclucky
Thanks :)
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.
Working for 1.4.6?
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:
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.
@anasuelli
This is stange, I will look into this
@Archonea
We are reworking the config in the latest version to account for newer features, so we might aswell reorder the mobs at the same time, that being said it doesn't matter what order they are in the config so you can order them yourself as you like.
@island219
I just tried it again. Set Creeper damage on 2. Then tried two different scenarios:
1) attracting the creeper. then standing completely still, waiting for his explosion. It correctly did me 2 damage. (sometimes 1.5, I suppose a fraction of a block of distance still affects damage).
2) attracting the creeper, then waiting for him to come, and just before the explosion, moving towards him, effectively being the closest possible to the center of explosion. Instakilled me.
I tried this several times. Crafbukkit dev build #2453. No other plugins installed. Difficulty=3.
It might be helpful to arrange the config in alphabetical order.
Also, if you ask me, multiworld support should be priority #1.
EDIT: I am having some issues with PEX compatibility. This error spams whenever PEX is enabled, and even if PEX is the only plugin other than MobDamage.
http://dev.bukkit.org/paste/6511/
(Mobdamage 1.2, PEX 1.19.4, CB 2453)
Looking at the Config you posted I don't see Wither listed. Does this work for the Wither? Player's on our server are well equipped and we don't want to remove the Wither but at the moment it's too easy to kill.
@anasuelli Hello,
Myself and blabba_labba just tested the plugin with 2 set as the creeper damage value. It works perfectly, only doing 2 Health points of damage to us. Perhaps you have another plugin that is interfering with the plugin?
@blabba_labba
Thanks for your kind reply. Sorry to bother you again but I did not understand. I know that the creeper damage decreases with distance from the explosion. My question arises because the damage i set with your mod doesn't seem to be the max damage (at 0 distance). I just tried it: set creeper damage to 2. Then hugging one of them. The explosion killed me. Clearly the damage base wasn't 2. So what are we changing exactly when we set their damage to anything other then -1?
@anasuelli
The two plugins should be compatible as long as Extra hard mode does not edit the mob's health. This plugin adds in the changes at the latest time possible in order to keep the changes that other plugins have on the damage of an attack.
edit: How damage works with creepers is that damage decreases the further away from the centre of the explosion, so even if the damage is set to say 100, it might only do 5 or so damage if you are a few blocks away from the centre
I suppose the Creeper damage refers to the damage dealt by its explosion, right? Also you listed "control Creeper damage correctly" in your ToDo list. What currently is uncorrectly controlled?
Can you and BigScary have a quick talk about the compatibility of his mod <Extra Hard Mode> and yours. He added some special effects on some mobs (a chance of charged creepers, arrow-immune skeletons, slowing zombies, and so on), I wonder if this mod would overwrite those changes or not.