MobCatcher
MobCatcher
Capture mobs and get eggs legitimately:
Version: 3.18
This project has moved over to SpigotMC!
Thank you guys so much for all the downloads on BukkitDev. Head on over to SpigotMC to download the latest version of MobCatcher.
This page will no longer be updated.
MobCatcher allows players to capture mobs and get the corresponding spawn eggs. This is useful for trading and transporting mobs from player to player or even across worlds. As well as having a configurable capture item, MobCatcher also boasts configurable mob types and item costs per capture, bringing a new economic value to mob types both peaceful and hostile. MobCatcher is able to store and recall mob specific data saved to specific spawn eggs. This means things like capturing and spawning colored sheep, baby animals, and tamed wolves is possible! This is done via a separate .dat file which saves data for each mob and removes it when that mob is spawned.Try it out on your server today!
This plugin collects basic usage information for mcstats.org. You may opt out in the generated pluginMetrics config file.
Features
- Capturing configurable mob types
- Saves mob data to specific spawn eggs (color, age, tamed, etc.)
- Spout custom spawn eggs
- Spout textures via automatic dropbox download. May be disabled in config file
- Respects Towny regions
- Getting spawn eggs without creative mode
- Makes spawn eggs throwable
- Configurable capture item, including projectiles
- Configurable costs for every mob type
- Sign-based mob protection
- Vault Economy support!
- Percent Chance for captures
- Eggs are used up after spawning a mob
- Dispensers can shoot spawn eggs at higher speeds
- Doesn't interfere with players in Creative Mode
Help Pages
Permissions Nodes
Config File Help
Sign-Based Protection Help
Bukkit Forums
Usage
All you have to do is hold an egg (configurable) and left click on the mob you wish to capture. Its really that easy.
/mobc - Displays all command usage
/mobc item - Displays Capture item setting
/mobc clean - Removes data from a spawn egg itemstack.
/mobc projectiles - Displays current projectile settings
/mobc settings [mob type] - Displays settings
/mobc worlds - Displays which worlds MobCatcher is enabled in
/mobc area - displays how many Protection Signs the player is within the radius of
/mobc resetsigndata - Deletes all saved sign data
For help with the config file and permissions nodes, see the corresponding pages here.
Changelog
Version 3.18
- Updated for 1.7.10-R0.1 #3105
- Fixed bug: MustBeKilled now working properly
- Fixed bug: Mob drops are now properly cancelled for killed captures
- Fixed bug: Mobs captured with MustBeKilled now spawn back with full health
Version 3.17
- Updated for 1.7.9-R0.1 #3078
Version 3.16
- Updated for 1.7.5-R0.1 Dev #3039
For earlier changes, see Files Page
MobCatcher will NOT work if you are not using the version of CB it was intended for. Due to the Bukkit "safeguard' system, MobCatcher will break every version change. Do NOT post tickets or comments about ClassNotFoundExceptions or infinite spawning glitches as these are caused by you using the wrong version.
Before posting a bug, check your server console for a giant red error message.
Top Supporters
TheFarmerNL
Minevival.com
xxTreePuncherxx
MC.PUNCHCRAFT.US
-
View User Profile
-
Send Message
Posted May 24, 2012@arcvvolf
wow... lol. No, no one's said anything. Ha
Thanks.
-
View User Profile
-
Send Message
Posted May 24, 2012@Malikk65 Sliverfish: Enabled: true
Instead of silverfish that is in the advanced config O_o . Sounds painful, I hate getting a sliver. Ouch. lol
Has that been brought up before?
-
View User Profile
-
Send Message
Posted May 23, 2012@octagami
You're welcome : )
And thanks for the udpate
-
View User Profile
-
Send Message
Posted May 23, 2012@Malikk65
Just wanted to report back and let you know I've been running 2.13.2 for a couple of days now. It's working great, no problems at all.
Thanks again for the update.
-
View User Profile
-
Send Message
Posted May 21, 2012@Luwiego
Does it still do that if you take mobCatcher off your server? Because if it has to do with a specific CB build, it might be Bukkit's bug, rather than mine.
Someone else had mentioned this, but I've been unable to find any issues.
-
View User Profile
-
Send Message
Posted May 21, 2012Theres a strange bug with MobCatcher 2.12.1 and the new CB beta. MOst of the mobs dont spawn after the eggs are thrown. The eggs just float on the ground can`t be picked, and dont spawn mobs.
-
View User Profile
-
Send Message
Posted May 20, 2012@Jerry2215
I've not ever experienced that. But it's likely a bug with bukkit, rather than MobCatcher, unless some API has changed that I'm not aware of.
Regardless, make a ticket, post the complete error, and I'll see what i can do for you.
-
View User Profile
-
Send Message
Posted May 20, 2012Hi!
I really like this plugin :). However, we have a problem. A few of the cought mobs that we have thrown, are glitched. They just stand there and you can't interact with them. They won't die or respond to anything. Complete server restarts don't even help. Since they appeared, we are also experiencing 'Unexpected exception' errors involving npc.sheep and npc.pig errors. We think it has to do with the glitched mobs. Any help is greatly appreciated!
Thanks, - Jerry
-
View User Profile
-
Send Message
Posted May 19, 2012Version 2.13.2 is uploaded. I downloaded signCopy to test this and I can definitively say that it is, in fact, now fixed.
-
View User Profile
-
Send Message
Posted May 19, 2012Very cool idea; I'll have to try this out!
-
View User Profile
-
Send Message
Posted May 19, 2012@Malikk65 Still having errors with the update. Made ticket.
-
View User Profile
-
Send Message
Posted May 18, 2012@octagami
No, Monitor can be used by any number of plugins. Basically, Highest priority get the event last and can still cancel it, while Monitor gets it after that, but can't cancel it.
I had, of course, attempted to cancel it, lol. That's what happens when you edit something you haven't looked at in forever. I checked the method I was on to see if I had any code that might cancel the event and didn't find any, but I did try to cancel it a little further down the line.
So anyways, this is fixed and uploaded. Thanks for the report : )
-
View User Profile
-
Send Message
Posted May 18, 2012@Malikk65
I've been running MobCatcher2.12.1 with Jobs 2.8.3 for a couple of weeks now with no problems. It was only when I upgraded to 2.13 that the exceptions started appearing.
I did run both plugins together on a stripped down local server, and saw the exact same exceptions as soon as I logged in and started hitting blocks. So it is very reproducible at least.
Could it be because both MobCatcher and Jobs have an event handler for PlayerInteractEvent with Monitor priority? I don't claim to understand priorities well, but iirc, Monitor is supposed to catch the event after it is completely resolved. Can more than one plugin set Monitor priority?
-
View User Profile
-
Send Message
Posted May 18, 2012@octagami
hm...
There's really no reason why my work around would do this. Basically, the bukkit issue is that playerInteract is always cancelled if the player clicked air, rather than a block. All I've done is added a second playerInteract event handler to mobcatcher. The first one is LOWEST priority, so it always catches the event first and sets it's setCancelled to false. Then I have a second event handler, which is set to monitor, where I actually have my code.
All this does is make sure the event isn't cancelled by that bukkit bug, waits for other plugins to have a chance to cancel it, and then goes about it's normal business. There's no reason that I can think of that would cause a null pointer in another plugin, all I've changed is the events cancellation status, and only back to the way it should be.
To me, this just looks like a jobs error. Does it still happen if you run Jobs without MobCatcher? That would tell me for sure, i guess, even tho I still can't make any sense of it.
-
View User Profile
-
Send Message
Posted May 18, 2012@Malikk65
First off, thanks for adding those permissions.
I hate to be the bearer of bad news, but I think the workaround you put in place for the player interact event is interacting badly with other plugins, specifically Jobs in my case:
This is with MobCatcher 2.13 and Jobs 2.8.3 (the latest). I dug around on github for a while and found the offending bit of Jobs code in JobsPaymentListener.java line 304, which is the furnace check in this function:
The exception stack trace is printed every time a player interacts with a block.. so with 10 players on it blew up my server pretty quickly. Bukkit threw "[SEVERE] java.lang.OutOfMemoryError: PermGen space" and shut down.
-
View User Profile
-
Send Message
Posted May 16, 2012@Malikk65
Nvm, I found the issue. It's just a bug of bukkits, not mine : ) and now i've got a lovely work around in place.
The next release is lookin good, but I'd like to add something else other than just the remaining peaceful permissions nodes. any thoughts?
Open to anyone.
-
View User Profile
-
Send Message
Posted May 15, 2012Hey,
Is anybody having issues with throwing eggs? While testing the next version on my dev server it stopped working for me. It seems like the player interact event isn't working for clicks on air 'blocks'. If as many people as possible could tell me if its working for them, that would be really awesome.
-
View User Profile
-
Send Message
Posted May 10, 2012It should follow basic event cancellation. It your protection plugin stops players from damaging animals, they won't be able to be captured.
I will be adding region support soon tho, through another plugin of mine.
-
View User Profile
-
Send Message
Posted May 10, 2012possibility to add worldGuard protection against catching animals instead of sings?
-
View User Profile
-
Send Message
Posted May 9, 2012@Malikk65
heh, thx :D