
LyttleNametag
Better Nametags Plugin - Supports Newlines!
Оцените первым
689
2
689
2
Список изменений
v1.2.2
This pull request introduces several improvements and fixes to the nametag handling system, focusing on more robust and dynamic updates, better configuration management, and improved event handling. The main changes include making nametag updates periodic and event-driven, improving configuration migration and management, and refactoring the code for better maintainability and flexibility.
Nametag Update Improvements:
- Added periodic nametag updates using a configurable interval (
interval), with nametag text now updating dynamically based on player state and location. A newupdateNametagTextsmethod ensures all nametags stay current. [1] [2] [3] - Nametag text and position are now recalculated based on a height offset above the player's head, ensuring better visual alignment. [1] [2]
Event Handling Enhancements:
- Added event listeners for player world change, teleport, death, respawn, and game mode change to trigger a delayed nametag reload, ensuring nametags stay accurate through all relevant player events.
Configuration and Migration:
- Added a new
intervalconfiguration option to both default and main config files, allowing server owners to control how often nametags are updated. Updated theconfig_versionto 2 and improved the configuration migration logic to handle new entries and upgrades. [1] [2] [3] [4]
API and Code Refactoring:
- Refactored
NametagHandlerto expose areload()method (replacingreloadNametags()in command handling), and madeNametagEntitymutable to allow dynamic text updates. [1] [2] [3] [4]
Versioning:
- Bumped the plugin version from 1.2.1 to 1.2.2 in
gradle.propertiesto reflect these changes.
Файлы
LyttleNametag-1.2.2.jar(38.46 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.2.2
Загрузчики
Paper
Версии игры
1.21.8
Загрузок
10
Дата публикации
17.08.2025
