Player
paper/get_player_by_uuid
Get Player by UUID
Finds an online player by their UUID string.
Note: Only works for currently online players. If the UUID is malformed a warning is logged and found is false. Use Player UUID to retrieve a UUID from a player object.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
uuid |
string | ✓ | UUID string of the player. |
Outputs
| Name | Type | Description |
|---|---|---|
player |
player | The found player (null if offline or UUID invalid). |
found |
boolean | True if the player is currently online. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
uuid |
string | "" |
UUID (fallback) |
Examples
Look up a stored player
Retrieve a player using a UUID saved in a variable.
- Get Variable (player_uuid) → uuid → Get Player by UUID
- Get Player by UUID → found → Branch
- true → Get Player by UUID → player → Player Message