Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
v1.2.4
This pull request makes significant improvements to the build and release automation, enhances configuration flexibility, and introduces a new configurable view distance for nametags. The main changes are the consolidation and enhancement of CI workflows, updates to configuration handling, and improvements to how nametag visibility is managed in-game.
Build & Release Automation:
- Consolidated the separate
main.yml
andalpha.yml
GitHub Actions workflows into a single, unified workflow file (release-and-publish.yml
) that handles both themain
andalpha
branches, automates tagging, artifact uploads, and publishing to GitHub Releases, Hangar, and Modrinth. This streamlines maintenance and ensures consistent behavior across release channels. [1] [2] [3]
Configuration System Enhancements:
- Migrated from the custom
Config
class to the more robustYamlConfig
class for all configuration files in theConfigs
class, improving type safety and YAML handling. - Updated configuration migration logic to support new config versions and ensure seamless upgrades, including auto-migration for the new
view_distance
setting.
Nametag View Distance Feature:
- Added a new
view_distance
configuration option (default: 64 blocks) to both default and main config files, allowing server owners to control how far away nametags are visible. [1] [2] - Updated the nametag rendering logic in
NametagHandler
to use the newview_distance
value when calculating the visibility range for nametags.
Other Improvements:
- Minor code cleanup and import optimizations in
NametagHandler
for better readability and maintainability. - Bumped the plugin version from
1.2.3
to1.2.4
to reflect these new features and improvements.
Information
Published on | August 24, 2025 |
---|---|
Downloads | 0 |
Platforms
Paper (1.21.8)