CMakeLists.txt for custom not there.

Sorry if I look noob here, but I do not have the CMakeLists.txt in my Trinity/src/server/scripts/custom. Is there something I’m missing? Also I looked at tutorial on site and it only shows how to add it in scriptloader.cpp.

Not sure if it doesn’t require that txt file anymore… Any suggestions?

You no longer edit any cmakelists.txt files when you add a script (in normal circumstances).
Some of the script adding procedure has changed recently.

The guide should be up to date:

So it’s just adding it to scriptloader.cpp then configure with cmake and build?

Yes, roughly so.