Modmain.lua

Here you should do next things:

Load your mod scripts
To do it, use:

(see: API/Common functions)

Set PrefabFiles
PrefabFiles is a variable that DST expects to be set by the modmain.lua script. Write there a list of strings with all prefabs you added.

Set Assets
Similar to PrefabFiles, here you should write list of your assets. Please see: Assets