Is there any way to save our plugins automatically in a file to remember them?
Not really. But all your installed plugins are in your profile directory: ~/.config/joplin-desktop/plugins
So you just have to save that dir or list its contents. However, the ids are used e.g. com.whatever.quick-links.jpl
, so you might not be able to correlate the id to the name of the plugin. Most of the time you will, but not always.