Onex
Onex
Home
Products
Documentation
Changelog
Login with FiveM
  • 👋 Welcome
  • Claim Purchase
  • Translations
    • Weaponmeta
    • Voice Interaction
      Integrations
      Installation
      Llm-setup
      Stt-setup
      Tts-setup
      Configuration
      Features
      Api
Artifacts Tracker
  1. Onex Scripts
  2. Scripts_guides / Convars
Ctrl K

CONVARS#

Complete reference for every server convar supported by onex-voiceInteraction. All convars are set in server.cfg before the ensure [onex] line.

set convar_name "value" ensure [onex]

STT (Speech-to-Text)#

ConvarDefaultDescription
stt_api_key""Primary STT API key. Supports Groq, Azure, Google.
stt_provider"groq"Primary STT provider: "groq" | "azure" | "google"
azure_stt_region"eastus"Azure region for primary STT key (only used when stt_provider = "azure")
stt_api_key_2""Secondary STT API key (optional fallback if primary fails)
stt_provider_2""Secondary STT provider — required when stt_api_key_2 is set
azure_stt_region_2same as primaryAzure region for secondary key (only used when stt_provider_2 = "azure")

groq_api_key is deprecated — use stt_api_key + stt_provider "groq" instead. The old key still works as a fallback but will be removed in a future version.

TTS (Text-to-Speech)#

ConvarDefaultDescription
tts_api_key""TTS API key. When empty, Edge TTS is used (free, no key required).
tts_provider"elevenlabs"TTS provider: "elevenlabs" | "azure"
azure_tts_region"eastus"Azure region for TTS (only used when tts_provider = "azure")

LLM#

ConvarDefaultDescription
llm_api_key""LLM API key. Enables Tier 4 matching and addon AI responses.
llm_provider"groq"LLM provider: "groq" or any OpenAI-compatible endpoint identifier

Key reuse: When llm_api_key is empty, the system falls back to groq_api_key (deprecated), then to stt_api_key if stt_provider = "groq". A single Groq key for STT automatically covers LLM too.

Debug#

ConvarDefaultDescription
onex_voice_debug"false"Enable detailed voice recognition and matching output in F8 console: "true" | "false"
onex_voice_addondebug"false"Enable additional debug output from all addons (shops, banking, ambient_npc, etc.): "true" | "false"

These can also be toggled at runtime without restarting the server.

Last updated 3 months ago

Quick Links

All DocumentationOur Products