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:
git clone https://github.com/jackh54/VoiceSentinel.gitcd VoiceSentinel/processor-voicesentinelCopy the example config and edit it (at least server_key and optionally port):
cp config.example.json config.json# Edit config.json – see ConfigurationUse a virtualenv so you don’t pollute the system Python:
python3 -m venv venvsource venv/bin/activate # Windows: venv\Scripts\activate
pip install -U pip setuptools wheelpip install --extra-index-url https://download.pytorch.org/whl/cpu -r requirements.txtRun it (default port 28472):
python3 -m uvicorn app.main:app --host 0.0.0.0 --port 28472Leave 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).
From the processor folder (VoiceSentinel/processor-voicesentinel):
cp config.example.json config.json# Edit config.json as needed
docker compose up -dThat builds and starts the container. Port 28472 is exposed by default. Mount config.json (and optionally a recordings folder) if you want to persist config; see the compose file.
Use the VoiceSentinel Processor egg so the panel runs the processor for you. Full steps: Pterodactyl Setup.
After install
Section titled “After install”- Self-hosted (plugin CUSTOM mode): Set
server.server_keyinconfig.jsonand the same value asserver_keyin the plugin’sconfig.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 ownconfig.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.
