Skip to content

Releases: Eneryleen/Attack-indicator

AttackIndicator v2.4

Choose a tag to compare

@Eneryleen Eneryleen released this 31 May 13:44

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 (default 200, 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.y is now exposed in config.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-Agent correctly reports the running version.
  • Safer language loading — the language config 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).

Attack indicator 2.2

Choose a tag to compare

@Eneryleen Eneryleen released this 05 Nov 12:24
e1f8642

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)

Attack indicator 2.1

Choose a tag to compare

@Eneryleen Eneryleen released this 02 Nov 11:25

New Features

  • Added automatic update checker - server owners will be notified in console when a new version is available on Modrinth
  • Added show-on-players config option - control whether damage indicators appear on players (default: false)
  • Added indicator-scale config option - customize the size of damage indicators (default: 1.5)
  • Added vertical-offset config 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

Attack indicator 2.0

Choose a tag to compare

@Eneryleen Eneryleen released this 07 Oct 01:16

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.