Перейти к содержимому
Mineforgian

MinecartCollisions

Automatically moves mobs out of the way of minecarts

Загрузки
309
Подписчики
3
Обновлён
21 июня 2024 г.
Лицензия
GPL-3.0-only

Опубликован 21 июня 2024 г.

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

Ченджлог

2.03Релиз26.1, 26.1.1, 26.1.2 · 21 июня 2024 г.

MinecartCollisions had some specific tests for things like spider jockeys, skeleton traps, etc., that players might encounter while riding in their minecarts. Over the years, Minecraft has added additional combinations of mobs and passengers, such as a ravager ridden by a pillager, but these were not handled by the plugin.

This update allows for teleporting any mob being ridden by anything other than a player. This allows the plugin to function properly with all current mobs and to handle new combinations of mobs and riders in the future.

Комментарии

Загружаем…