# 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

  1. Download the source code from here.
  2. Install the development dependencies:
npm install --save-dev
  1. Build the project:
npm run build
  1. After building, you will find the generated folder:
build/gta5voice
  1. Copy the gta5voice folder into your packages directory.
  2. Add the following line to your packages index.js:
require('gta5voice');

# Configuration

  1. 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
}
  1. Make sure your Virtual Server UID is registered at https://gta5voice.com.