Player
paper/player_set_xp
Set Player XP
Sets or modifies a player's experience.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
player |
player | The player. | |
value |
number | ✓ | Amount to set or add. |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after setting. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
mode |
select | "LEVEL" |
LEVEL: set level directly. TOTAL_EXP: set total exp. ADD_EXP: add exp points. |
value |
number | 0 |
Value (fallback) |