promotional bannermobile promotional banner
premium banner
Shows an "Out of Arrows!" (and now multi-tier) 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.

Description

Discord


No Arrow Indicator

Description

Shows an "Out of Arrows!" (and now multi-tier) 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.1.2.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

Changelog

NoArrowIndicator - v1.1.2

  • Fixed crossbow reload false trigger — reloading with arrows in inventory no longer falsely shows "3 arrows remaining" (loadedAmmo=0 now correctly detected as reload-in-progress)
  • Fixed crossbow threshold counting — arrows split between inventory and loaded crossbow slots now correctly trigger warnings at 5, 3, and 1 remaining
  • Added tiered low-arrow warnings at 5, 3, and 1 arrows remaining (previously only warned at 0)
  • Added crossbow support — total remaining accounts for both inventory arrows and loaded ammo

Support

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

Version: 1.1.2

Author: BeyondSmash

Platform: Hytale Early Access