forked from Plactrix/TokoVoIP_v2
-
Notifications
You must be signed in to change notification settings - Fork 0
System Overview
PinguinPocalypse edited this page Jul 8, 2025
·
1 revision
TokoVoIP uses WebSockets to bridge FiveM with TeamSpeak.
Because FiveM blocks local WebSocket connections, you must use a remote WebSocket server (ws-server), even if it’s hosted on the same machine.
-
tokovoip script→ws-server→master server(register handshake) -
ts3-plugin→master server(fetch handshake) →ws-server
Once the handshake is complete, the master server is no longer used.
-
tokovoip script↔ws-server↔ts3-plugin
A WebSocket server that bridges communication between the FiveM client script and TeamSpeak. It can be deployed either:
- As a FiveM resource (integrated into tokovoip_script)
- As a standalone Node.js service
The FiveM resource responsible for:
- Connecting to the
ws-server - Integrating with the TeamSpeak plugin
- Managing proximity chat, radio channels, and in-game voice logic
A centralized service that manages multiple server instances. Features include:
- Client and server registration
- Handshake coordination
- Version control and update messages
- Automatic cleanup of inactive entries