This repository demonstrates how to build tes3mp server side script using typescript.
git clone https://github.com/Sarevalak/tes3mp-typescript-example.git
cd ./tes3mp-typescript-example
npm i
npm run build
- Copy contents of directory
./dist/custom
to/server/scripts/custom
- Add
require("custom/PassiveRegen")
to/server/scripts/customScripts.lua