Player
paper/player_get_name
Get Player Name
Gets the username and display name of a player.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
player |
player | The player. |
Outputs
| Name | Type | Description |
|---|---|---|
name |
string | The player's username. |
displayName |
string | The player's display name (may include colour codes from prefix plugins). |