Skip to content
This repository has been archived by the owner on Dec 4, 2021. It is now read-only.
Taz edited this page Jul 15, 2021 · 25 revisions

MusicAPI V3 Function Reference

Access API functions either by using the MusicAPI global table, or by using require("scripts.musicapi.api"). If you are using the V1 legacy functions, use the MMC global table.

How it works (Reading these might help with figuring out the API)

Useful functions

  • Setting a custom jingle track, main track and end jingle for a boss
  • Adding custom music to special rooms
  • Adding multiple music IDs to one track
  • Getting the room/floor's intended track
  • Legacy functions
  • Non-music related functions

Callbacks

  • OnPlay
  • OnTrack
  • OnMusic
  • Legacy
Clone this wiki locally