Get value of parameter in editor

I curently developping a pluggin, the plugin will just be use for store common value that will not change during game, like default color of some stuff.


But as im still noob in javascript I ask myself how to that. I got jam after this step...

Spoiler
 * @param SystemColor
 * @desc Color for text about System stuff
 * @default 1
 *
 * @param ObjetColor
 * @desc Color about text about Objet stuff
 * @default 1
 *
 * @param KeyObjetColor
 * @desc Color about KeyObjet stuff
 * @default 1
 */



I don't want to do bad coding. Also, I ask myself if I can recover this text directly in a text box.


So I want that when im in editor and do some dialog or code to be able to get these value for use them.


For exemple a stair sound filename or a index of a color to be able to change faster valu all at once.


Thanks.


Thanks for your help.
I'm not really sure what you're asking.  Plugins do not, and have never been able to, change the editor.


But you can use the values in a text box / dialogue if you include code in your plugin that will allow you to use it in a text box.  


Take a look at the 'more escape codes' plugin that ships with the engine as DLC - it lets you define parameters like you've done, and then makes text boxes alter their behaviour based on those parameters.
I'm not really sure what you're asking. Plugins do not, and have never been able to, change the editor.


But you can use the values in a text box / dialogue if you include code in your plugin that will allow you to use it in a text box.


Take a look at the 'more escape codes' plugin that ships with the engine as DLC - it lets you define parameters like you've done, and then makes text boxes alter their behaviour based on those parameters.

In fact I want a plugging that do nothing except store value. The idea it's that I will be able to use it for store my music list that was used often and change it there if I need for change it everywhere.

So no more specific valu in my code, everything specific will be stored in plugging settings.
Unfortunatly rpg maker did't have a "constant" type.

Original thread: https://forums.rpgmakerweb.com/threads/get-value-of-parameter-in-editor.74189/