Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Merge pull request #44 from Lyttle-Development/dev
This pull request introduces several new configuration options for customizing nametag rendering, improves the config migration process, and ensures that changes to the config are properly applied at runtime. The most important changes are grouped below:
New Nametag Rendering Options
- Added new config options:
see_through_blocks,hide_when_sneaking,text_opacity, andbackground_opacityto bothconfig.ymland#defaults/config.yml, allowing server admins to control whether nametags render through blocks, hide when sneaking, and set opacity levels for text and background. - Updated
NametagHandlerto use these new config options when rendering nametags, including calculating and applying opacity and see-through behavior. [1] [2]
Configuration Management and Migration
- Enhanced the config migration logic to handle migration to version 4, ensuring new options are added and existing configs are updated correctly.
- Updated the plugin version to
1.3.3ingradle.propertiesto reflect the new features.
Runtime Behavior
- Ensured that both the config and the nametag handler are reloaded when the reload command is executed, so changes to config options take effect immediately.
Platforms
Paper
1.21.11