Adding Mod Support to Game

If I wanted to add mod support to my game such as adding new maps models textures etc. and having .dlls or scripts loaded at run time that modified the game how would I go about doing that. I.e. Games like KSP (yes I know those are Unity games.)

Bump^ I would love to know how to add mod support to a UE4 game as well.