Community listing page, reviews here may not be monitored by the author.
Music Trigger
No reviews yet
A mod that lets you play specific music whenever an FTB Quest is completed.
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Filters
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
Compatibility
Supported Environments
Must be installed on both the client and the server.
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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");
});
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");
});
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers