ThrottleMobSpawn

Mob grinders in Minecraft are player-created structures that cause a large amount of mobs to spawn in one area so that they can be killed for items and experience. These can be built using mob spawners, or just general spawning due to low light levels. This can cause lag, especially if left to build up for long periods, and is quite frankly a very easy way of getting large amounts of experience and items. If you don't want lag or don't want to make the game too easy, you can disable both kinds of mob grinders using this plugin.

It works by monitoring the number of spawns per chunk of different kinds, and capping them at a given rates, as set in its config YAML. The default cap is 16 spawns per hour. This should not affect the natural spawning rates of mobs, but it should prevent mobs from being artificially caused to spawn more often.

Full customisation is possible, including setting individual spawn rates for all known causes, changing the time interval and max spawns per cap and changing the global and individual spawn rates per world.


Features


  • Caps the spawn rate of mobs to a maximum number in a given time frame per chunk
  • Different worlds can have different rates
  • Different types of spawning can have different rates e.g. Spawner, Breeding, Natural etc
  • Rates are settable in the config file before running or in a command while running
  • Reduces or eliminates lag caused by mob grinders

Future Development


  • Rewrite to make it rule-based, where you can set up multiple rules for the same type of spawn at different intervals and amounts

View the source code or contribute to the project on Github.


Commands


Command Description
/SetMobSpawnRate [max spawns] [interval] Sets the server-wide default spawn rate to a maximum number of spawns in a time interval in whole minutes
/SetMobSpawnRate [spawn reason] [max spawns] [interval] Sets the server-wide default spawn rate for a specific spawn reason to a maximum number of spawns in a time interval in whole minutes
/SetMobSpawnRate [world] [max spawns] [interval] Sets the default spawn rate for a given world to a maximum number of spawns in a time interval in whole minutes
/SetMobSpawnRate [world] [spawn reason] [max spawns] [interval] Sets the spawn rate for a specific spawn reason within a given world to a maximum number of spawns in a time interval in whole minutes

Permissions


  • throttlemobspawn.setmobspawnrate (default op) - Allows use of the SetMobSpawnRate command

Configuration


See http://dev.bukkit.org/bukkit-plugins/throttlemobspawn/pages/configuration/


Troubleshooting


This plugin uses Java 7

If you get the followed error on starting up the server with this plugin installed "Unsupported major.minor version 51.0". This means you are using an out of date version of Java. If you don't know how to upgrade, please contact your server hosting provider and ask them for help in upgrading to Java 7, or contact Oracle customer support. Mac OS X users require JDK 7 instead of JRE 7.


Donations


If you'd like to contribute towards the continued development, support and maintenance of this project, please consider joining me on Patreon, and making a one-time or recurring pledge.


Help


If you need help you can leave a comment below and I will get back to you as soon as I can. You can also join my IRC chatroom using the following link. Please note, I am not always at my keyboard! http://webchat.esper.net/?channels=XHawk87&prompt=1


Comments

Posts Quoted:
Reply
Clear All Quotes

About This Project

Categories

Members

Recent Files