MV SDJB_MiscOptions

PluginName: SDJB_MiscOptions
Author: ShadowDragon

MiscOptions.png

Options to Enable or Disable the following:
→ Instant Text (if they want it show it directly.)
→ Flash Screens (to avoid epilepsy or discomfort if they are sensitive for it.)
→ Shake Screens (to avoid motion sickness if they are sensitive for it)
→ Party Followers (to avoid motion sickness if they are sensitive for it)

When ON, this option is enabled, (rename ON in the parameters)
when OFF, this option is disabled, (rename OFF in the parameters)

Enable Color for status text (ON, OFF, Volume 0%-100%).

Set default volume in overal when they first boot the game.

Remove options commands by inserting it's symbol in the remove list.
symbols to use (add custom entries too if not in this list.

alwaysDash
commandRemember
bgmVolume
meVolume
bgsVolume
seVolume
instantText
flashScreen
shakeScreen
partyFollowers

those options are added when YEP_OptionCore is not used, if used, use those symbol:
→ instantText
→ flashScreen
→ shakeScreen
→ partyFollowers

If you are using YEP_OptionsCore.js, place SDJB_MiscOptions below it
in order to add your commands.

Spoiler: YEP_OptionsCore
Name:
Instant Text | Flash Screen | Shake Screen

Help Description:
Description for usage (ON = Eabled, OFF = Disabled).

Symbol:
instantText | flashScreen | shakeScreen | partyFollowers

Show/Hide:
show = true

Enable:
enabled = true;

Ext:
ext = 0;


Make Option Code:
this.addCommand(name, symbol, enabled, ext);

Draw Option Code:
let rect = this.itemRectForText(index);
let statusWidth = this.statusWidth();
let titleWidth = rect.width - statusWidth;
this.resetTextColor();
this.changePaintOpacity(this.isCommandEnabled(index));
this.drawOptionsName(index);
this.drawOptionsOnOff(index);

Process OK Code:
let index = this.index();
let symbol = this.commandSymbol(index);
let value = this.getConfigValue(symbol);
this.changeValue(symbol, !value);

Cursor Right Code:
let index = this.index();
let symbol = this.commandSymbol(index);
let value = this.getConfigValue(symbol);
this.changeValue(symbol, true);

Cursor Left Code:
let index = this.index();
let symbol = this.commandSymbol(index);
let value = this.getConfigValue(symbol);
this.changeValue(symbol, false);

Default Config Code:
ConfigManager[symbol] = true;

Save Config Code:
config[symbol] = ConfigManager[symbol];

Load Config Code:
ConfigManager[symbol] = !!config[symbol];

=== TERMS OF USE ===
Free for Non-Commercial and Commercial use when credit is given.
credit one of the following:
ShadowDragon
ShadowDragonJB

Version + UPDATE'S
16-21-2024 Version 0.1.0 first release
07-01-2025 Version 0.2.0 added options
12-05-2025 Version 0.2.5 added options

=== WARNING ===
YOU ARE NOT ALLOWED TO REDISTRIBUTE OR SELL IT OR TAKE CODE FOR YOUR OWN.
DO NOT REMOVE THE HEADER.

(file is below as it require my base plugin (SDJB_Base or SDJB_BaseMZ (minified version))
leave Feedback and or suggestions.
New options:
+ Change ON and OFF to the name what you want (default Enable, Disable)
+ Set default volume (default 40)
+ Add colors on (default false) when true,
ON = Green
OFF = Red
0% = white
1-49% = green
50-74% = orange
75-100% = red

+ Commands can be hidden not used if you leave the command name blank.
be warned, that this disable the shake/flash if it was off before!
enable before making it blank.
+ Remove list to remove options from the list

Enjoy, if there is problems or feedback/suggestions, let me know
Version 0.2.5 added a few new options.

able to set default Text ON/OFF (required for default values)

able to re-name new custom settings (Text ON/OFF must be set)
as there is no fail-safe setting (same for default).

name the enable/disable for custom entries.

overwrite StatusText for changing the booleanStatusText(value)
to customStatusText(symbol, value) so it could handle different names.

new option to use, party follower, so your player can decide to use
it or not.

Original thread: https://forums.rpgmakerweb.com/threads/sdjb_miscoptions.173954/