Skip to content

VoiceSentinel – Processor

Installation

Install the VoiceSentinel processor manually, with Docker, or via Pterodactyl.

You need Python 3.8+ (3.11 is a good choice), enough RAM (4GB minimum, 8GB+ better for heavier models), and a multi-core CPU. The processor runs as a standalone service: the Minecraft plugin connects to it over WebSocket and sends audio; the processor transcribes and checks word lists, then sends results back.

Pick one of the options below:

Clone the repo and use the processor folder:

Terminal window
git clone https://github.com/jackh54/VoiceSentinel.git
cd VoiceSentinel/processor-voicesentinel

Copy the example config and edit it (at least server_key and optionally port):

Terminal window
cp config.example.json config.json
# Edit config.json – see Configuration

Use a virtualenv so you don’t pollute the system Python:

Terminal window
python3 -m venv venv
source venv/bin/activate # Windows: venv\Scripts\activate
pip install -U pip setuptools wheel
pip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txt

Run it (default port 28472):

Terminal window
python3 -m uvicorn app.main:app --host 0.0.0.0 --port 28472

Leave that running or run it under something like systemd/screen. The plugin will connect to ws://this-machine:28472 (or whatever host/port you use).

  • Self-hosted (plugin CUSTOM mode): Set server.server_key in config.json and the same value as server_key in the plugin’s config.yml (16–256 alphanumeric). Mismatch → auth failure in processor logs.
  • PUBLIC pool: The Minecraft plugin uses processor_connection_mode: PUBLIC; you do not point it at your own config.json — follow license / pool setup instead.
  • Open the processor port on the firewall if the game server is remote.
  • For production, use a reverse proxy with HTTPS and wss://; see Securing your processor.