Player
paper/play_sound
Play Sound
Plays a sound for a specific player.
Note: Use Bukkit Sound enum names (e.g. ENTITY_EXPLODE) or namespaced keys (minecraft:entity.explode).
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
exec |
exec | Incoming execution. | |
player |
player | The player who hears the sound. | |
sound |
string | ✓ | Sound name (e.g. ENTITY_PLAYER_LEVELUP). |
volume |
number | ✓ | Volume (0.0–1.0). |
pitch |
number | ✓ | Pitch (0.5–2.0). |
Outputs
| Name | Type | Description |
|---|---|---|
exec |
exec | Continues after playing. |
Properties
| Key | Type | Default | Description |
|---|---|---|---|
sound |
string | "ENTITY_PLAYER_LEVELUP" |
Sound |
volume |
number | 1 |
Volume |
pitch |
number | 1 |
Pitch |