Add PlaceholderAPI support (%teh_enabled%), softdepend, and update README
- Implement PlaceholderAPI expansion: %teh_enabled% returns per-player indicator state
- Register expansion if PlaceholderAPI is present
- Add PlaceholderAPI as softdepend in plugin.yml
- Update README: document PlaceholderAPI usage, features, config, permissions, and commands
- Enable by default
fix: ignore suffocation damage indicators for armor stands
- Updated onEntityDamage handler to skip showing indicators for SUFFOCATION damage on armor stands.
- Prevents indicator spam when armor stands are pushed in the walls.
Show indicators only to players who have enabled them via /toggleteh (using showEntity). If no one has it enabled, remove the display immediately. Matches reference repo logic. Fully dynamic, per-player visibility.
feat: Fully configurable, true-color, MiniMessage-based indicator system
- Refactored indicator message system to use MiniMessage templates with true hex color support.
- All indicator messages (damage, heal, XP gain/loss) are now fully configurable via
config.yml
using placeholders:{indicator_color}
,{icon}
,{amount}
,{type}
. {indicator_color}
now injects the actual hex color code into MiniMessage<color:...>
tags for real color rendering.- Removed all hardcoded color logic from event handlers; color is now controlled by config and MiniMessage.
- Updated
DamageDisplayUtil
to accept and displayComponent
objects, not plain strings. - Centralized all config loading and template/icon logic in
ConfigManager
. - Updated default/fallback templates in
ConfigManager
to use MiniMessage and color tags. - Improved config documentation and placeholder usage for server owners.
/tehreload
command reloads all config, templates, and icons at runtime.