Script to Disable Music Use in Game

Hello! This is my first forum post here so I appologize if this isn't where it's supposed to be or anything like that.

I'm in the middle of working on a game and I'm using a few copyrighted songs. I want to be able to give the player the option to disable them if they want.

Is there a script anywhere that allows for a certain list of imported songs to be disabled for use, or am I going to have to create a switch at the beginning to disable the songs one by one where they are used?
I don't know if such a script exists and i would doubt it, honestly. You would probably need to request one over here: http://forums.rpgmakerweb.com/index.php?/forum/36-rgss3-script-requests/

Also note that this could be a decent amount of work, since the script would need to override any method that plays music and do a check beforehand if it's allowed to do so.

A switch without any scripting won't do it.

/edit: I actually didn't think about extending RPG::BGM 😀 Hime's script should do exactly what you want, KholeG.
Not sure if this handles all the cases


http://himeworks.com/2015/04/music-mute-switch/
Thank you very much! This will help immensely.
Moving to RGSS3 Script Requests
and I'm using a few copyrighted songs. I want to be able to give the player the option to disable them if they want.
Hi,

just as a small reminder: The ability to mute copyrighted songs in your game does not protect you from the copyright holder if that person or company decides to require you to take the project down or even sue you in court...

Original thread: https://forums.rpgmakerweb.com/threads/script-to-disable-music-use-in-game.39174/