VoiceSentinel is a real-time voice moderation system for Minecraft servers using Simple Voice Chat or PlasmoVoice.
This public repo holds the self-hostable speech processor. The Minecraft plugin and its On-Server speech engine are closed source and sold on BuiltByBit.
| Folder | What it is |
|---|---|
processor-voicesentinel/ |
Python processor for the public pool and self-hosting. |
The On-Server engine (LOCAL mode, no Docker or Python needed) is downloaded by the plugin automatically.
Three ways to run it: On-Server (LOCAL), Public Pool (PUBLIC) or Self-Hosted (CUSTOM).
- Real-time voice transcription using Faster Whisper (Systran/faster-whisper-large-v3)
- Multi-language support with automatic detection
- Advanced profanity detection with customizable word lists
- Configurable audio processing
- Rate limiting and authentication
- Queue-based processing for high-volume voice chat
- Recording save functionality (all, flagged, or none)
- Asynchronous processing
- Docker support
- CPU-optimized for cost-effective hosting
- WebSocket-based communication
- Automatic cleanup of temporary files
- Health monitoring
- Folia & Paper compatibility
- Simple Voice Chat integration (default)
- PlasmoVoice integration (
voice_backend: PLASMOVOICEorAUTO)
- "Live monitoring" tab in the web dashboard: live transcript stream, flagged-event feed, and per-player voice history.
- A standard part of the plugin — the whole plugin requires a valid license, so these panels work on any licensed install. Individual panels can be toggled in
config.yml.
- In-memory rolling transcript buffer per player (all final transcripts, not only flagged lines).
/reportvoice <player> [minutes](or a chest GUI whenvoice_report.interfaceisgui) notifies staff withvoicesentinel.report.review. Staff see a compact chat line with a clickable Open book action (and the same command printed:/viewreport <player> <minutes>matching the report window)./viewreport <player> [minutes]opens a written book with the local buffer plus optional processor evidence—the same payload as the report, formatted for reading. Optionalvoice_report.staff_chat_full_transcript: truerestores dumping the full plain text in chat for staff who want it.- Optional processor retention: enable
report_buffer.enabledon the processor (if it is off,GET /report/evidencereturns 404 with a hint in the JSON body). CallGET /report/evidence?player=<name>&seconds=<n>withX-License-Key(same as the plugin) andX-Server-Keymatching WebSocket auth (the plugin sends the public pool key in PUBLIC mode andserver_keyfromconfig.ymlin CUSTOM mode). Stored transcripts live underreport_buffer/<license_sha256>/<server_key_sha256>/so different licenses never share data. Different Minecraft servers with the same license are isolated only if they use differentserver_keyvalues (typical for self-hosted); on a public pool everyone shares the same poolserver_key, so the second path segment is identical for all pool users under that license (still isolated from other licenses). Use HTTPS in front of public or shared processors.
- Java 21+ for the Minecraft plugin
- Python 3.8+ for the processor
- Minecraft 1.21+ Folia or Paper
- Simple Voice Chat or PlasmoVoice (not both)
- Self-hosted processor: 4GB RAM minimum (8GB+ recommended)
- On-Server Mode: about 1GB free RAM for English, about 2.5GB for multi-language
- Multi-core CPU
- Backend: FastAPI, Faster Whisper, NumPy, WebSockets
git clone https://github.com/jackh54/VoiceSentinel.git
cd VoiceSentinel/processor-voicesentinel
cp config.example.json config.json
# Edit config.json with your settings
docker compose up -d
# View logs
docker compose logs -fInstall and configure the plugin. Set the same server-key in both processor & plugin configuration.
{
"server": {
"host": "0.0.0.0",
"port": 28472,
"server_key": "your-secure-key-here"
},
"transcription": {
"model": "Systran/faster-whisper-large-v3",
"language": "auto",
"device": "cpu",
"compute_type": "int8"
},
"recordings": {
"save_mode": "none",
"save_path": "recordings/",
"retention_days": 7
}
}Recording save modes:
none- Do not save recordingsall- Save all recordingsflagged- Save only flagged recordings
Cloudflare Containers is an optional managed deployment path for the processor. Self-hosting via Docker Compose (above) remains the default and fully supported workflow — no config or behavior changes are required for existing installs.
For prerequisites, secrets, R2 bindings, sizing, and deploy steps, see processor-voicesentinel/cloudflare/README.md.
Important: When using the recordings configuration (specifically save_mode, save_path, and retention_days), server operators must comply with all applicable local, state, and federal laws regarding voice recording and data privacy.
Legal Requirements:
- Consent Laws: You must comply with all-party consent laws where applicable. In jurisdictions requiring all-party consent, all participants must be informed and consent to recording before any recording occurs.
- User Notification: Server operators are required to inform all users when voice recording is enabled. This notification must be clear, conspicuous, and provided before recording begins.
- Data Retention: Configure
retention_daysto reflect your compliance requirements. Limit retention periods to the minimum necessary for your use case and delete recordings promptly after the retention period expires. - Data Access & Security: Implement appropriate access controls and security measures for recorded data. Handle all recorded data in accordance with GDPR, CCPA, and other applicable privacy regulations.
- Best Practices: Review and update both
retention_daysandsave_modesettings to ensure they align with your legal obligations, privacy policy, and security best practices. Consider usingsave_mode: "flagged"to minimize data collection when possible.
- Use a reverse proxy (nginx/Apache) for SSL termination
- Configure proper server keys for authentication
- Set up health checks for container orchestration
- Use Faster Whisper (default) for best performance
- Choose model size:
tiny(fastest) tolarge-v3(most accurate) - Adjust
compute_type:int8for CPU (fastest) - Configure CPU threads based on your cores
- Set
transcription.beam_size: 1andprocessing.worker_count: 2+in processorconfig.json - Tune plugin
audio_capture.silence_threshold_ms(default 500) for faster end-of-utterance detection
- API key authentication
- Rate limiting
- Input validation
- Secure file handling with automatic cleanup
- CORS configuration
For security vulnerabilities, see SECURITY.md.
The processor verifies each connecting client's license against the PandaScript key
API before doing any work, and again on the /report/evidence and /report/audio
endpoints. Because this runs on the processor, a patched/cracked plugin jar cannot
bypass it: even if the client-side LicenseManager is defeated, a connection with an
invalid, expired, or inactive license is rejected and logged (with IP) in the pool
audit log. Premium report-evidence sync therefore only works for valid licenses.
Configure it under license_enforcement in the processor config.json (see
config.example.json):
enabled—true/false. Omit the block to default ON for pool processors, OFF for self-hosted.mode—enforce(reject bad licenses) orlog_only(record offender IPs without disconnecting, for a safe rollout).grace_seconds— a license verified OK within this window keeps working if the key API is briefly unreachable, so an upstream outage never disconnects paying customers; never-verified licenses are still rejected during an outage.cache_ttl_seconds,verify_urls,product_id,timeout_seconds— tuning / endpoints.
Clients also send a signed handshake (client_version + client_sig, an HMAC over the
license/product/version). The processor recomputes it and records client_integrity
(ok / mismatch / absent) per connection, so tampered or rebuilt clients are
flagged in the audit log even when they present a valid key.
The web dashboard includes a "Live monitoring" tab with three panels:
- Live transcript stream — recent buffered transcript lines across every online speaker, newest first, flagged lines highlighted.
- Flagged-event feed — recent flagged voice lines plus the unreviewed-report count.
- Per-player voice history — one player's recent transcript, processor evidence, and mute history in a single view.
This is a standard part of the plugin, not a separate add-on. The whole plugin requires a valid
license to run at all, and license verification is applied throughout (see the server-side and
integrity sections above), so these panels are available on any licensed install. The richest
data — processor evidence/audio — comes through /report/evidence and /report/audio, which
verify the license server-side, so the information is only ever served to a verified client.
Each panel can be toggled independently in the plugin config.yml under the web dashboard
settings (all default on).
logs/processor.log- Backend processing logs
/health- Health check/stats- System statistics/report/evidence- License-scoped transcript evidence (requiresreport_buffer.enabled; authenticate withX-License-Key, optionalX-Server-Keywhen configured)
This project is licensed under the VoiceSentinel Source-Available License v1.0. You may view and contribute to the code, but may not use, redistribute, or incorporate it in your own projects without explicit permission.
Unauthorized use will result in DMCA takedowns and legal action.
See LICENSE file for details.
- Documentation: Gitbook
- Discord: Join our community
- Issues: GitHub Issues
- Security: security@pandadevv.dev
- New
consent.on_deny: MUTEforconsent.mode: GUI. A player who denies the voice chat rules stays on the server and can hear voice chat, but nobody hears them until they accept. Works with Simple Voice Chat and PlasmoVoice - New
consent.muted_message, sent to players who deny in MUTE mode. Existing configs get it automatically (config-version 18)
- Bedrock players (through Geyser and Floodgate) now get a native Bedrock form for the voice chat rules in
consent.mode: GUI. Before, the menu could be invisible to them and stop them from interacting until they relogged - Java players see the rules menu a moment after joining instead of instantly
/vs vcmuteand/vs unvcmutenow work on offline players. A mute applies as soon as they join, and you can unmute someone without waiting for them to come online- Players can be named with or without the Bedrock
.prefix, or by UUID
- Built-in voice mutes: VoiceSentinel now blocks muted players itself, so LuckPerms is no longer needed. New
mutes:options set what a muted player can't use (proximity, whisper, groups, or all but named groups) and whether they can still hear others - Muted players see how long they have left and are told when they try to talk
- New staff commands:
/vs pardon,/vs historyand/vs mutes./vs vcmutetakes an optional reason [XX-ALLOW]section in the word list for words that should never be flagged- PlaceholderAPI placeholders:
%voicesentinel_muted%,%voicesentinel_mute_remaining%,%voicesentinel_mute_reason%,%voicesentinel_strikes%,%voicesentinel_consent% - Optional data export database (
data_export:, off by default): send transcripts, flagged clips, mutes, strikes, reports and staff actions to your own MySQL or MariaDB database for dashboards, ticket bots or appeal sites - VoiceSentinel stays loaded without a license key: activate it with
/vs license <key>, no restart needed /vs testnow checks your whole setup- Folia: usage statistics and several scheduler fixes
- Your config.yml and messages.yml are updated automatically, and your edits are kept
- General performance and stability improvements
- On-Server Mode: faster, more reliable speech engine setup on fresh installs
- Engine setup never hangs: it gives up cleanly and tells you what to do
- Servers that share a plugin folder no longer set up the engine twice at once
- Clearer console messages when the engine can't be set up
- General performance and stability improvements
- Faster recovery when the connection to the speech processor drops: VoiceSentinel now notices a dead connection within seconds and reconnects on its own
- Fixed
/vs reloadsometimes dropping the processor connection - Fixed auto-mute stopping for a player for the rest of their session when the mute ladder had no valid tiers
- The
voicesentinel.reload,voicesentinel.statsandvoicesentinel.vcmutepermissions now work on their own, as documented /vshelp now lists every subcommand- More accurate anonymous usage statistics (turn off with
telemetry.enabled: false) - General performance and stability improvements
- Bug and performance fixes
- Faster live checks, mostly on older CPUs: a live hit is confirmed by one model instead of two
- End-of-sentence checks no longer wait behind other players' checks
- Default mute broadcast now reads "{player} was voice muted." (only changed if you never edited it)
- Live detection in On-Server Mode: a listed word is caught while the player is still talking, about 0.7 s after the word on a modern CPU
- Every live hit is confirmed by Double Check; the end-of-sentence check stays as a backstop
- New default word list: whole-word matching, a filled moderate tier, self-harm phrases and slurs as mute words
- Cleaner console and chat messages, one line per mute or flag
- On-Server Mode: no Docker, no cloud, audio stays on your machine
- Double Check: a second speech model confirms hits in English On-Server Mode
- Consent options: join notice or confirm/deny menu, with optional kick
- 1-day signed license lease, developer API events,
/vs testand/vs debug
- Fix race condition in report buffer retention cleanup (GHSA-vhqx-3242-77j7)
Built by pandadevv