Code (YAML):
###############################
# #
# SOUND DEFAULT #
# #
###############################
# This section defines the default sound that will be played
# when clicking on an item that is not specifically configured
# in the items section.
#
# active: true/false - Whether the sound is active or not.
# sound: Sound name - The name of the sound to be played.
# volume: Sound volume - The volume of the sound (0.0 - 1.0).
# pitch: Sound pitch - The pitch of the sound (0.0 - 2.0).
inventorysound_default:
active
: true
sound
:
"BLOCK_NOTE_BLOCK_PLING"
volume
: 1.0
pitch
: 1.0
###############################
# #
# ITEMS #
# #
###############################
# This section allows defining specific sounds for different
# items. If an item is not configured here, the default sound
# defined in 'inventorysound_default' will be used.
items:
active
: true
diamond:
type
:
"DIAMOND"
sound
:
"ENTITY_EXPERIENCE_ORB_PICKUP"
volume
: 1.0
pitch
: 1.0
oro:
type
:
"GOLD_ORE"
sound
:
"BLOCK_GOLD_BLOCK_BREAK"
volume
: 1.0
pitch
: 1.0
###############################
# #
# OTHER INVENTORIES #
# #
###############################
# This section allows defining specific sounds for different
# types of inventories, such as chests, furnaces, etc.
# BLOCKS: ANVIL, FURNACE, DISPENSER, DROPPER, HOPPER, SHULKER_BOX, BEACON.
# Etc, more at: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/event/inventory/InventoryType.html
other_invs:
active
: true
anvil:
block
:
"ANVIL"
sound
:
"ENTITY_EXPERIENCE_ORB_PICKUP"
volume
: 1.0
pitch
: 1.0
furnace:
block
:
"FURNACE"
sound
:
"ENTITY_EXPERIENCE_ORB_PICKUP"
volume
: 1.0
pitch
: 1.0