COWMODSКаталог модов

Teh

Floating Damage/Heal/XP Indicator

Автор: MidnightTale5727обновлён 1 июл. 2025 г.
ПроклятыеМобыУтилиты

Описание

Teh - Floating Damage/Heal/XP Indicator

Features

  • Animated floating text for damage, healing, XP gain/loss
  • Fully customizable colors, icons, and messages via config.yml
  • MiniMessage support (true color, icons, advanced formatting)
  • All display settings (see-through, background, shadow, alignment, billboard) are configurable
  • XP loss indicators and separate color for XP loss
  • Only shows indicators to players who have them enabled (per-player visibility)
  • PlaceholderAPI support: %teh_enabled% placeholder for player indicator state

Quick Config Example

indicator-colors:
  hp-lost: '#FF3B30'
  hp-gain: '#34C759'
  xp-gain: '#5EDE3E'
  xp-lost: '#FFAA00'
messages:
  damage:
    template: "<color:{indicator_color}>{icon} -{amount} {type}</color>"
    icons:
      ENTITY_ATTACK: "🗡"
  heal:
    template: "<color:{indicator_color}>✨ +{amount} {type}</color>"
  xp-gain:
    template: "<color:{indicator_color}>🟢 +{amount} XP</color>"
  xp-lost:
    template: "<color:{indicator_color}>🔴 -{amount} XP</color>"
display-settings:
  see-through: true
  background-color: '#00000080'
  shadowed: true
  alignment: center
  billboard: true

PlaceholderAPI

If PlaceholderAPI is installed, Teh registers the following placeholder:

PlaceholderDescription
%teh_enabled%Returns Enabled or Disabled for a player (whether indicators are enabled for them)

Usage Example:

  • In chat plugins, scoreboards, etc: %teh_enabled%

Permissions

  • teh.indicator.toggle — Use /toggleteh
  • teh.reload — Use /tehreload

Commands

  • /toggleteh — Toggle your indicator visibility
  • /tehreload — Reload all config at runtime

Soft Dependencies

  • PlaceholderAPI (for placeholders)

Damage Replace this with a description

Healing Replace this with a description

Последние версии

Все версии →
release

Teh 1.3

1.3
1 июл. 2025 г.344Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7, 1.21.8, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2folia, paper, purpur
Скачать
Что нового
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
release

Teh 1.2

1.2
1 июл. 2025 г.61Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7folia, paper, purpur
Скачать
Что нового
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.
release

Teh 1.1

1.1
1 июл. 2025 г.65Minecraft: 1.21, 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6, 1.21.7folia, paper, purpur
Скачать
Что нового
## 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 display `Component` 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.
beta

Teh 1.0-SNAPSHOT

1.0-SNAPSHOT
8 июн. 2025 г.102Minecraft: 1.21.1, 1.21.2, 1.21.3, 1.21.4, 1.21.5, 1.21.6folia, paper, purpur
Скачать
Что нового
init release