Skip to main content

Player-Name

Overview

Accesses the player's account- or display-name and provides a way to format it in a custom manner.

<player-name

  renderermarkup(null)

  ↪ Renderer called to format the name; introduces:

  ↪ - player_name: String

  display-nameboolean(false)

  ↪ Whether to use the display-name instead of the account-name

/>

Examples

Default Appearance

The default appearance suffices as long as one simply wishes to style the name as a unit - meaning homogeneously.

Code-Blocks are only available within the browser

Custom Appearance

As soon as the name itself is supposed to be styled in a granular manner, employ the renderer as to inject a custom markup-value.

Code-Blocks are only available within the browser