Host your own processor

For big servers and languages the built-in options don't cover. Tell us about the machine and we'll size the speech model and workers for it.

Machine

01The machine running the processor

Add up the players of every Minecraft server that will use this processor.

Languages

02Languages your players speak

One language is faster and more accurate. Several turn on automatic detection.

Security and recordings

03Server key and recordings

Made in your browser. Put the same key in the plugin's server_key.

Save voice recordings

Recommended. Audio is transcribed and thrown away.

Everything is built in your browser. Nothing you type here is sent anywhere.

Processor setup

2 workers, Whisper small

  • Whisper small (balanced, about 500 MB) fits 8 GB of RAM and 4 CPU cores.
  • 2 transcription workers with 2 threads each uses the CPU without overloading it.
  • Speech is always read as English, which is faster and more accurate than detection.
VoiceSentinel 3.10.1
{
  "pool_server": false,
  "server": {
    "host": "0.0.0.0",
    "port": 28472,
    "server_key": ""
  },
  "license_enforcement": {
    "enabled": true,
    "mode": "enforce",
    "product_id": "72862",
    "verify_urls": [
      "https://key.pandascript.dev/api/client/verify",
      "https://pandascript-license-worker.pandascript.workers.dev/api/client/verify"
    ],
    "cache_ttl_seconds": 900,
    "negative_cache_seconds": 120,
    "grace_seconds": 3600,
    "timeout_seconds": 8,
    "_comment": "Server-side license check that a cracked plugin jar cannot bypass (it runs on the processor, not in the client). enabled: true/false; if you remove this whole block the default is ON for pool_server processors and OFF for self-hosted. mode: 'enforce' rejects invalid/expired/inactive licenses; 'log_only' records them (with IP) in the pool audit log but still serves them, so you can see who is cracking before you flip enforcement on. grace_seconds: a license that verified OK within this window keeps working if the key API is briefly unreachable, so a Cloudflare/key-API outage does not disconnect paying customers; a never-verified license is still rejected during an outage. cache_ttl_seconds: how long a good result is trusted before re-checking."
  },
  "transcription": {
    "model": "Systran/faster-whisper-small",
    "language": "en",
    "device": "cpu",
    "compute_type": "int8",
    "timeout_seconds": 30,
    "cpu_threads": 2,
    "beam_size": 5,
    "vad_filter": true,
    "use_memory_input": false,
    "huggingface_token": "",
    "_comment": "Model options: base (fastest, ~150MB), small (~500MB), medium (~1.5GB), large-v2/v3 (~3GB). beam_size: 1 is faster, 5 is more accurate. use_memory_input: skip temp WAV files when true. Language: 'auto' for automatic detection (recommended for multi-language), 'en' for English-only (forces English transcription, may misinterpret other languages)"
  },
  "audio": {
    "min_audio_length_ms": 50,
    "max_audio_length_ms": 30000,
    "sample_rate": 16000,
    "channels": 1
  },
  "recordings": {
    "save_mode": "none",
    "save_path": "recordings/",
    "retention_days": 7
  },
  "processing": {
    "queue_max_size": 500,
    "worker_count": 2,
    "stt_concurrency": 2,
    "_comment": "worker_count: parallel queue workers. stt_concurrency: max simultaneous transcriptions (defaults to worker_count). Increase both for busy pool servers; lower on CPU-only hosts if load is too high."
  },
  "response": {
    "include_audio": false,
    "_comment": "When true, flagged transcript responses include audio_data (base64 WAV) for Discord webhook attachments"
  },
  "cors": {
    "allow_origins": [
      "*"
    ],
    "allow_credentials": false,
    "allow_methods": [
      "*"
    ],
    "allow_headers": [
      "*"
    ]
  },
  "llm_profanity": {
    "enabled": false,
    "provider": "ollama",
    "api_key": "http://localhost:11434",
    "model": "llama2",
    "timeout_seconds": 15,
    "confidence_threshold": 0.7,
    "strictness": "medium",
    "max_concurrent_requests": 3,
    "fallback_on_error": true,
    "_comment": "LLM profanity detection. Providers: 'openai', 'anthropic', 'ollama'. For Ollama: provider='ollama', api_key='http://localhost:11434' (or empty for default), model='llama2' (or any pulled model). strictness: 'strict' (only severe), 'medium' (default), 'lenient' (obvious only). Make sure Ollama is running and model is pulled (e.g., 'ollama pull llama2')."
  },
  "console": {
    "log_transcripts": false,
    "live_display": true,
    "_comment": "console.log_transcripts: Show recent transcripts in the status dashboard. console.live_display: Enable the updating console panel. On Pterodactyl /home/container (or CONSOLE_STABLE=1), uses a stable in-place redraw instead of Rich Live to avoid flicker and clipped borders."
  },
  "report_buffer": {
    "enabled": false,
    "path": "report_buffer/",
    "retention_seconds": 604800,
    "save_audio": false
  }
}

Next steps

  1. 1On the processor machine: git clone https://github.com/jackh54/VoiceSentinel and put config.json in processor-voicesentinel/.
  2. 2Run docker compose up -d there. The first start downloads the Whisper model.
  3. 3Open port 28472, or put the processor behind HTTPS and use wss://.
  4. 4In the plugin's config.yml set processor_connection_mode: CUSTOM, processor_websocket_url to the processor's address, and server_key to the key above. The plugin config builder can do this for you.