Mod Integrations/KubeJS

KubeJS

WIP

var questID = utils.parseInt("#AB12CD89");
var completionSound = utils.sound("minecraft:ui.toast.challenge_complete");

events.listen("ftbquests.completed", function(event) {
if(event.object.id === questID) {
var members = team.members();

for(var i = 0; i < members.size(); i++) {
members.get(i).playSound(completionSound);
}
}
}