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.
Описание
Нет индикатора стрелы
Описание
Показывает уведомление «Из стрел!» со звуковым эффектом, когда вы пытаетесь выстрелить в лук, но не имеете стрел в инвентаре. Уведомление появляется, когда вы нажимаете налево (атакуете), удерживая лук без стрел.
Особенности
- Обнаруживает левый щелчок, удерживая лук
- Инвентарное сканирование стрелок (hotbar + storage)
- Дисплей уведомлений с правой стороны с настраиваемыми цветами
- Звуковой эффект (SFX_Avatar_Powers_Disable)
- Автоотказ от уведомлений
- 1-секундное охлаждение для предотвращения быстрого нажатия спама
- Packet-based (без фонового опроса)
Как это работает
- Плагин перехватывает пакеты SyncInteractionChains, отправленные при начале атаки
- Когда первичное взаимодействие (левый щелчок) обнаруживается с луком, он сканирует весь ваш инвентарь (hotbar + хранилище).
- Если стрелки не найдены, показывает уведомление «Из стрел!» и воспроизводит звук «SFX_Avatar_Powers_Disable».
- Уведомления имеют 1-секундное охлаждение, чтобы предотвратить быстрое нажатие спама
- Автоотказ в уведомлении через несколько секунд
Технические детали
Триггер: Пакетный фильтр, перехватывающий SyncInteractionChains (первичный тип взаимодействия)
Обнаружение: Проверяет идентификаторы элементов, содержащие «Bow» или «Arrow».
UI: Уведомление Система Util (правые уведомления с настраиваемыми цветами)
Звук: SFX_Avatar_Powers_Disable (отключение звукового эффекта)
Охлаждение: 1 секунда между уведомлениями
Команды: /noarrows показывает текущие настройки; подкоманды: строка 1, строка 2, сброс
Цвета по умолчанию: Line1=#ffffff (белый), Line2=#ff5555 (красный)
Конфигурация: Настройки сохраняются для config.json в каталоге данных plugin
установка
- скачать
NoArrowIndicator-1.0.0.jar - Место в
%AppData%\Roaming\Hytale\UserData\Mods\ - Перезапуск Hytale
использование
Автоматическое обнаружение
Работает автоматически, когда вы пытаетесь атаковать с луком:
- Оборудовать лук
- Удалить все стрелки из инвентаря
- Левый клик (атака) с луком
- Уведомление «Out of Arrows!» появляется с правой стороны.
- Услышьте звуковой эффект «powers disable»
- Уведомление автоматически отклоняется через несколько секунд
- Не будет спама - имеет 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
- Plugin intercepts SyncInteractionChains packets sent when you start an attack action
- When a Primary interaction (left-click) is detected with a bow, it scans your entire inventory (hotbar + storage)
- If no arrows are found, shows "Out of Arrows!" notification and plays "SFX_Avatar_Powers_Disable" sound
- Notifications have a 1-second cooldown to prevent spam from rapid clicking
- 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
- Download
NoArrowIndicator-1.0.0.jar - Place in
%AppData%\Roaming\Hytale\UserData\Mods\ - Restart Hytale
Usage
Automatic Detection
Works automatically when you try to attack with a bow:
- Equip a bow
- Remove all arrows from inventory
- Left-click (attack) with the bow
- See "Out of Arrows!" notification appear on the right side
- Hear the "powers disable" sound effect
- Notification will auto-dismiss after a few seconds
- 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:
ffffffor#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:
ff5555or#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
Информация
Авторы:
Категории:
Версии игры:
Создан: 26.01.2026