Configuration Pages
Nametags settings are organized into two pages:Colors Page
Customize nametag appearance and borders:- Border Color - Outline color for the nametag background
- Safe Border - Use custom color when player is in a safe hole
- Safe Color - Border color for players in holes
- Back Color - Background color (default: dark gray)
- Normal Color - Text color for regular players
- Friends Color - Text color for friends
- Friend Border - Apply friend color to border
- Sneaking Color - Text color when player is sneaking
- Pop Colors A/B/C - Gradient colors for totem pop count (1-5-10+ pops)
Items Page
Configure displayed information:- Ping - Show player latency with color coding
- Health - Display health and absorption hearts
- Tab Health - Use scoreboard health instead of client-side
- Items - Render player’s armor and held items
- Durability - Show item durability percentage
- Pops - Display totem pop count
- Dash Pops - Add dash before pop count
- Item Name - Show held item name
- Enchant Name - Display enchantments on items
- Short Enchants - Only show important enchantments
- Rainbow 32ks - Rainbow effect for 32k weapons
- Cursed - Red color for curse enchantments
- Entity ID - Show player’s entity ID
- Gamemode - Display gamemode indicator ([C]/[S]/[I])
- Range - Render distance (0-300 blocks)
Information Display
Ping Color Coding
WhenColored Ping is enabled:
Nametags.java:383-405
Pop Color Gradient
Totem pops use color interpolation:Nametags.java:407-419
Item Rendering
Nametags renders player equipment above the name:Item Order (left to right)
- Offhand item
- Armor (boots → helmet)
- Main hand item
Enchantment Display
Important enchantments that show withShort Enchants:
- Protection
- Sharpness
- Mending
- Blast Protection
- Feather Falling
- Unbreaking
- Knockback
- Efficiency
- Channeling
- Power
- Silk Touch
- Thorns
Nametags.java:238
Special Items
- Enchanted Golden Apple - Displays as “God” in red
- 32k Weapons - Rainbow text effect when level > 42
- Cursed Items - Dark red color for Vanishing/Binding
Enchantment names are truncated to 2 characters (e.g., “Pr4” for Protection 4) to save space.
Scaling System
Nametags use distance-based scaling for readability:Nametags.java:282-286
Scaling Settings:
- Scaling - Far distance multiplier (0.1-0.5)
- Close Scaling - Fixed scale for nearby players (0.0200-0.0300)
Visual Customization
Durability Display
Item durability uses color coding:Nametags.java:574
Border Colors
Border priority (highest to lowest):- Friend border (if enabled and player is friend)
- Safe border (if enabled and player in hole)
- Default border color
Nametags.java:435
Rendering Details
Nametags use OpenGL depth function
GL_ALWAYS to render through walls, making them visible at all times.- Background rectangle
- Colored border outline
- Text sections with individual colors
- Item models and enchantment text
- Durability bars and stack counts
Nametags.java:296-305
Compatibility
Nametags integrates with:- Freecam - Shows your own nametag when in freecam mode
- FriendManager - Custom colors for friends
- PopManager - Tracks totem pops across deaths
- HoleUtils - Detects safe holes for border coloring
- FontModule - Custom font rendering support
Nametags.java:1-677