Back to mods
Music Trigger project artwork

CurseForge · Minecraft mod

Music Trigger

A mod that lets you play specific music whenever an FTB Quest is completed.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Music Trigger release should I use?

Updated 9 months ago
Latest stable file music_trigger-1.0.0.jar
Game version 1.21.1
Loader NeoForge

Music Trigger music_trigger-1.0.0.jar targets 1.21.1 with NeoForge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 7 required mods have matching files.

Where it goes

Is Music Trigger required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release NeoForge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Music Trigger music_trigger-1.0.0.jar need?

music_trigger-1.0.0.jar. Change the file and its required mods may change too.

All 7 required mods have matching files

Install KubeJS, FTB Quests (NeoForge), Better Advanced Tooltips, Rhino and 3 more first. We found matching files for this game-version and loader setup. 15 come through another mod in the chain.

2 listed on this file 15 pulled in by those mods
KubeJS Needed by Music Trigger music_trigger-1.0.0.jar
required
Matching file found Matched file: KubeJS NeoForge 2101.7.2-build.381
FTB Quests (NeoForge) Needed by Music Trigger music_trigger-1.0.0.jar
required
Matching file found Matched file: [NEOFORGE][1.21.1] FTB Quests 2101.1.39
Better Advanced Tooltips Needed by KubeJS
pulled in
Matching file found Matched file: better-advanced-tooltips-2101.1.0-build.5.jar
Rhino Needed by KubeJS
pulled in
Matching file found Matched file: Rhino 2101.2.7-build.85
FTB Teams (NeoForge) Needed by FTB Quests (NeoForge)
pulled in
Matching file found Matched file: [NEOFORGE][1.21.1] FTB Teams 2101.1.12
Architectury API Needed by FTB Quests (NeoForge)
pulled in
Matching file found Matched file: [NeoForge 1.21] v13.0.12
FTB XMod Compat Needed by FTB Quests (NeoForge)
pulled in
Matching file found Matched file: [NEOFORGE][1.21.1] FTB XMod Compat 21.1.14
FTB Library (NeoForge) Needed by FTB Quests (NeoForge)
pulled in
Matching file found Matched file: [NEOFORGE][1.21.1] FTB Library 2101.1.40
Waystones Needed by FTB XMod Compat
pulled in
Matching file found Matched file: waystones-neoforge-1.21.1-21.1.48.jar
FTB Ranks (NeoForge) Needed by FTB XMod Compat
pulled in
Matching file found Matched file: [NEOFORGE][1.21.1] FTB Ranks 2101.1.5
Just Enough Items (JEI) Needed by FTB Library (NeoForge)
pulled in
Matching file found Matched file: 19.76.1.484 for NeoForge 1.21.1
Balm Needed by Waystones
pulled in
Matching file found Matched file: balm-neoforge-1.21.1-21.0.68.jar
MezzConfig Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig 0.7.1 for NeoForge 1.21.1
MezzConfigGUI Needed by Just Enough Items (JEI)
pulled in
Matching file found Matched file: MezzConfig GUI mc1.21.1-0.7.1 for NeoForge

15 extra mods were pulled in by other dependencies. Indented rows show who needs each one. We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Music Trigger without breaking your instance.

Built for Music Trigger music_trigger-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use music_trigger-1.0.0.jar. It targets 1.21.1 with NeoForge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install KubeJS, FTB Quests (NeoForge), Better Advanced Tooltips, Rhino and 3 more first. We found matching files for this game-version and loader setup. 15 come through another mod in the chain.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside music_trigger-1.0.0.jar. It opens that exact file at the source.

About this project

What does Music Trigger add?

Overview

This mod allows you to play a custom music track when an FTB Quest is completed. Usage is as follows:

// kubejs/server_scripts/example.js

/**
 * Play music upon quest completion
 * 
 * @param {string} questLinkObjectId - The quest ID (can be copied from the quest UI)
 * @param {string} fileName          - Name of the audio file .mp3, .wav, or .flac (must be in config/music_trigger/audio/)
 * @param {number} volume            - Playback volume, range: [0.0, 1.0]
 * @param {string} scope             - Playback scope ("self", "nearby", or "all")
 * @param {boolean} stopVanillaMusic - Whether to suppress vanilla Minecraft background music while playing (may cause unexpected behavior)
 */

MusicTriggerEvents.registerMusicTriggers(event => {
    // Basic usage: play music for all players when the quest is completed
    event.register("#67C8AAFC31D6F28B", "victory.mp3", 1.0);

    // Advanced usage: only the completing player hears it, and vanilla music is stopped
    event.register("#67C8AAFC31D6F28B", "secret_theme.mp3", 0.8, "self", true);

    // Or play only for nearby players
    event.register("#67C8AAFC31D6F28B", "boss_music.flac", 1.0, "nearby");
});

Project description from CurseForge.

Pick your setup

Music Trigger by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Music Trigger versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.