MinecartCollisions 2.02

Automatically moves mobs out of the way of minecarts

  1. Bobcat00
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.12
    • 1.13
    • 1.14
    • 1.15
    Source Code:
    https://github.com/Bobcat00/MinecartCollisions
    Description

    MinecartCollisions allows players to ride in minecarts without being stopped by monsters, animals, villagers, or abandoned minecarts on the tracks. No configuration is required. Just drop it in your plugins folder and restart your server. Then enjoy riding on your minecart system!

    This plugin works with CraftBukkit/Spigot 1.12.2, 1.13.2 and beyond. For older versions of CraftBukkit/Spigot, see the version on the Bukkit site.

    Details

    If a player is riding in a minecart and encounters a monster, animal, or non-player entity (like a villager), and the mob is not in its own minecart, the mob will be teleported out of the way, and the player's minecart will continue unimpeded. The teleport may move the mob inside a block, so it may die as a result.

    If the player encounters an empty minecart, the minecart will be removed.

    Note that other players standing on the tracks or mobs riding in their own minecarts will not be affected.

    MinecartCollisions800.png
    Screenshot showing teleported creeper with debug message enabled.

    Permissions

    This plugin will work as described above without having to grant any special permissions. You can fine-tune the plugin with the following optional permissions:

    minecartcollisions.exempt - Give this permission to a player if you want to disable the plugin for that player and have the vanilla behavior. You could use this to enable the plugin for only some ranks.

    minecartcollisions.debug - Prints a debug message to the player's chat when a mob is teleported or a minecart is removed. Normally only an administrator would want this permission.

    Note that if you give yourself the '*' permission, you will need to negate minecartcollisions.exempt for this plugin to work for you.

    Commands/Configuration

    None.

    Miscellaneous

    This plugin uses the bStats metrics system to provide anonymous usage data. You may opt-out globally by changing plugins/bStats/config.yml. The metrics are available at https://bstats.org/plugin/bukkit/MinecartCollisions
    n0nnie likes this.

Recent Reviews

  1. oakina
    oakina
    5/5,
    Version: 2.02
    works on 1.15.2 for me, thank you for the plugin bobcat00!
    very easy to set-up !