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
Hm, I'm not great at naming things but:
DynamicMobs, MobDifficultyManager, MobScaling, MobZones...
I think you should name it since it's your great work, but while MobStats sounds good it doesn't convey what this plugin accomplishes which is the ability to procedural control your mobs difficulty/rewards by where they spawn.
Edit: and thanks again, I was becoming afraid I'd have to program this myself to put it on my server.
Are there any ideas for a better name for the plugin?
@xXFuZioN360Xx
I had finished the 1.4.7 update right when 1.5 came out, and was going to wait for 1.5 bukkit but since there is demand, I submitted it.
@BobbySoSlo
I am not actually positive why I chose the name, I think it comes from the way the request was worded.
I will update to 1.5 as soon as there is a bukkit beta for it.
Exactly what @bobbySoSlo said great plugin. but can you make it 1.4.7 Update i really need this please
This is exactly what I've been looking for for quite a while now!
Just my humble opinion, but the name Mob-Stats is pretty misleading, I had assumed this mod had to do with looking at stats, not changing mob characteristics.
Thank you so much looking forward to adding this after I update to 1.5
Mobstats 5.4.2. Spigot 1.4.6 R0.3
http://privatepaste.com/018cc6c343
Are you working on an update to make it 1.4.7 compatible? This is what I get when i try it with 1.4.7 r0.1
2013-02-06 14:08:33 [SEVERE] Could not load 'plugins/MobStats.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_6/World at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:184) at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:305) at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:230) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugins(CraftServer.java:239) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.<init>(CraftServer.java:217) at net.minecraft.server.v1_4_R1.PlayerList.<init>(PlayerList.java:52) at net.minecraft.server.v1_4_R1.DedicatedPlayerList.<init>(SourceFile:11) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:104) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NoClassDefFoundError: net/minecraft/server/v1_4_6/World at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:266) at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:173) ... 9 more Caused by: java.lang.ClassNotFoundException: net.minecraft.server.v1_4_6.World at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:70) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 12 more
whenever i try to use a command it just send me the message "/[command]"
@icheepz
That is caused because in the config for an example I put an equipment set that had tnt as the type of arrow. This only works though if ArrowPro is used, if you do not want ArrowPro, you have to change that section.
Hi, I have CB 1.4.6 R3 and I have the latest mobstats v.5.4.2 and I'm getting an error asking if its up to date. Is this a problem on your end or mine?
Pastie: http://pastie.org/5674172
@xclucky
The update is waiting approval at the moment. You can download it by clicking on files and downloading the up to date one.
What as a estimated release date for newest update? :)
@DerPragmat
The error is from changes that minecraft has made. I will fix in the next update.
How is the update coming along? I can't wait to use this on 1.4.6!
@Gamerguy14
Yea, I guess it's unnecessary. Just wanted to report the error in :) Your plugin is great - love it!
I've got a question though. Do you know what causes the "Mobstats Error h" Error? It kept spaming my console. Cant make out what causes it. Rewrote my config, and replaced the .jar. Error keeps popping up.
@DerPragmat
The problem isn't the plugin's fault, it is because of how the config file is read by bukkit. Drops and equipment are in there own sections, there is no section before it to rope it off and away from everything else. I could make the change but it complicates the config.
@Aibakins
I will be updating just haven't found the time yet.
I found a bug with your plugins config.
It appears the plugin cant cope with an Equipment class and a Drop class with the same string. It is easily replicable. For more information (or an example), see my thread over at bukkit forums. http://forums.bukkit.org/threads/mobstats-config-cant-find-yaml-formating-error.118805/
Steps to replicate:
1. Configure a Drop Class with name x
2. Add at least one item (datavalue, amount)
3. Configure an Equipment class with name x
4. Add at least one item (datavalue, amount, Position)
3. Start server
The error you will get is a "Java.lang.Numberformatexception" pointing towards " Position". (Space + Position of defined equipment class Item.)
@Gamerguy14 please update my server will not load your plugin for some reason. Using Craftbukkit 1.4.6 R0.1