Game Maker

Set Nametag Prefix

Adds a prefix to a player's nametag.

This action adds text that appears before a player's name above their head. This is controlled by the scoreboard system.

Configuration

  • Prefix: The text to add. Supports color codes and property placeholders.
  • Target: The Player whose nametag will be modified.

Example

Display a player's score next to their name.

  • Event: Property Change for the Score property.
  • Action: Set Nametag Prefix
    • Target: The Player whose score changed.
    • Prefix: &e[%p_Score_player%]