Inactive [MECH] MobStats v.5.4.2 - Change the strength of mobs [1.4.6-R0.3]

Discussion in 'Inactive/Unsupported Plugins' started by gamerguy14, Oct 1, 2011.

  1. Offline

    gamerguy14

    [​IMG]
    version: 5.4.2

    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 max and min 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). Type 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.

    Download: MobStats.jar
    Source: MobStatsSource
    ArrowPro: Forums, BukkitDev

    Changelog
    v.5.4.2
    - fixed problem where mobs wouldn't spawn from eggs.
    - removed the mandatory use of Vault.
    - added support for build 1.4.6-R0.3

    v.5.4.1
    - fixed problem where Endermen were replaced with Blazes.

    v.5.4
    - added custom mob equipment to the plugin.
    - changed the way mob names are displayed.
    - added support for build 1.4.5-R0.2

    Show Spoiler
    v.5.3
    - added maximums and minimums to equations.
    - added ability to customize the arrows that skeletons shoot.
    - removed level cap.
    - added support for build 1.3.2-R2.0

    v.5.2
    - added Kill Messages
    - added Death Messages
    - added command to make the plugin check all entities and replace them if it has to.
    - removed delay
    - edited what objects are used for mobs making the game run almost like it's vanilla minecraft with this plugin and increasing compatibility.
    - fixed bug where mobs would disappear before the death animation could finish.
    - added support for build 1.3.2-R0.1

    v.5.1
    - added serialization of stats.
    - added level cap
    - added delay between hits
    - fixed bug where mobs disappear when landing hits too quickly.
    - added support for build 1.3.1-R2.0

    v.5.0
    - added QWD equations
    - added QMD equations
    - added Exponential equations
    - added EWD equations
    - added EMD equations
    - added support for build 1.2.5-R3.0

    v.4.2
    - added support for giving money for killing a mob

    v.4.1.2
    - fixed bug ruining pvp attacks and entity on entity attacks

    v.4.1.1
    - fixed bug where health wasn't changing

    v.4.1
    - added custom drops

    v.4.0
    - changed config
    - added custom equations
    - added custom exp drops
    - fixed mobs not reacting to being hit
    - added support for build 1.2.5-R2.0

    v.3.0.1:
    - fixed config creation bug

    v.3.0
    - added the ability to change the origin
    - added the ability to have multiple origins
    - added the ability to configure all messages
    - added the ability to turn off messages
    - changed the way health is handled
    - removed level 0 and made level 1 bigger.
    - removed the ability to send ops and the console messages about players changing zones
    - some minor bug fixes
    - added support for build 1597

    v.2.0
    - added configuration file
    - added the configurable ability to message ops when players change zones
    - added the configurable ability to log to the console when a player changes zones.
    - made message configurable
    - made the size of each zone configurable

    v.1.1.2
    - added support for build 1337

    v.1.1.1
    - added support for build 1317

    v.1.1
    - added support for build 1240

    v.1.0
    - The first release of the plugin.
     
    nhoclesnar likes this.
  2. Offline

    gamerguy14

    I have been working on the plugin and as I worked on it, I saw just how poorly done it was. I am going to delete all the old code and replace it with all new code that will work better.

    There will be an update soon but it could take some time.
     
  3. Offline

    Sich

    good news, give us some news if you advance :)
     
  4. Offline

    Sich

    Hum, a small suggestion.

    Could you add one option, to make that the first zone (level 1) is the normal difficulty ?
    And the mob strenght increase when you go in other zone.

    Because for the moment, the mobs are very very very weak near the spawn.

    Thanks :)
     
  5. Offline

    gamerguy14

    I plan on implementing a custom equation for zone strength so you will be able to set the minimum value like that.
     
  6. Offline

    chubbz

    wait can you make it that it can use regions or something aswell
     
  7. Offline

    gamerguy14

    What do you mean? Can you explain a little more please?
     
  8. Offline

    chubbz

    so you set the difficulty of the mobs using regions or worldedit or whatever other plugin can set regions
     
  9. Offline

    ImKharn

    I have 2 feature requests.

    Increase the loot proportionally to the difficulty of the monster. (keeping in mind that double the HP plus double the Damage = Four times as hard)

    Bonus EXP proportional to the difficulty of the monster preferably with an editable modifier for each monster type in the CFG file and an on screen message - "You have gained x bonus exp"
     
  10. Offline

    MisterGrimm

    Would it be possible for someone to pick this up and continue it and possibly hook it into Heroes for modified exp? I'd love to have something like this on my server where harder mobs give more exp further from spawn.
     
  11. Offline

    gamerguy14

    I have been working on all this. I have completely restarted on the code and when it is done, it will be much better than it was before.
     
  12. Offline

    MisterGrimm

    Ah, awesome. I wasn't sure if it was still active since the thread had been dead for a month or two. And yeah, if you could hook into Heroes for exp bonuses based on the difficulty, that would just be excellent. I dont suppose you'd be tempted into revealing what ideas you have for making it "much better than it was before"? :p
     
  13. Offline

    gamerguy14

    To start, I am a much better programmer now than I was in October when I made the plugin so I found that the plugin was poorly done and will follow coding conventions better.

    I will also be including the following improvements:
    • Configure equations for the size of zones, damage, health, and exp.
    • Not all mobs will be affected by the plugin. Only the ones that are listed in the config file will be used.
    The configurable drops will be implemented either in this version or the next one.
    I am still open to other ideas though if anyone has any requests.
     
  14. Offline

    8_year_old

    Have you figured out what was going on when I posted this?
     
  15. Offline

    gamerguy14

    This all seems to be expected results, except for the fire thing but that could be bukkit's fault. The plugin has no effect on Player vs. Player attacks.
     
  16. Offline

    8_year_old

    This is good to know, thank you.
     
  17. Offline

    Sich

    oh, can we expect some update ? :)
     
  18. Offline

    S.L.P.Major

    Any idea if this still works?
     
  19. Offline

    Sich

    I am always waiting for a new release...
     
  20. Is the mod still active? :O Please update it to 1.2.5 if so :| Thank you, your mod sounds awesome and I want it so bad :(
     
  21. Offline

    gamerguy14

    Joyeuse Journée Nationale des Patriotes!
    Happy Victoria Day!

    I am pleased to announce that today MobStats version 4.0 will be released! Expect to see it this afternoon.
    Here is a list of its features:
    • Custom equations for modding mobs.
    • Custom exp drops.
    • Custom list of mobs that are affected by the plugin.
    • It is fully functional with the current build.

    4.0 is officially out!

    I will release 4.1 soon with configurable drops.

    I also fixed the mobs not reacting to being hit.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  22. Offline

    nhoclesnar

    I want to thank you a thousand time. I have been looking for something this awesome for sooo long. This plugin makes my day man. It is just too awesome.
     
  23. Offline

    nhoclesnar

    gamerguy, the change mob health feature doesn't work. I use the latest recommend build of CB and the mobs' health doesn't change. No error log was generated.
     
  24. Offline

    gamerguy14

    Can you post your config please?

    I found the problem that you have and it will be fixed in the next update (v.4.1) which will also include configurable drops.

    Upadted!

    Fixed a bug and implemented the feature that has been requested for so long, Configurable Drops!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  25. Offline

    nhoclesnar

    Yay awesome. Good work gamerguy :D
     
  26. Offline

    ShoTro

    Love this mod, but I was hoping this mod would change the mobs according to a multiplier against their default health, damage, exp... So instead of all mobs having the same attributes, they would very according to their base stats.

    Example: I have a quadratic that is a: 0, b: 1, and c: 5... all mobs start at 5 then increase by 1 per zone.

    Instead I was hoping for something more like:
    a: 0, b: 0.15, c: 0.5

    Where all creatures would start at half their default health at level 0 then increase by 15% of their max stat per zone... or have the configuration handle the default stats as part of the effected mobs as in creeper:20,5,1 for creepers whose default stats are 20 health, 5 damage and 1 experience.

    Otherwise this mod basically fixed one of my biggest issues on my server... rapid expansion.

    The only other thing I might suggest is also applying economy support through vault to this mod and make that an optional 4th stat.
     
  27. Offline

    gamerguy14

    I have a thought for this. What if I make it so that when you put in your values, you van also add values that multiply or add by their default stats. How does that sound. I also like your idea for the economy, I will get on that.
     
  28. Offline

    nhoclesnar

    If you want to prevent rapid expansion, you can use WorldBorder or BorderGuard.

    gamerguy, can you please take a look at my post on dev page. I'm not sure why it is happening. Thanks.

    Edit: Nvm I created a new world and the problem is solved. It works great now :D
     
  29. Offline

    gamerguy14

    The problem was actually caused by a bug in the plugin from when mobs have too much health but it is fixed in the new version.

    New Update! Must download it because it contains an important bug fix that fixes the functioning of the plugin.

    I updated the plugin because I had made a small error in the code and fixed it.

    Updated to give money for killing mobs. The plugin now requires Vault.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 20, 2016
  30. Offline

    ShoTro

    Awesome! Thanks for implementing my suggestion! I am going to get familiar with the code this weekend. If I have any other ideas or can contribute I will let you know.
     
  31. Offline

    gamerguy14

    I just updated the source. The source that was there was a few versions old.
     

Share This Page