Player
paper/player_get_health
Get Player Health
Returns the player's current health, max health, and food level.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
player |
player | The player. |
Outputs
| Name | Type | Description |
|---|---|---|
health |
number | Current health (0–20 by default). |
maxHealth |
number | Maximum health. |
food |
number | Current food level (0–20). |