Sueta

MobCapture

1.3.4 - Alpha Build

A very user-friendly way to capture animals and mobs [Economy Support]

·Plugin

MobCapture.png

Built for Spigot v1.12.2, 1.13.2, and 1.14.

Latest 1.14 Build is in Alpha and still a WIP.

MobCapture
was written to give people a free alternative to MobCatcher(the full version). With MobCapture you are able to throw a projectile of your choice when capturing a mob. This feature also extends to Arrows if you so choose.

After your projectile hits your target, if you have the proper permissions the mob will turn into a special spawn egg. This spawn egg saves all forms of data concerning this mob (All that I could think to add).

Payment for capturing a mob can be either in the form of items or money. See the config on how to change between the two.

mobcapture.png

Configurable Unique Projectile (defaults to standard itemstacks)

Unique Projectile.png

Features:

  • Capture creature types categorically and specifically.
  • Capture with projectiles and optional melee capture.
  • Configurable capture projectile types: SNOW_BALL(SNOWBALL in 1.13+), ARROW, EGG
  • Save creature data(Potion Effects, Saddled Pig, Tamed, and much more).
  • Unique Projectile Meta.
  • Vault(soft depend) Economy support, and Item Cost support.
  • Survival-mode spawn eggs.
  • Spawn Egg item lore to describe your captured mob.
  • Disallow players to capture mobs from specific worlds.
  • Optional Coloured-Eggs.
  • Permission-based capturing.
  • Support for GriefPrevention.
  • Support for Towny (1.12).

Configuration file example:

Spoiler

# What projectile catches the creature.
Projectile Catcher: EGG
# Cost Mode: [ NONE, ITEM, VAULT ]
Cost Mode: ITEM
# When in ITEM mode, a player must have this item to catch a creature.
Cost Item: REDSTONE
Cost Amount: 1
# When in VAULT mode, a player must have at least this amount of money.
Cost Vault: 100
# In these worlds, you cannot capture or release creatures.
Disabled Worlds:
- creative_world
# Should eggs take the color of the creature they belong to?
Colored Eggs: true
# Should we hook into Towny
Towny Hook: false
# Should we hook into GriefPrevention
GriefPrevention Hook: false
# Require projectile to contain key metadata.
Require Unique: false
# With '/mobcapture spawn', a projectile will be spawned with these values (only with Require Unique enabled).
Unique Display Name: '&6Mob Catcher'
Unique Lore:
- '&3Shoot a mob with me!'

Commands:

Spoiler

' /MobCapture version ': Display the current version of the plugin.
' /MobCapture update ': Check for updates, if there is a new version available, a link to the resource will be given.
' /MobCapture reload ': Reload configuration file.
' /MobCapture regenconfig ': Regenerate and reload configuration file.
' /MobCapture spawn ': Spawn a unique mob capture projectile.

Permissions:

Spoiler

MobCapture.Admin : Performs administrative tasks regarding MobCapture.
MobCapture.Catch.* : Ability to capture all types of animals and monsters.
MobCapture.Catch.Peaceful : Ability to capture animals.
MobCapture.Catch.Hostile : Ability to capture monsters.
MobCapture.NoCost : Capture creatures without a cost.

Notice: For permission of a specific mob, use 'MobCapture.Catch.<MobName>'. For a list of all mob names, see this link .

Developer API
If you are a plugin developer and want to listen for capture/release events, see below.

Spoiler

Capture event name: CreatureCaptureEvent(Player captor, Location target)
Release event name : CreatureReleaseEvent(Player user, Location target)

Open-Source
This project is open-source. If you want to check out the GitHub repository, click here .

To-Do:

Spoiler
  • Percentage successful catch rate.
  • Throwing egg projectile wont spawn baby chicken on catch.
  • Unique Projectiles
  • Towny Compatibility (In 1.13).
  • GriefPrevention Compatibility.
  • Melee capturing.
  • CostModes NONE and BOTH
  • Use eggs on spawners
  • Configurable Egg Display Name and Lore

MobCapture only works for the version of Spigot/CraftBukkit that it was built for. See the top of the resource for the target version. As of now there is a built supporting 1.12.2 , 1.13.2 , and 1.14 .

If you have a problem with MobCapture, please say so in the discussion and not in the ratings. I will give my best to assist you. Be sure to mention the version of Spigot you are running, and as much detail about the problem as you can.

Similar projects

Plugin →