Swap loading order at loading train content
The reason is to prevent the created addon from modification with the plugin itself.
Reasons
Unfortunately, I often come across people who have scattered the work of others. The creator asks in vain for anyone to use his work only with his permission, unfortunately quite a few do not do so. For this reason, several authors have indicated that they will not publish anything as long as this phenomenon persists. If the addon could somehow be protected from modification and re-use of its parts, several add-ons would be published. And there would be no problem with copyright either.
Solutions
Now the plugin is loaded after everything else. If the plugin has a function, which is called before the train is loaded, the plugin can protect the train files. Before the train will be loaded, the plugin can deploy the necessary files, and at the end of the game (or after the loading), the plugin can delete the files. This can protect a bit more the product. If anyone have a better idea, I am open to discuss.
Swap loading order at loading train content
The reason is to prevent the created addon from modification with the plugin itself.
Reasons
Unfortunately, I often come across people who have scattered the work of others. The creator asks in vain for anyone to use his work only with his permission, unfortunately quite a few do not do so. For this reason, several authors have indicated that they will not publish anything as long as this phenomenon persists. If the addon could somehow be protected from modification and re-use of its parts, several add-ons would be published. And there would be no problem with copyright either.
Solutions
Now the plugin is loaded after everything else. If the plugin has a function, which is called before the train is loaded, the plugin can protect the train files. Before the train will be loaded, the plugin can deploy the necessary files, and at the end of the game (or after the loading), the plugin can delete the files. This can protect a bit more the product. If anyone have a better idea, I am open to discuss.