This plugin allows players to teleport mobs by using an item called MobTransporter. This item can be crafted by players, when it's new it will have 40 usages available. You just have to right-click any mob with the mob transporter and it will store the mob inside the transporter. Once they capture the mob, they can just left-click to release the mob. The way they can charge their mob transporter is by having an emerald in their inventory and shifting + right-click will charge the mob transporter by consuming the emerald.
Configurable crafting recipe.
Configurable sounds along with their volume/pitch.
Configurable particles effect.
XP and money can be enabled to recharge the mob transporter as well.
Every function/requirement of the mob transporter is configurable.
Add any world into the blacklist in order to prohibit the use of the mob transporter.
Supports WorldGuard. (Necessary Flags without being the owner: mob_spawning, interact, and use.)
Default Crafting Recipe:
Using the mob transporter:
Charging the mob transporter:
Code (Text):
Commands:
/atransporter - Administrative command that can reload the plugin's configuration and give the user a mob transporter.
Aliases: /at and /atrans
Arguments: <reload | give | get>
● reload: Reloads the configuration and messages of the plugin.
● get: Gives the player a mob transporter, you can add a second argument to set the amount of max usages that the mob transporter will have.
● give: Allows you to give a mob transporter to another player.
Code (Text):
Permissions:
mobtransporter.admincommand - Allows the usage of the admin command.
mobtransporter.admincommand.get - Allows the usage of the get option on the admin command.
mobtransporter.admincommand.give - Allows the usage of the give option on the admin command.
mobtransporter.admincommand.reload - Allows the usage of the reload option on the admin command.
mobtransporter.admincommand.* - Full access to the admin command.
mobtransporter.blacklist-bypass - Allows the usage of the mob transporter in prohibited worlds.
mobtransporter.capture - Allows player to capture mobs with the mob transporter. (Not necessary if use-permissions is disabled).
mobtransporter.place - Allows player to place mobs with the mob transporter. (Not necessary if use-permissions is disabled).
mobtransporter.mob.<mobname> - Allows the player to capture a specific mob. (Not necessary if use-permissions-per-mob is disabled).
mobtransporter.mob.* - Allows player to capture any mob. (Not necessary if use-permissions-per-mob is disabled).
Code (Text):
# ===============================
# MobTransporter - Configuration
# Plugin Version: 2.8
# ===============================
# ========== Recipe Settings ==========
recipe:
enabled: true # If true, players can craft the Mob Transporter.
top: 'ss ' # Top row of the crafting recipe. Use 's' and 'e' as placeholders.
middle: 'se '
bottom: ' s'
# ========== Transporter Settings ==========
transporter:
material: LEAD # The item material representing the transporter.
max-usages: 40 # Max usages before the transporter breaks.
particles: REDSTONE # Particle effect shown when capturing a mob.
capture:
sound: ENTITY_EVOKER_CAST_SPELL
volume: 5
pitch: 5
charge:
sound: BLOCK_GRINDSTONE_USE
volume: 5
pitch: 5
released:
sound: ENTITY_ILLUSIONER_CAST_SPELL
volume: 5
pitch: 5
# ========== Charging Settings ==========
charge:
use-item: true # If true, an item is required to charge the transporter.
item: EMERALD # Item required for charging.
item-amount: 1 # Amount of items needed per charge.
usages-amount: 1 # How many uses each charge adds.
# ========== Permissions ==========
use-permissions: false # If true, players need permission nodes to use the transporter.
use-permissions-per-mob: false # If true, players need mob-specific permission nodes.
# ========== Citizens Compatibility ==========
capture:
citizens: false # If true, allows capturing Citizens NPCs.
# ========== Experience Cost ==========
experience:
required: false # If true, XP is required for using the transporter.
amount-per-use: 40 # XP consumed per use.
# ========== Economy Cost ==========
economy:
required: false # If true, players are charged money for using it.
cost-per-use: 100 # Cost per use (requires Vault & economy plugin).
# ========== Recipe Ingredients ==========
materials:
- s:STRING
- e:ENDER_PEARL
# ========== World Restrictions ==========
worlds:
blacklist:
- myworld
- myworld_nether
- myworld_the_end
Code (Text):
# Messages for MobTransporter - v2.8
Prefix: '&7[&5Mob&bTransporter&7] '
Commands:
reload: '&7Plugin configuration and messages were reloaded.'
usage: '&7Correct usage:'
added: '&7The mob transporter was added to your inventory.'
added-others: '&7The mob transporter was added to their inventory.'
received: '&7A mob transporter was added to your inventory.'
user-only: '&7Only in-game players can use this option.'
not-enough-space: '&7You do not have enough space in your inventory.'
not-enough-space-others: '&7They do not have enough space in their inventory.'
invalid-number: '&7The argument must be a valid number.'
player-not-found: '&7Player not found.'
no-permissions: '&7You do not have permission to use this command.'
Transporter:
item:
name: '&a&lMob Transporter'
mob: '&7Mob: &b%mob%'
usages: '&7Usages: &e%usages%/%maxUsages%'
usage:
released: '&7You have released the mob.'
no-perms: '&7You do not have permission to place mobs.'
no-mob: '&7Your captured mob was not found. A use was added to your mob transporter.'
stacked: '&7You can only use one mob transporter at a time.'
charge:
success: '&7You have charged the mob transporter.'
no-items: '&7You need x%quantity% of %item% in your inventory in order to charge
the mob transporter.'
limit: '&7The mob transporter is already fully charged.'
capture:
success: '&7You have captured a &e%mob%&7.'
specific-mob: '&7You do not have permission to capture this mob.'
no-perms: '&7You do not have permissions to capture mobs.'
contains-mob: '&7This mob transporter already contains a mob.'
no-usages: '&7The mob transporter does not have any usages left.'
no-xp: '&7You need at least &e%xp% &7of xp in order to use the mob transporter.'
xp-charge: '&e%xp% &7xp were deducted for using the the mob transporter.'
no-money: '&7You need &a$%cost% &7in order to use the mob transporter.'
money-charge: '&7You have been charged &a$%cost% &7for using the mob transporter.'
no-nametag: '&7This type of mob must have a nametag in order to be captured.'
general:
prohibited-world: '&7You cannot use a mob transporter in this world.'
protected-zone: '&7You cannot use a mob transporter in this protected zone.'
mounted-mob: '&7You cannot capture mobs that are being mounted.'
citizens-npc: '&7You cannot capture a NPC.'
Server:
incompatible: Your server version is not supported by the plugin.
Mob-name:
BAT: Bat
BEE: Bee
BLAZE: Blaze
CAT: Cat
CAVE_SPIDER: Cave Spider
CHICKEN: Chicken
COD: Cod
COW: Cow
CREEPER: Creeper
DOLPHIN: Dolphin
DONKEY: Donkey
DROWNED: Drowned
ELDER_GUARDIAN: Elder Guardian
ENDER_DRAGON: Ender Dragon
ENDERMAN: Enderman
ENDERMITE: Endermite
EVOKER: Evoker
FOX: Fox
GHAST: Ghast
GIANT: Giant
GUARDIAN: Guardian
HORSE: Horse
HUSK: Husk
ILLUSIONER: Illusioner
IRON_GOLEM: Iron Golem
LLAMA: Llama
MAGMA_CUBE: Magma Cube
MULE: Mule
MUSHROOM_COW: Mushroom Cow
MOOSHROOM: Mooshroom Cow
NONE: None
OCELOT: Ocelot
PANDA: Panda
PARROT: Parrot
PHANTOM: Phantom
PIG: Pig
PIG_ZOMBIE: Zombie Pigman
ZOMBIFIED_PIGLIN: Zombified Piglin
PILLAGER: Pillager
POLAR_BEAR: Polar Bear
PUFFERFISH: Puffer Fish
RABBIT: Rabbit
RAVAGER: Ravager
SALMON: Salmon
SHEEP: Sheep
SHULKER: Shulker
SILVERFISH: Silverfish
SKELETON: Skeleton
SKELETON_HORSE: Skeleton Horse
SLIME: Slime
SNOWMAN: Snow Golem
SPIDER: Spider
SQUID: Squid
STRAY: Stray
TRADER_LLAMA: Trader Llama
TROPICAL_FISH: Tropical Fish
TURTLE: Turtle
UNKNOWN: Unknown
VEX: Vex
VILLAGER: Villager
VINDICATOR: Vindicator
WANDERING_TRADER: Wandering Trader
WITCH: Witch
WITHER: Wither
WITHER_SKELETON: Wither Skeleton
WOLF: Wolf
ZOMBIE: Zombie
ZOMBIE_HORSE: Zombie Horse
ZOMBIE_VILLAGER: Zombie Villager
PIGLIN: Piglin
PIGLIN_BRUTE: Piglin Brute
HOGLIN: Hoglin
ZOGLIN: Zoglin
STRIDER: Strider
AXOLOTL: Axolotl
GOAT: Goat
GLOW_SQUID: Glowing Squid
WARDEN: Warden
ALLAY: Allay
FROG: Frog
TADPOLE: Tadpole
SNIFER: Snifer
CAMEL: Camel
BREEZE: Breeze
BOGGED: Bogged
ARMADILLO: Armadillo
MC.OROTHEA.COM
Mgu.one
If you use this plugin and want your server to be showcased here, send me a private message.
WorldGuard support (v1.3)
Configurable sounds and particles. (v1.3)
Citizens support (v1.2)
Residence support. (v1.1)
Create a GUI to change settings in-game.
Any kind of suggestions/feedback is appreciated. Thank you.