LimitSpawns
Limit Spawns
Description
Created for Moti12321, This plugin limits the amount of animals that can spawn in a given radius. Once the spawn limit has been reached within the given radius, no matter the spawn reason, the new entity that would have been spawned will be removed. Everything is configurable via the Config.
Installation Information
The first time you start up the server with this plugin installed in the \plugins folder, the plugin will create a config file. Naturally, the radius is 50 blocks in every direction (totaling up to 101 blocks) and the amount of animals per radius is 25. If you wish to change the radius or the max amount of animals per radius, you can edit the values via the config. I have clearly labeled each path to make it as user friendly as possible. To exclude limitations to certain creature types, set the limit to a negative number (e.g. -1), which will let the plugin know to skip.
ChangeLog
1.2:
- Added more Neutural Mob Support
- Added Hostile Mob Support
- Added Nether-Mob Support
- Added Ender- Mob Support
- Added Wither Support
- Clean up code
- If there is a mob not supported by the plugin, It will no longer delete the mob (happened on rare occasions)
1.1:
- Fixed config not loading.
- Added /LimitSpawns reload to reload the config. Can be accessed by player and console.
1.0: Just released.
Updates
I am still open to suggestions, so if you want me to include other entities to the list, post in the comments which mob I should add next.
I am planning on adding hostile mob control, variant Entity control such as skeleton horses and donkeys, and an in-game Menu for adjusting the config values.
I should be updating this once a week until it is complete.
-
View User Profile
-
Send Message
Posted Jun 26, 2019Hi Zombie, would it be possible to update this so the config can be generated?
Thanks!!!!
-
View User Profile
-
Send Message
Posted May 31, 2019Hello Zombie! Config is not being created for any reason, can you let me know the default config so I can manually paste it and see if it works?
Thanks!!!
-
View User Profile
-
Send Message
Posted Mar 18, 2019Hello
Does this plugin remove all the entities or just the Vanilla ones please ?
-
View User Profile
-
Send Message
Posted Jan 18, 2018Is the radius a set point or does it work off of players. Also will this work this spigot.
-
View User Profile
-
Send Message
Posted Apr 2, 2018In reply to Nasukage:
-
View User Profile
-
Send Message
Posted Dec 5, 2017Good plugin! What does "ShouldReload" do?
Thanks!
-
View User Profile
-
Send Message
Posted Jan 1, 2018In reply to resoluciones:
-
View User Profile
-
Send Message
Posted Jan 9, 2018Thank you ZombieStryker.
Do you think it would be possible that your plugin also control the max number of Faction Mobs. For your info they are like NPCs (base entities: skeletons, polar bears, iron golems and witches) and their names are "Name of the Faction" swordsman, "Name of the Faction" archer, "name of the faction" SpiritBear, "name of the faction" mage and "name of the faction" mage.
Let me know!
Thanks!
-
View User Profile
-
Send Message
Posted Jan 9, 2018In reply to resoluciones:
-
View User Profile
-
Send Message
Posted Jan 9, 2018In reply to ZombieStryker:
-
View User Profile
-
Send Message
Posted Jan 9, 2018In reply to ZombieStryker:
-
View User Profile
-
Send Message
Posted Apr 23, 2015@Moti12321
It should be done by the end of today. Check back in a day to download it.
-
View User Profile
-
Send Message
Posted Apr 22, 2015If you can add me any hostile mob, it would be fantastic. You are amazing!
-
View User Profile
-
Send Message
Posted Apr 19, 2015You are amazing! Thanks alot!! If you could just add a specific reload command.. And fix the empty config problem it would be awesome
-
View User Profile
-
Send Message
Posted Apr 19, 2015The config file is empty when first loading the plugin.