MV How do I reset plugin setting values as if it were a new install?

Hello!

I'm working on incorporating plugin settings for my plugin, but I'm having issues with RM caching previous settings and reapplying them when I actually want to clear them (like a fresh install).

For example:
Code:
 * @param Player Apply
 * @parent Player
 * @type select
 * @option On
 * @value on
 * @option Off
 * @value off
 * @option Crits Only
 * @value crits

If the value was "on" previously, and I want to clear that value, how would I do this so RM doesn't reapply previous values?
Hi there!

You can apply default value to a parameter by using the tag:
@Default
1668391792190.png


Here is a useful post to check that kind of stuff:
Hello!

I'm working on incorporating plugin settings for my plugin, but I'm having issues with RM caching previous settings and reapplying them when I actually want to clear them (like a fresh install).

For example:
Code:
 * @param Player Apply
 * @parent Player
 * @type select
 * @option On
 * @value on
 * @option Off
 * @value off
 * @option Crits Only
 * @value crits

If the value was "on" previously, and I want to clear that value, how would I do this so RM doesn't reapply previous values?
If you want to clear the custom settings, remove the plugin and re-add it. But also give it a default value as Eliaquim said.
If I read the OP correctly, then both answers above are missing the point.

I read the original post this way:
he has a plugin written in version 1.0 that already has defaults and is used elsewhere. that other user has changed the settings.
he now wants to distribute a version 1.1, and want that new version to force the same or different defaults on the other user when that person updates the already used plugin from 1.0 to 1.1.

In that case he cannot change either the already changed from default settings in the other project, and the only way to remove and re-add the plugin would be by giving instructions to the other user of the plugin to do that.

And I don't think that is possible - the only way I can think of to do that is by renaming the property, and that would require changing it through the entire plugin.
The default value was what I was testing and it wasn't changing when I updated it. However, Trihan had the solution: removing it altogether and then readding it showed the changes to the default value. Thinking about it that was too obvious a solution. :LZSlol:

Appreciate the help and posts everyone!

Original thread: https://forums.rpgmakerweb.com/threads/how-do-i-reset-plugin-setting-values-as-if-it-were-a-new-install.152663/