Sounds – Universal Sound Trigger Plugin
- What it does:
Plays custom sounds on any Bukkit event you enable. All event-sound mappings are driven by two simple YAML files.
- Configuration:
- config.yml → toggle each event on/off, set debug mode, define fallback sound and license key.
- sounds.yml → assign sound names, volume and pitch per event.
- Built-in Features:
- Per-event enable/disable
- Per-event sound, volume & pitch
- Automatic fallback if a sound is invalid
- Optional debug logging of every play
- Supported Events:
Join, quit, kick, chat, command, move, death, respawn, teleport, interact (block & entity), level/exp change, item consume/held/swap/drop/pickup, sneak/sprint/flight toggle, bed enter/leave, shear, fish, edit book, advancement, portal, statistic, unleash, inventory click/open/close/drag, entity damage (by entity), projectile launch/hit… and more.
- Compatibility:
Minecraft Java Edition 1.7 – 1.21+ (Spigot, Paper, Purpur)
- Commands:
None – everything runs automatically on server start (or via the plugin’s reload() method).
- License:
Requires a valid license key in config.yml. No extra commands or external dependencies.
LostDev discord server:
✱
https://discord.gg/6S6jxC5h67
(Join for more info, or plugins!)
Code (YAML):
####################################################################################
# Sounds - config.yml #
# #
# This file controls which sound events are enabled and includes general settings. #
####################################################################################
settings
:
enabled
: true
# Master switch to enable/disable the plugin
debug
: false
# Debug mode: logs each played sound to console
fallback-sound
:
"BLOCK_NOTE_BLOCK_HARP"
# Used when a configured sound is invalid
####################################################################################
# Event Toggles #
# Set to true to enable sound for that event. Set too false to disable it. #
####################################################################################
events
:
player_join
: true
# When a player joins the server
player_quit
: true
# When a player leaves the server
player_kick
: true
# When a player is kicked
player_chat
: true
# When a player sends a chat message
player_command
: true
# When a player executes a command
player_move
: false
# When a player moves (can be frequent!)
player_death
: true
# When a player dies
player_respawn
: true
# When a player respawns after death
player_teleport
: true
# When a player teleports
player_interact
: true
# When a player interacts (clicks) a block
player_interact_entity
: true
# When a player interacts with an entity
player_level_change
: true
# When a player's experience level changes
player_exp_change
: true
# When a player's experience amount changes
player_item_consume
: true
# When a player eats or drinks something
player_item_held
: true
# When a player changes the hotbar slot
player_item_swap
: true
# When a player swaps items with offhand
player_item_drop
: true
# When a player drops an item
player_item_pickup
: true
# When a player picks up an item
player_toggle_sneak
: true
# When a player sneaks (shift)
player_toggle_sprint
: false
# When a player starts/stops sprinting
player_toggle_flight
: true
# When a player toggles flight
player_bed_enter
: true
# When a player lies down in a bed
player_bed_leave
: true
# When a player gets up from a bed
player_shear_entity
: true
# When a player shears a mob (e.g., sheep)
player_fish
: true
# When a player fishes
player_edit_book
: true
# When a player edits a book
player_advancement
: true
# When a player gets an advancement
player_portal
: true
# When a player enters a Nether/End portal
player_statistic
: false
# When a player increases any statistic
player_unleash
: true
# When a player unleashes a mob
inventory_click
: true
# When a player clicks inside an inventory
inventory_open
: true
# When a player opens an inventory
inventory_close
: true
# When a player closes an inventory
inventory_drag
: true
# When a player drags items inside inventory
entity_damage
: false
# When a player takes any kind of damage
entity_damage_by_entity
: false
# When a player is damaged by another entity
projectile_launch
: true
# When a player launches a projectile (arrow, etc.)
projectile_hit
: true
# When a projectile hits something
Code (YAML):
####################################################################################
# Sounds - sounds.yml #
# Define the sound, volume, and pitch for each enabled event in config.yml #
####################################################################################
# ───── Player Events ─────────────────────────────────────────────────────────────
player_join
:
# When a player joins the server
sound
:
"ENTITY_PLAYER_LEVELUP"
volume
: 1.0
pitch
: 1.0
player_quit
:
# When a player leaves the server
sound
:
"BLOCK_NOTE_BLOCK_PLING"
volume
: 1.0
pitch
: 1.0
player_kick
:
# When a player is kicked
sound
:
"ENTITY_VILLAGER_NO"
volume
: 1.0
pitch
: 1.0
player_chat
:
# When a player sends a chat message
sound
:
"ENTITY_EXPERIENCE_ORB_PICKUP"
volume
: 0.5
pitch
: 2.0
player_command
:
# When a player runs a command
sound
:
"BLOCK_NOTE_BLOCK_BELL"
volume
: 1.0
pitch
: 1.0
player_move
:
# When a player moves (disabled in config)
sound
:
"BLOCK_NOTE_BLOCK_BASEDRUM"
volume
: 0.3
pitch
: 2.0
player_death
:
# When a player dies
sound
:
"ENTITY_WITHER_DEATH"
volume
: 1.0
pitch
: 1.0
player_respawn
:
# When a player respawns
sound
:
"ENTITY_FIREWORK_ROCKET_LARGE_BLAST"
volume
: 1.0
pitch
: 1.0
player_teleport
:
# When a player teleports
sound
:
"ENTITY_ENDERMAN_TELEPORT"
volume
: 1.0
pitch
: 1.0
player_interact
:
# When a player interacts with a block
sound
:
"BLOCK_METAL_BREAK"
volume
: 0.2
pitch
: 1.0
player_interact_entity
:
# When a player right-clicks an entity
sound
:
"ENTITY_VILLAGER_YES"
volume
: 1.0
pitch
: 1.0
player_level_change
:
# When a player’s XP level changes
sound
:
"ENTITY_PLAYER_LEVELUP"
volume
: 1.0
pitch
: 1.0
player_exp_change
:
# When a player gains XP
sound
:
"ENTITY_EXPERIENCE_ORB_PICKUP"
volume
: 1.0
pitch
: 1.0
player_item_consume
:
# When a player eats or drinks
sound
:
"ENTITY_GENERIC_EAT"
volume
: 1.0
pitch
: 1.0
player_item_held
:
# When player changes held item
sound
:
"ITEM_ARMOR_EQUIP_GENERIC"
volume
: 1.0
pitch
: 1.0
player_item_swap
:
# When player swaps to offhand
sound
:
"ITEM_ARMOR_EQUIP_LEATHER"
volume
: 1.0
pitch
: 1.0
player_item_drop
:
# When a player drops an item
sound
:
"BLOCK_LEVER_CLICK"
volume
: 1.0
pitch
: 1.0
player_item_pickup
:
# When a player picks up an item
sound
:
"ENTITY_ITEM_PICKUP"
volume
: 1.0
pitch
: 1.0
player_toggle_sneak
:
# When a player sneaks
sound
:
"BLOCK_NOTE_BLOCK_SNARE"
volume
: 1.0
pitch
: 1.0
player_toggle_sprint
:
# When a player starts/stops sprinting
sound
:
"BLOCK_NOTE_BLOCK_SNARE"
volume
: 1.0
pitch
: 1.0
player_toggle_flight
:
# When a player toggles flight
sound
:
"ENTITY_PHANTOM_FLAP"
volume
: 1.0
pitch
: 1.0
player_bed_enter
:
# When a player enters a bed
sound
:
"BLOCK_NOTE_BLOCK_BIT"
volume
: 1.0
pitch
: 1.0
player_bed_leave
:
# When a player gets out of bed
sound
:
"BLOCK_NOTE_BLOCK_BANJO"
volume
: 1.0
pitch
: 1.0
player_shear_entity
:
# When a player shears a sheep
sound
:
"ENTITY_SHEEP_SHEAR"
volume
: 1.0
pitch
: 1.0
player_fish
:
# When a player fishes
sound
:
"ENTITY_BOBBER_SPLASH"
volume
: 1.0
pitch
: 1.0
player_edit_book
:
# When a player edits a book
sound
:
"ITEM_BOOK_PAGE_TURN"
volume
: 1.0
pitch
: 1.0
player_advancement
:
# When a player gets an advancement
sound
:
"BLOCK_FURNACE_FIRE_CRACKLE"
volume
: 1.0
pitch
: 1.0
player_portal
:
# When a player enters a portal
sound
:
"BLOCK_PORTAL_TRAVEL"
volume
: 1.0
pitch
: 1.0
player_statistic
:
# When a player statistic increases
sound
:
"BLOCK_NOTE_BLOCK_BELL"
volume
: 1.0
pitch
: 1.0
player_unleash
:
# When a player unleashes an entity
sound
:
"ENTITY_LEASH_KNOT_BREAK"
volume
: 1.0
pitch
: 1.0
# ───── Inventory Events ──────────────────────────────────────────────────────────
inventory_click
:
# When a player clicks in an inventory
sound
:
"BLOCK_GRINDSTONE_USE"
volume
: 0.3
pitch
: 3.0
inventory_open
:
# When a player opens an inventory
sound
:
"BLOCK_ENDER_CHEST_OPEN"
volume
: 1.0
pitch
: 1.0
inventory_close
:
# When a player closes an inventory
sound
:
"BLOCK_ENDER_CHEST_CLOSE"
volume
: 1.0
pitch
: 1.0
inventory_drag
:
# When a player drags items
sound
:
"BLOCK_WOOD_HIT"
volume
: 1.0
pitch
: 1.0
# ───── Damage & Combat ───────────────────────────────────────────────────────────
entity_damage
:
# When a player takes damage
sound
:
"ENTITY_PLAYER_HURT"
volume
: 1.0
pitch
: 1.0
entity_damage_by_entity
:
# When a player is hurt by another entity
sound
:
"ENTITY_PLAYER_ATTACK_STRONG"
volume
: 1.0
pitch
: 1.0
# ───── Projectiles ───────────────────────────────────────────────────────────────
projectile_launch
:
# When a player shoots an arrow or other projectile
sound
:
"ENTITY_ARROW_SHOOT"
volume
: 1.0
pitch
: 1.0
projectile_hit
:
# When a projectile hits something
sound
:
"BLOCK_STONE_HIT"
volume
: 1.0
pitch
: 1.0
![[IMG]](//proxy.spigotmc.org/c796cec739790e683d52b88d55f4e306b98048d2/68747470733a2f2f6275696c7462796269742e636f6d2f6174746163686d656e74732f6372797468782d706e672e313130353033312f3f7072657365743d66756c6c7231)