MobAge
About the plugin:
MobAge |
v2.4
tl;dr, MobAge gets rid of inactive mobs and animals, via a nifty Bukkit method... With options!
.
A summary
Have you been wanting to limit the number of mobs on your server? Have you been doing just that, but found that they all spread out and never despawn? Or maybe you just need mobs to spawn close to each player, and not just every where possible?
Well I hate selling my plugin like that, but MobAge is your plugin! :D
.
So anyways, MobAge is a plugin that is designed to remove stray mobs that are impossibru find. The plugin adds 'age' to each animal and monster on the server. If a mob is not interacted with, it gets 'older' and older until it de-spawns. The plugin also will limit the number of mobs you want on the server, allowing you to use mobs in a different way for RPG and Adventure servers.
.
Features:
- Mobs only spawn within a configurable radius around one of any online players.
- MobAge checks for old mobs every 10 server ticks by default (configurable)
- ↑ Players, tamed mobs, and EnderDragons are exempt from this. They won't despawn.
- The age limit is defined in the config by server ticks
- A Mob's age can be reset if:
- A player makes any movement within their chunk
- The mob takes any damage
- The mob is targeted, or targets something
- The mob becomes tamed
- The mob interacts with something
As soon as their age is reset though, it starts adding up again.
.
How to use:
Commands:
- /mobage - view help
- Permissions:
- mobage.*
- mobage.reload
- mobage.config
Config:
If you're having trouble testing this, or it seems like it isn't working turn the Debug option on in the config!
TIME FORMAT IS IN TICKS. 20 ticks= 1 second
How the config for MobAge works: "Age check delay": This is how often the plugin should check for 'old' mobs to kill. Be cautious with this. Small changes... "Age limit": This is limit of age (in ticks) that a mob can have. Remember that their age is reset via a number of ways "Mob limit": How many mobs are allowed. 0 means no limit "Active radius": This is the radius (in blocks) around each player that is considered "inhabited".
Download:
- http://dl.dropbox.com/u/39588938/MogAge.jarCurrent Development build
- Download page
- Original Request
.
.
_
_._._._._._acuddlyheadcrab's plugins BBChatTags MobAge ChatWarn GMforAll MCHungerGames |
_
@acuddlyheadcrab
Thanks for updating it. It is greatly appreciated. Have you considered per mob limits, or possibly dynamic limits based on player count? Thanks for the plugin.
@wesgeek
Alright I fixed it! :) Also, if the site isn't letting you download yet, because it needs to be approved, download it from here or from the "Current Development Build" link in the project page above.
@acuddlyheadcrab
Awesome, I will look forward to it.
_
@acuddlyheadcrab: Great job with this plugin! While this is doing what I needed, increasing the number of visible hostile mobs, it is not allowing pigs or snowmen to spawn. Sheep, cows, and wolves spawn fine though.
I tried spawing them with both the spawmob command from essentials and eggs. Spawning them with the spawnmob command would say one was spawned, but none would appear. For snowmen, I built several. When I built snowmen, the snow blocks and pumpkin would vanish.
I am using version 2.1 w/ white listing enabled and no mob limits. I also have disable aging on all the peaceful mobs excepting slimes and squids. I also tried adding Pigs and Snowmen entries to the white list. Other then that all my options should be the same as the defaults.
As a side note, it would be easier to verify that no one had this issue before if you used the bug tracker. Just a thought.
@acuddlyheadcrab So just to be clear. When i remove this plugin, blaze start spawning in nether. With it on, nothing spawns. I have set nether and end to Very Hard.
Have you tried to replicate this situation? is it working for you?
@genesis_aix
Strange. It may just be the whitelist not letting a certain type spawn. The End is a good place to test how this plugin works.
@acuddlyheadcrab I can confirm they work in normal worlds, but no nether. I have not tested end or custum worlds.
@genesis_aix
Oh wow, I totally overlooked that! Wait, so monster spawners work in normal worlds? Is it just in the nether? Any info helps :)
First off; Got this plugin yesterday and fell in love. Finally there are mobs where the players are and not just everywhere else.
However a critical issue arrised: It prevents monsterpawners in nether to spawn mobs.
New working version! It is deprecated, and probably still has some bugs in it, but I would like for people to help test out the new things I added. :)
@ezzzdiy
Um.... That's not exactly how I roll (do you know what I mean? It would just take some time to set up git hub).
_
But It would be very useful to have help switching over to the new event system! Once I fix all the bugs in the build i'm working on (for b1714), I will post the build here, with source inside the jar.
Thanks for the input guys! I am actually working on this, I'm just at a busy point in my life, and just now getting better at managing time and priorities. So anyway, i'm working on updating the new event system, and fixing all these tricky bugs!
_
_
On a side note...
_
If anyone wants to help fix some bugs, any help/ input would be appreciated. In fact I'm willing to even just talk about minecraft with someone because it gets me thinking about what I could add to this.
@acuddlyheadcrab Really looking forward to the next version of this plugin, good luck and keep up the good work. I really hope that in the future this will work with craftbukkit or the spout server.
I would also love to see a per player moblimit that you set maximum mobs per player. One player versus over one hundred mob is pretty difficult.
I tried this on latest RB, 1818, and no mobs were spawning at all, not even in the end which is usually full of endermans
Could you add some kind of special block in which region monsters won't be removed ?
@craftopia
Yeah it changed, plus i'm busy at the moment as well :( I'll just keep going!
Did the API change? That sucks. I have been having problems with too many mobs and no animals on my server since i stopped using this.