
Attack indicator
Customizable floating damage indicators for Paper servers. Clearly display damage dealt to mobs with stylish placeholders!
- Загрузки
- 3K
- Подписчики
- 24
- Обновлён
- 31 мая 2026 г.
- Лицензия
- MIT
Опубликован 24 марта 2025 г.
AttackIndicator
A modern, lightweight damage indicator plugin for Paper/Spigot servers. Display beautiful animated floating damage numbers when entities take damage.
Version Support
The plugin automatically detects your server version and uses the best available method:
| Version | Method | Features |
|---|---|---|
| 1.19.4+ | Display Entities | Smooth animations, scalable, best performance |
| 1.16.5-1.19.3 | Armor Stands | MiniMessage support (hex colors, gradients) |
| 1.8-1.16.4 | Armor Stands | Legacy ChatColor (basic colors: &c, &6, &a, etc.) |
Key Features
- Smooth Animations - Floating damage indicators with configurable speed and duration
- Rich Text Formatting - MiniMessage support on 1.16.5+ (hex colors, gradients, styles)
- Highly Customizable - Control appearance, size, position, speed, and behavior
- Smart Filtering - Show indicators based on damage source (all/player-only/no-self)
- Player Damage Support - Optional indicators on players
- Entity Filtering - Whitelist/blacklist specific entity types
- Random Positioning - Natural look with random offsets to prevent stacking
- Auto-Update Checker - Get notified when new versions are available
- World Management - Disable indicators in specific worlds
- Performance Optimized - Minimal server impact on all versions
Commands
/ai reload- Reload plugin configuration- Aliases:
/attackindicator
Configuration
All settings are in config.yml with detailed comments explaining version compatibility.
Quick Examples
# Works on all versions
indicator-format: "<#ffffff>-{damage}<#ff5555>♥" # Hex colors on 1.16.5+
indicator-format: "&f-{damage}&c♥" # Legacy format for 1.8-1.16.4
# Scale (1.19.4+ only)
indicator-scale: 1.5
# Display mode (all versions)
display-mode: PLAYER_ONLY
Attack indicator >2.0 stats
Ченджлог
2.4Релиз26.1, 26.1.1, 26.1.2 · 31 мая 2026 г.
AttackIndicator v2.4
Reliability, performance, and security pass over the 2.3 codebase. Drop-in upgrade — no config migration required (new keys fall back to safe defaults).
New
- Active-indicator cap — new
performance.max-active-indicators(default200,0= unlimited). Bounds spawned entities and per-tick animation tasks during heavy damage bursts (e.g. AoE) to protect server TPS. The cap is enforced at spawn time, so even a same-tick burst cannot overshoot it. random-offset.yis now exposed inconfig.yml(the value was already used internally; it is now documented and editable).
Reliability & Security
- Crash-safe indicators — indicator entities are now spawned with
setPersistent(false)on 1.13+, so a server crash or chunk unload can no longer leave orphaned armor stands / text displays behind. Gracefully degrades on 1.8–1.12 where the API is absent. - Hardened MiniMessage (1.19.4+) — only formatting tags (colors, hex, gradients, decorations) are honored in
indicator-format. Interactive tags (<click>,<hover>,<insertion>) are disabled so a format string can never inject clickable links or hover payloads. - Update checker hardening — the Modrinth response is now size-bounded (1 MB) and the
User-Agentcorrectly reports the running version. - Safer language loading — the
languageconfig value is sanitized (no path traversal), and an unknown/un-bundled code falls back to English instead of failing plugin startup.
Internal
- Null-guarded command registration.
- Aligned config defaults with
config.yml; renamed internal Y-offset accessor for axis symmetry; minor cleanups. - README rewritten: technical overview, version/renderer matrix, command & permission tables, full config reference, architecture diagram, and build instructions.
Compatibility: Paper / Spigot, Minecraft 1.8 → 1.21+ (renderer auto-selected per version).
Build: mvn clean package (JDK 17+ toolchain; output targets Java 8 bytecode).
2.3Релиз1.21.9, 1.21.10, 1.21.11 · 3 декабря 2025 г.
New Features
- Added
/attackindicator togglecommand — players can now individually enable/disable damage indicators - Player toggle states persist across server restarts
Bug Fixes
- Fixed potential thread safety issues with concurrent indicator spawning
- Fixed resource leak in update checker (connection not properly closed)
- Fixed potential NullPointerException when projectile has no shooter
- Fixed Y-axis random offset not being applied
Improvements
- Armor stands now use optimized properties (small, no baseplate, no arms) for better performance
- Improved tab completion for commands
Permissions
attackindicator.toggle— allows toggling indicators (default: true)
2.2Релиз1.21.8, 1.21.9, 1.21.10 · 5 ноября 2025 г.
Universal Version Support
- Full compatibility with Minecraft 1.8 - latest - one JAR for all versions!
- Automatic server version detection with best method selection:
- 1.19.4+ → Display Entities (smooth, best performance)
- 1.16.5-1.19.3 → Armor Stands with MiniMessage (hex colors, gradients)
- 1.8-1.16.4 → Armor Stands with Legacy ChatColor (basic colors)
2.1Релиз1.21.8, 1.21.9, 1.21.10 · 2 ноября 2025 г.
New Features
- Added automatic update checker - server owners will be notified in console when a new version is available on Modrinth
- Added
show-on-playersconfig option - control whether damage indicators appear on players (default: false) - Added
indicator-scaleconfig option - customize the size of damage indicators (default: 1.5) - Added
vertical-offsetconfig option - adjust vertical position of indicators relative to entity's head (default: 0.5)
Changes
- Removed hardcoded restriction that prevented indicators from showing on players
- Indicators can now be fully customized through config.yml
2.0Релиз1.21.8, 1.21.9, 1.21.10 · 6 октября 2025 г.
Added
- Integrated MiniMessages for all plugin text, allowing for more advanced formatting options.
Changed
- Complete rework of the plugin's core mechanics for better performance and stability.
- The plugin is now significantly more lightweight.
- Replaced the old Armor Stand-based indicator with the new Display Entities system, introduced in Minecraft 1.19.4. This should provide a much smoother and more reliable experience.
- Most previous configuration settings have been retained to ensure a smooth transition.
Fixed
- Resolved a major bug where the indicator (an Armor Stand) would not be removed properly, causing it to get stuck in the sky.
1.6Релиз1.21.6, 1.21.7, 1.21.8 · 1 апреля 2025 г.
- Added support: 1.17.x, 1.18.x, 1.19.x
1.5Релиз1.21.3, 1.21.4, 1.21.5 · 1 апреля 2025 г.
Added automatic removal of damage indicators when the associated entity dies. The plugin now listens for entity death events and cleans up any active indicators tied to that entity.
Introduced tracking for active indicators using a mapping, enabling proper cleanup and reducing visual clutter.
Minor code refactoring and improvements for better maintainability and performance.
1.4Релиз1.21.3, 1.21.4, 1.21.5 · 30 марта 2025 г.
World/Region Support: The plugin now checks a configurable list of enabled worlds. If the damage occurs in a world not listed, the indicator will not be shown.
Additional Visual Effects: Particle effects can be enabled or disabled in the configuration. Administrators can customize the particle type, count, and offsets to enhance the visual feedback of damage indicators.
Adaptive Animation: An adaptive animation feature has been added. When enabled, the indicator's upward movement speed adjusts dynamically based on the amount of damage dealt.
Configurable Sound Effects: Sound effects are now integrated. You can configure the sound type, volume, and pitch in the config file to play a custom sound when the indicator spawns.
Комментарии
Загружаем…