Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
v1.2.0
This pull request introduces significant enhancements to the Lyttle Nametag plugin, including a migration to a new nametag implementation using PacketEvents, configuration updates, and improved handling of player nametags. The changes aim to optimize performance, simplify the codebase, and improve maintainability.
Nametag Implementation Overhaul:
- Replaced the
TextDisplay
-based nametag system with a PacketEvents-based implementation, introducing theNametagEntity
class for managing nametags. This change improves performance and compatibility.
Configuration Updates:
- Migrated the
nametag
configuration key frommessages.yml
toconfig.yml
for better separation of concerns. - Updated the
config_version
to1
and added comments to clarify configuration usage.
Codebase Simplifications:
- Removed legacy methods and logic for handling
TextDisplay
entities, including theonPlayerToggleSneak
event handler and associated transformations. - Replaced
HashMap
withConcurrentHashMap
for thread-safe management of player nametags.
Gradle and Versioning:
- Updated
pluginVersion
to1.2.0
and changedpaperVersion
to support version ranges (1.21.x
).
Configuration Migration:
- Enhanced
migrateConfig()
to handle the migration of thenametag
key frommessages.yml
toconfig.yml
.
Information
Published on | July 28, 2025 |
---|---|
Downloads | 0 |
Platforms
Paper (1.21.7)