altv-crc core
A TypeScript Cross Resource Reloader, Transpiler, and Reconnector
Spend more time coding, and less time restarting
A simple Typescript Boilerplate that builds incredibly fast using the SWC Library.
- Auto restart individual resources on file change.
- Auto build resources on file change.
- Flag individual resources for full reconnection.
- Compile multiple resources at once
- Auto reconnect on a Windows PC instantly
- Auto download latest alt:V Binaries on installation
Use the command below in any terminal, command prompt, etc.
git clone https://github.com/altv-crc/altv-crc-core
Use the command below in any terminal, command prompt, etc.
cd altv-crc-core
npm install
If the binaries for the server did not download, you can always use this command to update.
npm run update
Run this command to run the server in development mode.
This will automatically reconnect your alt:V Client if you have debug
mode turned on.
This will also automatically rebuild and restart resources on file change.
npm run dev
Run this command to run the server in production mode.
npm run windows
Run this command to run the server in production mode.
npm run linux
Resources can be obtained from https://github.com/altv-crc
Use the key combination ctrl + c
to kill your server in your terminal, command prompt, etc.
Always add your already compiled resources & mods into the resources
folder.
Add file name .nocompile
to the resource folder you want to ignore from compiling.
Add a file called reconnect.txt
to the base folder of the resource.