> For the complete documentation index, see [llms.txt](https://docs.superiormc.cn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.superiormc.cn/auxilor-plugins/zi-ding-yi-xiao-guo/suo-you-xiao-guo/play_sound.md).

# play\_sound

## `play_sound`

**触发效果**[**​**](https://plugins.auxilor.io/effects/all-effects/play_sound#triggered-effect)

向玩家播放音效。

## 示例配置

```yaml
- id: play_sound
  args:
    sound: entity_wolf_growl # 播放的音效，音效ID列表见 https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
    pitch: 0.7 # 音效参数 (0.5 - 2)
    volume: 10 # 音效参数 
```
