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
@Gamerguy14
hello Gamerguy14 :) with the new version I am getting this error: (tried without any other plugins, it is the same)
22:36:55 [SEVERE] Error occurred while enabling MobStats v5.4 (Is it up to date?) java.lang.NumberFormatException: For input string: "tnt" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at java.lang.Integer.parseInt(Unknown Source) at mobstats.MobStats.setupEquipment(MobStats.java:1287) at mobstats.MobStats.onEnable(MobStats.java:175) 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)
I am doing something wrong? thanks :) Lou.
@erdedt
Fixed this problem. It was a typo in the code.
I recommend that everyone update to 5.4.1 because of the problem with the Endermen.
@aaomidi
oh thanks aaomidi! :)
@LoulouteFlore
You can get it here: http://dev.bukkit.org/server-mods/mob-stats/files/13-mob-stats-v-5-4/
@Gamerguy14
hello, awesome thank you! do we just have to wait the approval of the bukkit staff for the 5.4 release of your plugin?
thanks! :) Lou.
The mob enderman is blaze? outward is blaze can you fix it?
@Gamerguy14
Awesome :)
@aaomidi
updated
@Gamerguy14
Any ETA on the Update? Thanks :)
@soulzjd
For Tekkit, I don't know. I have found problems caused by Mojang's renaming of minecraft server methods that have been fixed and will be released soon.
Im running a Tekkit server and was trying to get this mod to work. I have MobHeath install so I can see the mobs hp and nomatter how far from spawn i travel nothing changes.
/zone returns /[command]
Anyone know what version I need for this to work (if it works) with tekkit ?
thanks
Will there be an update?
@frenzycraft
Its because the plugins isn't updated.
Is there a way to stop the massive Ram and CPU usage that happens about 5 minutes after starting the plugin?
I like the idea but I can't really test this because of the stated problem.
@Gamerguy14
Is this going to be updated to 1.4?
Hello, really nice and useful plugin!
I have just one problem, when spawning a mob with an egg, it just disappears after a few seconds (I tested with and without MobStats)
Do you have a solution for that?
thank you a lot and keep up the good work!
@Bob2351723
Yes that is right
Just confirming that the number an equation spits out is used as a multiplier against the default stat and is not the new stats itself.
Health quadratic a=0 b=.25 c=1 zone 1
0+.25+1=1.25
1.25 * 20 default hit points of mob = 25 HP at zone 1.
@Bob2351723
By default the zones will be 16 blocks apart. The simple way to figure this out is when a is 0 is to do 1 divided by the value at b and you will have the size of each zone. Health and damage scale by taking the configured equation and then subbing the level in for x. If you have no economy, then you will still need vault but it just makes a check and moves on without money being enabled.
Can you give me a run down on the default config please?
What size are the zones? How does health and damage scale?
Also, If I don't currently use an econ program will I still need to install vault or can I disable coin drops?
Thanks in advance,
B