Download server binaries quickly and easily for alt:V Servers.
Usage | Description |
---|---|
altv-pkg release |
Download latest release binaries |
altv-pkg rc |
Download latest rc binaries |
altv-pkg dev |
Download latest dev binaries |
npm i --save-dev altv-pkg
npx altv-pkg release
Create a .altvpkgrc.json
file in your root directory and add the following JSON code.
Note: The loadJSV2Module
configuration allows you to include the experimental JavaScript V2 (JSV2) module when downloading binaries. Please be aware that as of the current release, the JSV2 module is exclusively available in the dev branch.
Note: The loadVoiceServer
configuration allows you to include external voice server when downloading binaries.
Below you'll find all available options for the .altvpkgrc.json
file with their default values:
{
"loadJSModule": true,
"loadBytecodeModule": false,
"loadCSharpModule": false,
"loadJSV2Module": false,
"loadVoiceServer": false
}