Mineuniverse
Log in Register
Mods

Music Trigger

A mod that lets you play specific music whenever an FTB Quest is completed.
by Flechazo098
Download Claim this project
925 downloads
0 likes
Updated Jul 6, 2026
0 hypes
Addons KubeJS

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");
});
music_trigger-1.0.0.jar
MC Client, 1.21.1, NeoForge, Server
Release 2026-03-05 Get

More from Flechazo098

Nekoration-Reborn
6,435
AuraTip
584
ServerEye
57
Contact: LoveRekindled
54,505
Ultramarine Rekindled
3,109
Touhou Little Maid: Epistalove
26,731

You Might Also Like

SI: Scriptified [DISCONTINUED]
DISCONTINUED
99,868
FTB Quests Entity Visualization
Adds entity visualization to FTB Quests
99,525
JEI / REI WorldGen
JEI/REI Addon for World Gen Information with universal compatibility for all mods ores by utilizing biome generation data
99,419
Pixel Blocks
Pokemon Lucky Block! When mining the pixel block a random pokemon spawns.
9,988
TFC Bonsai
Add TFC Trees to bonsai pots
9,988
Laser Eyes
A "laser eyes" addon for the Viltrumite mod.
9,968