No Arrows Indicator

No Arrows Indicator

Shows an "Out of Arrows!" notification with sound effect when you try to shoot a bow but have no arrows in your inventory. The notification appears when you left-click (attack) while holding a bow without arrows.

102.0 загрузок
Обновлён 8 дней назад

Скриншоты

Описание

Нет индикатора стрелы

Описание

Показывает уведомление «Из стрел!» со звуковым эффектом, когда вы пытаетесь выстрелить в лук, но не имеете стрел в инвентаре. Уведомление появляется, когда вы нажимаете налево (атакуете), удерживая лук без стрел.

Особенности

  • Обнаруживает левый щелчок, удерживая лук
  • Инвентарное сканирование стрелок (hotbar + storage)
  • Дисплей уведомлений с правой стороны с настраиваемыми цветами
  • Звуковой эффект (SFX_Avatar_Powers_Disable)
  • Автоотказ от уведомлений
  • 1-секундное охлаждение для предотвращения быстрого нажатия спама
  • Packet-based (без фонового опроса)

Как это работает

  1. Плагин перехватывает пакеты SyncInteractionChains, отправленные при начале атаки
  2. Когда первичное взаимодействие (левый щелчок) обнаруживается с луком, он сканирует весь ваш инвентарь (hotbar + хранилище).
  3. Если стрелки не найдены, показывает уведомление «Из стрел!» и воспроизводит звук «SFX_Avatar_Powers_Disable».
  4. Уведомления имеют 1-секундное охлаждение, чтобы предотвратить быстрое нажатие спама
  5. Автоотказ в уведомлении через несколько секунд

Технические детали

Триггер: Пакетный фильтр, перехватывающий SyncInteractionChains (первичный тип взаимодействия)

Обнаружение: Проверяет идентификаторы элементов, содержащие «Bow» или «Arrow».

UI: Уведомление Система Util (правые уведомления с настраиваемыми цветами)

Звук: SFX_Avatar_Powers_Disable (отключение звукового эффекта)

Охлаждение: 1 секунда между уведомлениями

Команды: /noarrows показывает текущие настройки; подкоманды: строка 1, строка 2, сброс

Цвета по умолчанию: Line1=#ffffff (белый), Line2=#ff5555 (красный)

Конфигурация: Настройки сохраняются для config.json в каталоге данных plugin

установка

  1. скачать NoArrowIndicator-1.0.0.jar
  2. Место в %AppData%\Roaming\Hytale\UserData\Mods\
  3. Перезапуск Hytale

использование

Автоматическое обнаружение

Работает автоматически, когда вы пытаетесь атаковать с луком:

  1. Оборудовать лук
  2. Удалить все стрелки из инвентаря
  3. Левый клик (атака) с луком
  4. Уведомление «Out of Arrows!» появляется с правой стороны.
  5. Услышьте звуковой эффект «powers disable»
  6. Уведомление автоматически отклоняется через несколько секунд
  7. Не будет спама - имеет 1-секундное охлаждение между уведомлениями

Конфигурационные команды

Настройка внешнего вида уведомления с помощью /noarrows:

Примечание: Все настройки автоматически сохраняются для config.json в каталоге данных плагина и сохраняется между сессиями.

Посмотреть текущие настройки:

/noarrows 
  • Показывает текущий цвет линии 1 и цвет линии 2
  • Список всех доступных команд
  • Пример вывода отображает цвета в их текущих значениях Hex

Изменить основной цвет сообщения:

/noarrows line1 <hex color> 
  • Пример: /noarrows line1 ffffff Изменить «Out of Arrows!» на белый
  • Принимает форматы: ffffff или #ffffff
  • Предварительный просмотр: цвет сообщения подтверждения соответствует выбранному вами цвету

Изменить цвет сообщения:

/noarrows line2 <hex color> 
  • Пример: /noarrows line2 ff5555 - Изменения "Нет стрел в инвентаре" - красный
  • Принимает форматы: ff5555 или #ff5555
  • Предварительный просмотр: цвет сообщения подтверждения соответствует выбранному вами цвету

Сброс всех настроек по умолчанию:

/noarrows reset 
  • Сброс строки 1 на #ffffff (белый)
  • Сброс строки 2 на #ff5555 (красный)
  • Показывает подтверждение с помощью значений сброса

Цвета по умолчанию:

  • Линия 1 (первичная): #ffffff (белый)
  • Линия 2 (вторичная): #ff5555 (красный)

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

  • Работает со всеми типами луков
  • Работает со всеми типами стрелок
  • Совместимость с другими модами HUD

