Skip to content

Configuration — sounds.yml ​

The sounds.yml file controls the sounds played during mine events: reset start, reset end, mine creation, mine deletion and GUI actions.

To apply changes run /mine reload.


Full file with comments ​

yaml
# ============================================================
#  NXMines — Sounds
#  sound: name of the Bukkit Sound enum (see wiki.vg/Sounds)
#  volume: 0.0–1.0+ (affects the audible radius)
#  pitch: 0.5–2.0
#  enabled: true/false
# ============================================================

reset:
  start:
    enabled: true
    sound: BLOCK_BEACON_ACTIVATE
    volume: 1.0
    pitch: 1.0

  complete:
    enabled: true
    sound: BLOCK_BEACON_DEACTIVATE
    volume: 1.0
    pitch: 1.2

mine:
  created:
    enabled: true
    sound: ENTITY_PLAYER_LEVELUP
    volume: 1.0
    pitch: 1.0

  deleted:
    enabled: true
    sound: ENTITY_ITEM_BREAK
    volume: 1.0
    pitch: 0.8

gui:
  click:
    enabled: true
    sound: UI_BUTTON_CLICK
    volume: 0.5
    pitch: 1.0

  error:
    enabled: true
    sound: ENTITY_VILLAGER_NO
    volume: 0.8
    pitch: 1.0

  success:
    enabled: true
    sound: ENTITY_PLAYER_LEVELUP
    volume: 0.8
    pitch: 1.5

Event reference ​

SectionDescription
reset.startSound when a mine reset begins.
reset.completeSound when a mine reset finishes.
mine.createdSound when a new mine is created.
mine.deletedSound when a mine is deleted.
gui.clickSound when clicking a GUI button.
gui.errorSound when an error occurs in the GUI (e.g. invalid composition).
gui.successSound when a GUI action succeeds (e.g. saving the composition).

Fields per event ​

FieldTypeDescription
enabledBooleanIf false, the sound for this event is disabled.
soundStringName of the Bukkit Sound enum.
volumeDoubleSound volume. Values above 1.0 increase the audible radius.
pitchDoubleSound pitch (0.5 = low, 2.0 = high).

Common sound examples ​

Sound nameDescription
BLOCK_BEACON_ACTIVATEBeacon activation (deep and smooth).
BLOCK_BEACON_DEACTIVATEBeacon deactivation.
ENTITY_PLAYER_LEVELUPLevel up (cheerful).
ENTITY_ITEM_BREAKItem breaking.
UI_BUTTON_CLICKUI button click.
ENTITY_VILLAGER_NOVillager grunt (rejection).
BLOCK_ANVIL_USEAnvil use.
ENTITY_ENDER_DRAGON_FLAPEnder dragon wings.
BLOCK_NOTE_BLOCK_PLINGBright musical note.

See the Bukkit documentation for the full list of sounds available in your version.

Desarrollado con ❤️ por Naxito's Studios