#
Server Installation (Typescript)
#
Notes
- It is recommended to keep the code up to date to avoid security vulnerabilities and ensure compatibility. All updates are announced on our Discord server, including detailed changelogs and more.
#
Quick setup
- Download the source code from here.
- Install the development dependencies:
npm install --save-dev
- Build the project:
npm run build
- After building, you will find the generated folder:
build/gta5voice
- Copy the gta5voice folder into your
packagesdirectory. - Add the following line to your packages
index.js:
require('gta5voice');
#
Configuration
- Configure servers conf.json according to your needs:
{
"VirtualServerUID": "YOUR_VIRTUAL_SERVER_UID_HERE",
"IngameChannelId": INGAME_CHANNEL_ID_HERE,
"FallbackChannelId": FALLBACK_CHANNEL_ID_HERE,
"IngameChannelPassword": "INGAME_CHANNEL_PASSWORD_HERE",
"DebuggingEnabled": false,
"Language": "en",
"CalculationInterval": 250,
"VoiceRanges": "[2, 5, 8, 15]",
"ExcludedChannels": "[100, 200, 300]",
"EnableDistanceBasedVolume": false,
"VolumeDecreaseMultiplier": 1.0,
"MinimumVoiceVolume": 0.25
}
- Make sure your Virtual Server UID is registered at https://gta5voice.com.