Будущие обновления

  • Дисплей подсчета стрел (например, «5 оставшихся стрелок»)
  • Низкий порог предупреждения стрелок (например, «Осталось только 3 стрелки!»)
  • Пользовательский предупреждающий текст
  • Настройка позиции
  • Дополнительные звуковые эффекты

Поддержка

  • По вопросам или предложениям, пожалуйста, прокомментируйте этот мод.

Версия: 1.0.0

Автор: BeyondSmash

Платформа: Hytale ранний доступ

Показать оригинальное описание (English)

No Arrow Indicator

Description

Shows an "Out of Arrows!" notification with sound effect when you try to shoot a bow but have no arrows in your inventory. The notification appears when you left-click (attack) while holding a bow without arrows.

Features

  • Detects left-click while holding a bow
  • Inventory scanning for arrows (hotbar + storage)
  • Notification display on right side with customizable colors
  • Sound effect ("SFX_Avatar_Powers_Disable")
  • Auto-dismiss notifications
  • 1-second cooldown to prevent spam from rapid clicking
  • Packet-based (no background polling)

How It Works

  1. Plugin intercepts SyncInteractionChains packets sent when you start an attack action
  2. When a Primary interaction (left-click) is detected with a bow, it scans your entire inventory (hotbar + storage)
  3. If no arrows are found, shows "Out of Arrows!" notification and plays "SFX_Avatar_Powers_Disable" sound
  4. Notifications have a 1-second cooldown to prevent spam from rapid clicking
  5. Notification auto-dismisses after a few seconds

Technical Details

Trigger: Packet filter intercepting SyncInteractionChains (Primary interaction type)

Detection: Checks item IDs containing "Bow" or "Arrow"

UI: NotificationUtil system (right-side notifications with configurable colors)

Sound: SFX_Avatar_Powers_Disable (powers disable sound effect)

Cooldown: 1 second between notifications

Commands: /noarrows shows current settings; subcommands: line1, line2, reset

Default Colors: Line1=#ffffff (white), Line2=#ff5555 (red)

Configuration: Settings persist to config.json in plugin data directory

Installation

  1. Download NoArrowIndicator-1.0.0.jar
  2. Place in %AppData%\Roaming\Hytale\UserData\Mods\
  3. Restart Hytale

Usage

Automatic Detection

Works automatically when you try to attack with a bow:

  1. Equip a bow
  2. Remove all arrows from inventory
  3. Left-click (attack) with the bow
  4. See "Out of Arrows!" notification appear on the right side
  5. Hear the "powers disable" sound effect
  6. Notification will auto-dismiss after a few seconds
  7. Won't spam - has 1-second cooldown between notifications

Configuration Commands

Customize the notification appearance with /noarrows:

Note: All settings are automatically saved to config.json in the plugin data directory and persist between sessions.

View current settings:

/noarrows
  • Shows current line1 color and line2 color
  • Lists all available commands
  • Example output displays colors in their current hex values

Change primary message color:

/noarrows line1 <hex color>
  • Example: /noarrows line1 ffffff - Changes "Out of Arrows!" to white
  • Accepts formats: ffffff or #ffffff
  • Preview: Color of confirmation message matches your chosen color

Change secondary message color:

/noarrows line2 <hex color>
  • Example: /noarrows line2 ff5555 - Changes "No arrows in inventory" to red
  • Accepts formats: ff5555 or #ff5555
  • Preview: Color of confirmation message matches your chosen color

Reset all settings to defaults:

/noarrows reset
  • Resets line1 to #ffffff (white)
  • Resets line2 to #ff5555 (red)
  • Shows confirmation with reset values

Default colors:

  • Line 1 (primary): #ffffff (white)
  • Line 2 (secondary): #ff5555 (red)

Compatibility

  • Works with all bow types
  • Works with all arrow types
  • Compatible with other HUD mods

Future Updates

  • Arrow count display (e.g., "5 arrows remaining")
  • Low arrow warning threshold (e.g., "Only 3 arrows left!")
  • Custom warning text
  • Position customization
  • Additional sound effect options

Support

  • For issues or suggestions, please comment on this mod.

Version: 1.0.0

Author: BeyondSmash

Platform: Hytale Early Access

Последние версии

NoArrowIndicator-1.0.0.jar

Early Access 26.01.2026 28.6 КБ
Скачать