Sounds
dStattrack plays a sound for each kind of feedback. Theyβre all configurable under sounds in config.yml.
sounds: error: BLOCK_ANVIL_PLACE/0.5/1.0 success: ENTITY_PLAYER_LEVELUP/1.0/1.0 removed: BLOCK_ANVIL_USE/0.5/1.0 alreadyHas: BLOCK_NOTE_BLOCK_HAT/1.0/2.0Each value is SOUND_NAME/volume/pitch:
- SOUND_NAME β any valid Bukkit Sound enum name.
- volume β float;
1.0is normal. - pitch β float;
0.5β2.0, where2.0is high.
When each sound plays
Section titled βWhen each sound playsβ| Key | Plays when |
|---|---|
success |
A stattrack is applied successfully. |
removed |
A stattrack is removed. |
alreadyHas |
The player tries to apply to an item that already has one. |
error |
Any other failure β not holding an item, not trackable, canβt afford it. |
A misconfigured sound spec (bad name or missing parts) is silently ignored rather than breaking the action β but the rest of the feedback still happens. Set a value to a valid sound or remove the line to disable a cue.