HorseAddition — это плагин для Minecraft, который расширяет механики лошадей. Он позволяет двум игрокам ездить на одной лошади одновременно, а также добавляет специальный свисток, благодаря которому вы можете позвать своего любимца.
Команды
/hadd get whistle - Выдает игроку свисток для призыва лошади./hadd get doublesaddle - Выдает игроку двойное седло.
/hadd reload - Перезагружает конфигурацию плагина.
Права
horseaddition.command.get.whistle - Позволяет получать свисток через команду.horseaddition.command.get.doublesaddle - Позволяет получать двойное седло через команду.
horseaddition.command.reload - Позволяет перезагружать конфигурацию плагина.
Конфигурация
Плагин поддерживает глубокую настройку сообщений, предметов (свисток, двойное седло) и механик в конфигурационном файле. Убедитесь, что вы ознакомились с конфигурацией после установки.Для работы плагина требуется: EnderaLib
config.yml:
# Settings for two-player mounting on entities.
two-player-mounts:
# Allow two players to ride a normal horse?
enable-horse: true
# Allow two players to ride a donkey?
enable-donkey: true
# Allow two players to ride a mule?
enable-mule: true
# Block the second player from mounting if the horse has armor?
block-when-horse-has-armor: true
# Require a special 'Double Saddle' item for the second player to mount?
require-double-saddle: false
# List of commands (without /) that will be blocked for the second passenger.
blocked-commands:
- "sit"
- "lay"
- "crawl"
- "spin"
# Settings for the 'Double Saddle' item.
double-saddle:
material: "SADDLE"
custom-model-data: 1
display-name: "<!italic><gold>Double Saddle"
lore:
- "<!italic><gray>Allows a second player to"
- "<!italic><gray>ride your horse."
# Settings for the horse-calling whistle.
# Use names from Bukkit Material and Sound.
# For example:
# material: STICK
# sound: entity.ghast.scream
whistle:
material: "STICK"
custom-model-data: 100
# Cooldown in milliseconds (5000 = 5 seconds).
cooldown: 5000
sound: "entity.ghast.scream"
# Sound volume. 1.0 = 100%, 0.5 = 50%.
volume: 1.0
# Radius in which the horse will simply run to the player (in blocks).
pathfinding-radius: 15.0
# The speed at which the horse runs to the player (1.0 is standard walking speed).
running-speed: 1.8
# Prevent distractions (e.g., eating grass) while running to the player?
# The horse will be completely focused on the target.
prevent-distractions: true
# Allow binding multiple different whistles to the same horse?
allow-multiple-whistles-per-horse: false
# Default name for the horse, if it does not have a custom name.
default-horse-name: "Horse"
# Lore for a whistle that is NOT YET bound to a horse.
unbound-lore:
- "<!italic><gray>Right-click your horse"
- "<!italic><gray>to bind this whistle."
# Lore for a whistle that is ALREADY bound to a horse.
# Available placeholders: {horse_name}, {whistle_id}
bound-lore:
- "<!italic><gray>Bound to: <white>{horse_name}"
# Messages that the player sees
messages:
whistle-bind-success: "<green>Whistle successfully bound to horse '<gold>{horse_name}</gold>'!"
whistle-bind-fail-owner: "<red>You can only bind the whistle to your own horse."
whistle-bind-fail-horse-linked: "<red>This horse is already bound to another whistle."
whistle-bind-fail-whistle-linked: "<red>This whistle is already bound to another horse."
whistle-cooldown: "<red>You can use the whistle in <yellow>{time}</yellow> seconds."
horse-not-found: "<red>The horse does not respond to the whistle..."
horse-summoned-run: "<green>You called your horse, and it is running to you!"
horse-summoned-teleport: "<green>You summoned your horse!"
horse-summon-no-safe-location: "<red>The horse cannot reach you."
horse-in-unloaded-chunk: "<green>You called your horse, and it is running to you!"
chunk-load-error: "<red>An error occurred: {error}"
chunk-load-horse-not-found: ""
command-blocked-while-riding: "<red>You cannot use this command right now."
command-usage: "<red>Usage: /<yellow>hadd get whistle"
command-unknown-subcommand: "<red>Unknown subcommand."
command-player-only: "<red>This command can only be used by a player."
command-get-whistle-success: "<green>You received a whistle!"
command-get-double-saddle-success: "<green>You received a Double Saddle!"
command-get-unknown-item: "<red>Unknown item."
double-saddle-required: "<red>A Double Saddle is required to ride as a second passenger."
reload-success: "<green>HorseAddition configuration has been reloaded!"