▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/LyttleNametag
LyttleNametag

LyttleNametag

Better Nametags Plugin - Supports Newlines!

Оцените первым
689
2
Все версии1.2.2-ALPHA.8

1.2.2-ALPHA.8

Alpha14.08.2025

Список изменений

v1.2.2

This pull request introduces significant improvements to the nametag handling system, focusing on more efficient updates, better event responsiveness, and improved code maintainability. The main changes include separating nametag text updates from full reloads, introducing a periodic "hard reload," and adding event-driven reloads for better accuracy and performance.

Nametag update and reload improvements:

  • Added a new updateNametagTexts method to update only the text of nametags periodically, reducing the overhead of full reloads. This is now called on a timer instead of reloadNametags, which is reserved for full entity reloads. [1] [2]
  • Introduced a separate hardReloadTimer that triggers a full reload of nametags every 60 seconds to ensure state consistency.

Event-driven reload enhancements:

  • Implemented a reloadTimeOut method and registered event handlers for player join, quit, death, respawn, world change, teleport, and game mode change, triggering a delayed full reload for accurate nametag updates after significant player events.

Code maintainability and flexibility:

  • Made the NametagEntity class public and added a setText method, allowing for dynamic updates to nametag text. [1] [2]
  • Cleaned up and simplified code by removing redundant comments and consolidating imports. [1] [2] [3] [4]

These changes should result in more responsive and efficient nametag updates, better handling of edge cases, and easier future maintenance.

Файлы

LyttleNametag-1.2.2.jar(38.38 KiB)
Основной
Скачать

Метаданные

Канал релиза

Alpha

Номер версии

1.2.2-ALPHA.8

Загрузчики

Paper

Версии игры

1.21.8

Загрузок

13

Дата публикации

14.08.2025

Загрузил

ID версии

Главная