[Tutorial Request] SP script conversion into resource


Hello guys, first of all I don’t know if this is the correct section to post it. If not, please move it, thanks.

I just wanted to ask you if someone can explain how to convert singleplayer scripts into resources able to be added into server. For example if I want to convert this script:

Is there a way to do it? How can I? I don’t know if this script has already been converted, I didn’t search for it because I just want to learn how to convert scripts.



You would have to look at the source code of the mod if it is open source, or open the .dll files in a program such as JetBrains dotPeek to view the source, which you’d then need to convert into a resource, either using Lua or C#.