CoreEngineWIKI
ESC
NavigateEnter OpenESC Close

Mob Teleport

Leashed and tamed animals automatically travel along on every player teleport, whether triggered via Home, Warp, TPA, Spawn, RTP or another plugin.

Commands #

CommandSyntaxPermissionDefaultDescription
/mobteleport toggle/mobteleport toggle (alias /mobtp, /mtp)mobteleport.usetrueToggle for yourself (persists across restarts)
/mobteleport reload/mobteleport reloadmobteleport.adminfalseReload the configuration

Additional permissions #

PermissionDefaultDescription
mobteleport.leashedtrueLeashed animals travel along
mobteleport.petstrueTamed pets travel along (sitting ones deliberately stay)
mobteleport.bypass.entityfilterfalseIgnores the type filter
mobteleport.bypass.worldgroupfalseIgnores the world group restriction
mobteleport.bypass.regionprotectionfalseIgnores region protection at the destination
💡

Tip: Use world-groups to bundle an overworld with its nether: animals travel within the group but stay behind for jumps into foreign worlds. For every animal left behind the player gets a message with the reason.

Configuration (modules/mobteleport.yml) #

YAML
# Enables or disables the mob teleport module.
enabled: true

mobteleport:
  # Secondary switch for the travel-along behavior.
  enabled: true
  # Search radius around the player in blocks (1 to 100). Teleports under
  # 1 block distance are ignored.
  scan-radius: 10.0
  # Ticks until a released leash is reattached after the teleport.
  # The lead item never drops.
  leash-reattach-delay: 2
  # Seconds of temporary invulnerability after the teleport (0 to 30).
  invulnerability-duration: 5.0
  entity-filter:
    # blacklist = all except the listed types travel along.
    # whitelist = only listed types travel along.
    mode: blacklist
    # Bukkit entity types, e.g. ["WOLF", "CAT", "HORSE"]
    types: []
  # Animals are not teleported into WorldGuard regions or
  # GriefPrevention claims.
  region-protection: true
  # Worlds in the same group allow traveling between each other.
  # Worlds without a group count as their own group.
  # world-groups:
  #   survival:
  #     - world
  #     - world_nether

Complete example config #

YAML
enabled: true

mobteleport:
  enabled: true
  scan-radius: 15.0
  leash-reattach-delay: 2
  invulnerability-duration: 10.0
  entity-filter:
    mode: whitelist
    types:
      - WOLF
      - CAT
      - HORSE
      - DONKEY
  region-protection: true
  world-groups:
    survival:
      - world
      - world_nether