Mob Stats
MobStats makes the strength of mobs change! The further from the closest origin the mob is, the stronger it is. Mobs at an origin are too weak to survive, but get far enough away and they become so strong that they could kill a player in one shot.
To set up the plugin, download the .jar and place it in your plugins folder. Start your server to create the config file. Open up the config and configure it. Reload your server. Insure that you have Vault in your plugin folder if you want to use the economy features. Run the command replaceall to make sure all mobs are proper and run it again if you encounter vanilla mobs that shouldn't be vanilla.
Features
- Tells players what level zone they are in.
- Commands to tell you where you are.
- Will tell players what zone they are in even after teleporting and respawning.
- Multi World support.
- Configure the message for when a player enters a zone.
- Configure messages sent when a player kills a mob.
- Players can stop themselves from receiving messages for someone killing a mob.
- Configure death messages.
- Choose the origins.
- Worlds can have more than one origin.
- Equations to customize the zone size, mob damage, mob health, experience drops, and money.
- Configure different item drops for different mobs in different zones.
- Configure a maximum and minimum values.
- Change the arrows that skeletons shoot.
- Change the equipment that mobs have based on level and a weighted random.
Commands
zone - Tells the player what zone they are in. ms <on or off> - Turns the messages for when someone kills a mob on and off. replaceall - (for ops and the console only) Checks every entity in the game and replaces them if they aren't the right type to have a level.
Config
NOTE: The level cap has been changed to being integrated with equations.
message
This is the message that gets sent to a player when the player changes zones. When ever you type "+level" it will be replaced with the level of the zone. Type "false" or leave the area blank to turn off that message. This goes for all messages. Kill Message, and Death Message can also have -mob for the type of mob and -player for the name or the player and Kill Messages can also have -exp for the experience earned and -money for the money earned.
origins
Type the name of each world to have origins for under the origins section then place a list of origins for each world by listing them with hyphens before each location. Type the location in the form of x,y,z or type spawn to be the world's spawn point.
equations
There are 5 types of equations, zones which are the change in levels based on distance, damage which is the change in damage based on levels, health which is the change in health based on levels, experience or XP which is the change in experience drops based on levels, and Money is to set the amount of money to provide Players with for killing a mob of a certain level. Type what equation is to be set, then type the type of equation (Quadratic, QWD, QMD, Exponential, EWD, EMD). Make a max area for a maximum value and a min area for a minimum value in each equation, excluding these will set the value to positive and negative infinity respectively.
Types
- Quadratic: Values are a, b, c to be filled in the equation ax^2 + bx + c. Setting a to 0 makes a linear equation, c is the value when x is 0.
- QWD: A Quadratic but the values for a, b, and c can have a d put next to them to multiply that value by the default value of what is being calculated.
- QMD: A Quadratic that gets multiplied by the default value of what is being calculated after it has been calculated. Setup the same as a regular quadratic.
- Exponential: Values ar a, b, c, d, f which are to be filled into a(b^(c(x - d))) + f.
- EWD: The same as a QWD but using an exponential equation instead.
- EMD: The same as a QMD but using an exponential equation instead.
If equations make values too high then it can kill a player but instead of respawning, they go to limbo. They can't be damaged or damage other things.
drops
Type a name for the drop that can be anything in the list under drops. Put a section in with the name of the drop which has a section for Mobs which is a list of mobs, a Start Zone section for the zone where it starts, an End Zone for the zone where it ends, the Odds which is a fraction to place the Odds for if the item is dropped, and Items which is a list of ItemStacks in the form of (item id(#)),(amount). No mobs will set it for all mobs, no Start Zone defaults to 0, no End Zone defaults to endless, and no odds, no denominator for odds or the numerator is larger than the denominator will default to the drop always being dropped. No items will ignore the drop.
equipment
Equipment is the same as Drops except their names are listed under equipment. Also, when putting in items, a third number may be placed to say what equipment slot it is supposed to be in. With out a number, it i just placed based on its the order in which it is listed. If ArrowPro is used, the abbreviation of an arrow can be used to set it to a skeleton.
affected mobs
Type a list of all the mobs that are to be affected by listing them one on top of the other with a hyphen before each mob. Leaving it blank will affect all mobs. By default there is a list of all mobs to be used for a reference. Erasing all these values will have no effect on which mobs are affected.
Source: source
I'm currently using QMD 0.5x+1 for the damage, and skeleton/creeper damage isn't changing based on level. Spiders and Zombies are working as expected.
@Collinbxyz
You can put the bukkit colour characters in. I think that it is an and symbol "&" followed by a hex digit (0 - 9, and a - f). This will set all the text following the character to the colour represented by the hex digit.
@GeoNiam
ArrowPro is only needed to change the arrows, not the damage.
EDIT2: Does mobstats need arrowpro to modify the skeleton damage?
EDIT: It appears to have been reading the config located within the jar. After replacing it with the edited config the error disappeared.
Getting this error when the plugin tries to load. There is no mention of 'tnt' in my config.
at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398)
at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:111)
at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11)
at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:51)
at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:206)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217)
at mobstats.MobStats.onEnable(MobStats.java:177)
at mobstats.MobStats.setupEquipment(MobStats.java:1289)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.NumberFormatException.forInputString(Unknown Source)
java.lang.NumberFormatException: For input string: "tnt"
Error occurred while enabling MobStats v5.4.1 (Is it up to date?)
[MobStats] Enabling MobStats v5.4.1
Hey there
I'm having a problem with affected mobs.
I removed passive mobs from the list since I don't want people gaining extra exp for killing passive mobs, but now they stopped spawning altogether!
What can I do to change this please?
@Gamerguy14
Great, thank you. I figured it out.
Is there any way to add colors to the messages? Thanks again for the great plugin.
Hi Gamerguy, can you make setting to list of an affected worlds?
@Collinbxyz
You have a space before a number in your config where there shouldn't be a space. The number is a five.
"Hi Gamerguy,
Just a quick question. I'm using the default settings for the most part (Removed TNT since I don't have the arrow plugin.) However, with simply MobStats and Vault installed I can one hit any level mob with a wooden sword. According to the default math I certainly should not be able to do that. Am I missing a setting somewhere?"
I am having this same issue, Messages go off when I kill a mob and I get extra XP in level 30 areas but I can 2 shot these mobs, if anything It made these mobs easier!
Default config minus the tnt part.
Sorry, I keep getting this error. I tried a new install as well. It was working before, so I'm not sure what the problem is.
18:08:45 [INFO] [MobStats] Enabling MobStats v5.4.1 18:08:45 [SEVERE] Error occurred while enabling MobStats v5.4.1 (Is it up to date?) java.lang.NumberFormatException: For input string: " 5" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.parseInt(Integer.java:499) at mobstats.MobStats.setupDrops(MobStats.java:1213) at mobstats.MobStats.onEnable(MobStats.java:176) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:270) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:252) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:206) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:51) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:111) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:398) at net.minecraft.server.ThreadServerApplication.run(SourceFile:856)
Thanks :)
Hi Gamerguy,
Just a quick question. I'm using the default settings for the most part (Removed TNT since I don't have the arrow plugin.) However, with simply MobStats and Vault installed I can one hit any level mob with a wooden sword. According to the default math I certainly should not be able to do that. Am I missing a setting somewhere?
Thanks!
I am really excited about this plugin, but under the configuration setup, I cannot enable my world. Please see the attached. The world is Denigrata Animas, and will not enable... I have tried "Denigrata Animas" as well.
Kill Message: -player killed a level -level -mob and recieved -exp exp and $-money. Death Message: -player has been killed by a level -level -mob. Origins: Denigrata Animas: - spawn world: - spawn Equations: Zone: Type: Quadratic
@smallfaceapek
I think so.
@Patrick_Janson
It should be 5.4.1 now.
is it possible to support heroes plugin?
And 5.4 is still the last one...
Do you have another mirror for 5.4.1?
I get errors in the console..
Mob stats is saying: error:h
a few million times..
It was only when someone was in the nether.. but now its in the other worlds too.. :s
Whats this coming from.. ?
edit:
I think it was just reloading... for 10+ minutes :p
It stopped ;)
@LoulouteFlore
There, that is your problem. ArrowPro is required for special arrows to be used with skeletons. You can remove but you will have to change your config so that you aren't trying to use any special arrows. The reason for this is that the code is quite large for the arrows so it wouldn't really work to mix the plugins together.
@Gamerguy14
Hi :) I downloaded the last version available and it always says "enabling MobStats v5.4 (Is it up to date?)". Where can I find the 5.4.1 version? :)
And I never tried to use tnt arrows as I have never downloaded nor installed ArrowPro (I didnt even know what it was before ;P) but I will install it now and see if it works.
[EDIT] With ArrowPro MobStats is working fine even if I didnt want to use it :/ Can we disable it?
thanks, Lou.
@LoulouteFlore
First thing I can see is that you are running version 5.4 when the latest version is 5.4.1. This wouldn't really cause a problem except for the fact that in 5.4.1, that line is a curly brace. I will look for it though and see what is wrong.
My guess is that you are trying to use tnt arrows when ArrowPro isn't there.
EDIT: Yeah that would probably be your problem since the line is only executed when ArrowPro isn't loaded.