Music Trigger

Music Trigger

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

by
49 Downloads
neoforgegame-mechanicsutility
Rent Server with this Mod

About this Mod

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");
    });

Available Versions

Music Trigger 1.0.0release
MC 1.21.1neoforge
March 5, 2026

How to Install Music Trigger on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set neoforge Loader

In the panel under "Egg", select the neoforge loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Music Trigger". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

neoforge

Minecraft Versions

1.21.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Music Trigger server crashes on startup – what to do?

Most common cause: wrong neoforge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Music Trigger compatible with neoforge?

Music Trigger officially supports neoforge for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Music Trigger – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Music Trigger consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Music Trigger with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
LicenseRef-All-Rights-Reserved
Server-side
Required

Supported Versions

1.21.1