MZ QOL Default Settings Plugin

I distinctly remember there was a plugin for MV that set the default volume of all the audio options down to 30, auto-dash to on, etc etc.

Does anyone know if there's one similar for MZ? I tried using the MV plugin in MZ and just ran into some issues, but I'd really like to not have my ear drums explode every time I playtest my game.
Here, I wrote and tested a small plugin for it...

(Save this as a js file)

JavaScript:
/*:
 * @target MZ
 * @plugindesc Sets default volume for BGM, BGS, ME, and SE to 30%.
 * @author TotalyNate
 *
 * @help DefaultAudioVolume.js
 *
 * This plugin sets the default volume levels for all audio types
 * (BGM, BGS, ME, SE) to 30% when the game starts.
 *
 * There are no plugin commands.
 */


(() => {
    const DEFAULT_VOLUME = 30;


    const _ConfigManager_applyData = ConfigManager.applyData;
    ConfigManager.applyData = function(config) {
        _ConfigManager_applyData.call(this, config);
        this.bgmVolume = DEFAULT_VOLUME;
        this.bgsVolume = DEFAULT_VOLUME;
        this.meVolume = DEFAULT_VOLUME;
        this.seVolume = DEFAULT_VOLUME;
    };


    const _ConfigManager_makeData = ConfigManager.makeData;
    ConfigManager.makeData = function() {
        const config = _ConfigManager_makeData.call(this);
        config.bgmVolume = DEFAULT_VOLUME;
        config.bgsVolume = DEFAULT_VOLUME;
        config.meVolume = DEFAULT_VOLUME;
        config.seVolume = DEFAULT_VOLUME;
        return config;
    };
})();
My Dev Master Volume plugin lets you reduce the volume level by a percentage you specify.

The advantage to this is that it doesn't change the actual volume level referenced by the engine, so the user doesn't see their setting jacked way down to 30 or whatever (and, of course, you can change the parameter without having to open and edit the plugin).

Thanks a ton to the both of you! Really appreciate it!

Original thread: https://forums.rpgmakerweb.com/threads/qol-default-settings-plugin.180753/