So,
I know by the standard in MV/ MZ making the user edit a javascript file is a...big no no.
Although I was curious if offering the possibility to enhance the user power through advanced options that use Callback would be a good idea?
In simple in my current plugin, I allow people to have a custom callback function WHICH they can still call in the pluginManager/ PluginCommand.
as Show here :
and then after they can call it in the Action section of the room.
of course I plan to offers an default option (full heal etc) and Common events support but I wanted to offers an 'possibility' where the user can go and add their own custom actions.
+ this workflow is non-destructive since it doesn't force the user to edit the actual code.
what do you think?
I think making this options an good idea?
I know by the standard in MV/ MZ making the user edit a javascript file is a...big no no.
Although I was curious if offering the possibility to enhance the user power through advanced options that use Callback would be a good idea?
In simple in my current plugin, I allow people to have a custom callback function WHICH they can still call in the pluginManager/ PluginCommand.
as Show here :
and then after they can call it in the Action section of the room.
of course I plan to offers an default option (full heal etc) and Common events support but I wanted to offers an 'possibility' where the user can go and add their own custom actions.
+ this workflow is non-destructive since it doesn't force the user to edit the actual code.
what do you think?
I think making this options an good idea?
