HomeJavaModsPlayer Nametags
Player Nametags
ModsJava

Player Nametags

by PinkGoosik · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.3–1.20.4 · Fabric⬇ Download for 1.20.2 · Fabric⬇ Download for 1.20.3–1.20.4 · Quilt⬇ Download for 1.20.2 · Quilt
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Configuration

Go to config/player-nametags.json in your game directory, use /player-nametags reload to reload the config when you're done editing player-nametags.json

{
  // Controls if mod is enabled or not
  "enabled": false,
  // Player nametag format, see Placeholder API Docs (https://placeholders.pb4.eu) for more placeholders and text format 
  "format": "%player:name%",
  // Defines how often nametag should update in ticks
  "updateRate": 20,
  // Defines how nametag should be displayed when player is sneaking, can be "gray-out", "hide", or "none"
  "whenSneaking": "gray-out",
  // Player nametag format per permission, use permission manager like luckperms to grant the permission
  "formatPerPermission": {
    "example.admin": "<red>[Admin] %player:name%"
  }
}
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more