Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for Lyttle-Development

Better Nametags Plugin - Supports Newlines!

Report LyttleNametag?

R

1.3.3

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, and background_opacity to both config.yml and #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 NametagHandler to 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.3 in gradle.properties to 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.

Information

Published
October 27, 2026
2Downloads

Platforms

Paper
Paper
1.21.11