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 |
_
@link2110
Just kidding, it might be days late, because of the new and different bukkitAPI.
@acuddlyheadcrab
Alright! Thanks!
@link2110
A quick ETA would be like the end of the week/friday maybe. I'll try for earlier of course
@acuddlyheadcrab
One quick question, do you have an ETA for the new version?
@acuddlyheadcrab
yay! Thanks!
@link2110
Yes, the next version that i'm working on should have that feature :)
@gencode
Well I guess try reinstalling the plugin with a new version. If it still persists, try some older versions to check if it's maybe just your system doing it.
Any way to have an age whitelist as suggested before? I'd like this for hostile mobs, but not my farm mobs. All the farm animals on my server just poofed, and the players aren't too happy. I like it for the hostile mobs though!
@acuddlyheadcrab
Hmm, tried that, only added afew spaces at the start of the mobname lines but once the server was started it reverted back. From further testing it appears to only show up when a user is connected. Still appears when no mods or other plugins are installed. The plugin appears to work fine, just see's that double up of whitelist.
@gencode
That's strange. I checker the latest build source file for the config, and it doesn't have that error.
_
Try coping this whole thing into your config
Getting >
Have tried deleting the config file and starting back up. Same result. Debug shows:
Cheers.
@Joymo
Hrm... try removing the plugin (and config), and see if that works. If it doesn't turn both debug features on and PM me about the details if you want.
Hmm installed and enabled, and this basically removed any animal and monster, can't even manually spawn them anymore...using default config.
New bug-fixing version. Config update is pushed back btw
@craftopia
Oh, thanks. I'll make sure to fix that ASAP :)
When I had MobAge installed, if anyone joined my server it would SPAM the console with [SEVERE] errors.
So... i had to disable it :( But good news, i found sheep when it was running :)
@scmuon
Oh noez. Do you have any other details?
Mobage appears broken on the latest bukkit.
Next update will contain more config changes, so when it comes make sure to delete config!
Awesome! I will try it out and let you know if i have any problems :)
@CodyScheer
Okay. Considered.
@craftopia
Yeah, sorry I realized there was a huge error in my coding. It was written so that if Spawn_Whitelist was not enabled, no mobs would be allowed to spawn. I have a new version now that fixes that though :) (plus it has commands for changing the config too)