LeashedMobsTeleport
Teleport leashed entities across dimensions and allow leashing any type
Changelog v1.7 - Security & Persistence Update
[Added]
│➜
Wand DNA Tracker: New persistent metadata (`wandLeashKey`)
│➜ to identify mobs leashed with the Enchanted Lead.
│➜
Territory Notifications: Real-time chat alerts when entering/leaving
│➜ claims or when Trust status is changed.
│➜
Unleash Protection: New logic that blocks players from releasing
│➜ leashed mobs inside protected areas without trust.
[Fixed]
│➜
Leash Dupe Bug: Fixed the issue where the Enchanted Wand
│➜ would drop a standard Lead item upon releasing a mob.
│➜
GP/WG Bypass: Resolved the bug where players could leash or tie
│➜ entities to fences in protected territories.
│➜
AI Restoration Bug: Fixed the issue where mobs would remain with
│➜ AI disabled even after being legally released in foreign claims.
│➜
Persistence Loss: Fixed the bug that caused mobs to be unleashed
│➜ and their AI restored automatically after a server restart.
[Improved]
│➜
GriefPrevention Logic: Switched to UUID-based
│➜ `checkPermission` for more reliable trust verification.
│➜
Fence Security: Enhanced distance checks and ownership
│➜ validation for tying/untying mobs from hitch posts.
│➜
Code Optimization: Refactored for Java 21 and Paper 1.21.1 with
│➜ maximized performance for high-entity environments.
Note: A full server restart is recommended to apply these persistent DNA optimizations to all active entities.
Last Update: 1.6
│➜ of mob with advanced persistent protection.
Main Features
│➜
Leash Any Mob: Allows the use of leads on monsters (Creeper,
│➜ Zombie, etc.), Slimes, Ghasts, and Villagers.
│➜
Dimensional Teleport: Leashed mobs follow the player through
│➜ portals (Nether/End) and teleport commands (`/tp`).
│➜
Mount Support: Vehicles (horses, pigs, etc.) teleport along with the
│➜ player and keep the passenger mounted at the destination.
│➜
Pacify System: Leashed mobs become invulnerable, stop burning
│➜ in the sun, and have their AI disabled while on the lead.
│➜ Lead Anti-Dupe: Automatic cleanup of dropped leads during
│➜ teleportation to prevent item duplication.
│➜
Persistent DNA (PDC): Protections (AI-lock, invulnerability) are
│➜ saved in the mob's NBT. Protection survives restarts and chunk
│➜ unloads.
│➜
Protection Integration: Fully respects
WorldGuard regions and
│➜
GriefPrevention claims (requires Trust/Interaction permission).
Commands
│➜
lmt reload Reloads the configurations and the messages file.
│➜
lmt toggle Enables or disables teleport messages for the player.
│➜
lmt wand Gives the Enchanted Lead to the player (soul-bound item)
Permissions
│➜
leashedmobsteleport.use Basic permission to use the lead,
│➜ teleport mobs, and get the
LMT Wand.
│➜
leashedmobsteleport.admin Permission to reload the plugin.
│➜
lmt.leash. Specific permission per mob (e.g.,
lmt.leash.villager), enabled via config.
Important Notice
│➜
WorldGuard: For the plugin to function correctly in Spawn or
│➜ administrative regions, the `
interact` and `
use` flags must be
│➜ set to `
allow`. Otherwise, the lead will be blocked silently or by
│➜ the WorldGuard's native message.
│➜
Persistence: Mobs marked with LMT DNA will remain pacified
│➜ and invulnerable until they are manually unleashed by their owner.