Плагины/MinecartCollisions
MinecartCollisions

MinecartCollisions

Automatically moves mobs out of the way of minecarts

175
1

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.

Screenshot showing teleported creeper with debug message enabled 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 set minecartcollisions.exempt to false 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

Совместимость

Minecraft: Java Edition

1.20–1.21.101.18–1.19.41.16–1.17.11.14–1.15.21.12–1.13.2

Платформы

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:GPL-3.0-only
Опубликован:1 год назад
Обновлён:1 год назад
Главная