Skip to content

VoiceSentinel – Plugin

Configuration

Plugin config.yml: license, processor mode (PUBLIC/LOCAL/CUSTOM), consent, moderation, mute ladder, audio capture and live detection, storage, Cloud, voice reports, web dashboard, Discord, telemetry and languages.

Everything here lives in plugins/VoiceSentinel/config.yml. Restart the server or run /voicesentinel reload after changes (unless noted). Word lists and messages are in plugins/VoiceSentinel/config/.

Values shown as defaults are the ones in the config.yml that ships with 3.10.1. An upgraded config keeps its own values. See Updating.

Option What it does
license-key Your license key. Required. Without a valid key the plugin stays loaded but does not moderate. Run /voicesentinel license <key> to activate it with no restart (the key is saved to config.yml).
processor_connection_mode PUBLIC (default) = shared processor pool, audio is sent to the pool. LOCAL = On-Server Mode, no Docker, audio stays on this machine. CUSTOM = your own processor at processor_websocket_url.
processor_websocket_url WebSocket URL of your processor in CUSTOM mode, for example ws://192.168.1.5:28472 or wss://processor.example.com. Not used in LOCAL or PUBLIC mode.
processor_discovery_url Optional. Where the plugin fetches the PUBLIC pool directory. Not in the default file. Override only if directed.
server_key CUSTOM: must match server.server_key in the processor’s config.json (16 to 256 alphanumeric). PUBLIC: leave blank. LOCAL: not used.
server_name Optional display name in Discord, alerts, Cloud and vendor telemetry (server_label). Set something readable (for example Survival) if you run several servers on one license. Empty = the server MOTD, then the server software name.

Example (self-hosted):

license-key: "your-license-key"
processor_connection_mode: CUSTOM
processor_websocket_url: "ws://192.168.1.5:28472"
server_key: "MySecretKeyAtLeast16CharsLong"

Used only when processor_connection_mode: LOCAL. See On-Server Mode.

local_engine:
profile: ENGLISH
threads: 2
Option Default Description
profile ENGLISH ENGLISH = fast, checks every hit twice, live detection, about 1 GB free RAM. MULTILANG = many languages, one check, about 2.5 GB free RAM.
threads 2 CPU threads for the engine (1 to 16).
Option Default Description
enabled true Master switch for sending audio to the processor and applying moderation.
voice_backend AUTO SVC (Simple Voice Chat), PLASMOVOICE, or AUTO (use the one that is installed). Do not run both voice mods.
alert_staff true Players with voicesentinel.alerts get in-game alerts when content is flagged.
flag_threshold 1 Flags in a session before alerts, strikes and actions start. 1 = the first hit counts. An unconfirmed hit does not count.
mute-duration-minutes 60 Auto-mute length when the mute ladder is off.
disable-listening-on-mute false Deprecated. Use mutes.listen. Upgrades copy its value into mutes.listen.
health_check_interval 10000 How often the plugin checks processor health, in milliseconds (minimum 5000).

The consent block sets whether joining counts as consent (NOTICE) or players accept in a menu (GUI). See Consent for every option.

Option Default Description
consent.mode NOTICE NOTICE or GUI.
consent.on_deny IGNORE GUI mode. IGNORE = player stays, voice not processed. KICK = player is removed. MUTE (3.11+) = player stays and can listen, but cannot speak until they accept.
consent.rules_version 1 Raise to ask everyone again.
privacy-join-msg true Show privacy-msg to players when they join.
privacy-msg (text) The notice. Supports & colour codes.

Every hit is mild, moderate or severe. The moderation block sets what happens at each strike. Full explanation: Moderation and escalation.

moderation:
require_confirmation: true
escalation:
enabled: true
window_minutes: 10
mild: [report, warn, mute]
moderate: [warn, mute]
severe: [mute]
warn_message: "&cPlease keep voice chat respectful."
appeal_message: "&7To appeal, contact staff."
appeal_url: "" # optional; makes appeal_message a clickable link
network_strikes: true
Option Default Description
require_confirmation true A hit that Double Check rejects is shown to staff as unconfirmed and never warns or mutes. No effect on processors without Double Check.
escalation.enabled true false = always use the first step.
escalation.window_minutes 10 Strikes older than this do not count.
escalation.mild / moderate / severe see above Steps for the 1st, 2nd, 3rd strike. The last step repeats. Steps: report, warn, mute.
warn_message &cPlease keep voice chat respectful. Sent on a warn step.
appeal_message &7To appeal, contact staff. Sent after every automatic mute, unless Cloud gives the player its own appeal link.
appeal_url "" Makes appeal_message a clickable link.
network_strikes true With MySQL/MariaDB storage, count strikes across every server on the database.

Who blocks a muted player’s voice, and what a muted player can still do. Since 3.10 VoiceSentinel blocks muted players itself, so LuckPerms is optional.

mutes:
enforcement: NATIVE
mirror_luckperms: false
block:
proximity: true
whisper: true
groups: ALL
allowed_groups: []
listen: false
indicator: ACTION_BAR
notify_on_attempt: true
Option Default Description
enforcement NATIVE NATIVE = VoiceSentinel blocks the voice itself. Needs no LuckPerms. LUCKPERMS = VoiceSentinel adds a voicechat.speak deny node and the voice mod enforces it. Needs LuckPerms.
mirror_luckperms false With NATIVE, also add the LuckPerms deny node so other plugins can see the mute. Needs LuckPerms. Simple Voice Chat then blocks all of that player’s voice and the block options are ignored.
block.proximity true Block normal proximity voice.
block.whisper true Block whispering.
block.groups ALL ALL = no group voice. NONE = groups still work. OPEN_ONLY = block open groups, allow private and isolated ones.
block.allowed_groups [] Group names a muted player may still talk in, for example ["staff-appeal"]. Checked before groups.
listen false true = muted players also stop hearing others.
indicator ACTION_BAR How a muted player sees they are muted and how long is left: ACTION_BAR, BOSS_BAR, CHAT or NONE.
notify_on_attempt true Tell a muted player, at most once every 30 seconds, when they try to talk.

Simple Voice Chat supports every block option. PlasmoVoice blocks all voice for a muted player.

You can switch enforcement at any time. A mute VoiceSentinel already stored keeps being enforced and lifted after the switch. A LuckPerms deny from before 3.10 is still blocked, and /voicesentinel pardon lifts it. Switching to LUCKPERMS without LuckPerms installed turns mutes off (the console warns at start).

Mute text (indicator, attempt notice, /voicesentinel history and mutes) is in config/messages.yml.

Escalating durations for repeat auto-mutes. Works with either enforcement mode.

mute_ladder:
enabled: true
tiers:
1: "5m"
2: "15m"
3: "30m"
4: "1h"
5: "6h"
max_tier_duration: "24h"
reset_after_days: 30 # 0 = never reset offense count

Manual /voicesentinel vcmute mutes ignore the ladder. mute-duration-minutes applies when the ladder is off.

  • config/wordlist.txt holds per-language PROFANITY (mild), MODERATE and MUTE (severe) sections, plus ALLOW for words that are never flagged. See Word lists.
  • profanity_words and mute-list in config.yml are extra words. They are added to the default-language lists from wordlist.txt. Empty [] means only the file is used. The old key profanity_list is accepted like profanity_words.

After edits, run /voicesentinel reload.

Option Default Description
case_sensitive false Exact letter casing when matching words.
partial_match false false = whole words only (crap does not flag scrap). true = a word also matches inside longer words. This catches more forms but flags innocent words.

Controls when the plugin sends audio to the processor. Tuning these affects latency against fragment count.

audio_capture:
silence_threshold_ms: 500
min_audio_duration_ms: 500
# false = skip Simple Voice Chat / PlasmoVoice group chats (proximity still monitored).
monitor_groups: true
# true = with the On-Server engine (v1.1+), stream audio while a player talks so a listed word is caught mid-sentence.
live_detection: true
# How often (ms) live audio is sent while talking (100-1000).
live_chunk_ms: 200
Option Default Description
silence_threshold_ms 500 Ms of silence after speech before sending. Lower = faster response, more fragments.
min_audio_duration_ms 500 Minimum utterance length (ms) before sending. Lower = shorter clips allowed (may add noise).
monitor_groups true false = skip voice chat group chats. Proximity chat is still monitored.
live_detection true With the On-Server engine (ENGLISH profile, engine 1.1 or newer), stream audio while a player talks. See On-Server Mode.
live_chunk_ms 200 How often live audio is sent while talking (100 to 1000).
max_utterance_seconds 15 Longest piece of speech sent in one go. Longer speech is split (5 to 60).

See Performance and latency below and Processor configuration.

Where mute history, strikes and voice reports are kept. SQLite (default) or MySQL/MariaDB. Restart after changing it. See Storage.

storage:
type: SQLITE
host: "localhost"
port: 3306
database: "voicesentinel"
username: ""
password: ""
ssl: false # true = encrypt the connection (certificate is not verified)

Optional. Sends transcripts, flagged clips, mutes, strikes, reports and staff actions to your own MySQL or MariaDB database, for dashboards, ticket bots or appeal sites. Off by default. VoiceSentinel only writes to it. See Data export for the options and tables.

data_export:
enabled: false

Incident history, a Discord bot with buttons, remote unmute and player appeals. Off until you turn it on. See VoiceSentinel Cloud.

cloud:
enabled: false
upload_clips: true
appeal_links: true

Rolling in-memory transcripts per player. Used for the web dashboard moderation view and for /reportvoice. Independent of voice_report.enabled.

transcript_buffer:
enabled: true
retention_seconds: 43200
max_lines_per_player: 500

See Voice reports & transcript buffer.

Player /reportvoice and staff /viewreport / /reportinbox. Key options:

Option Description
enabled Turns the player-facing report flow on or off (default false).
interface command = /reportvoice [player] [minutes]. gui = chest menu to pick player and time range.
default_report_window_seconds / min_ / max_ Allowed time window for a report (clamped).
report_window_options_seconds Menu button lengths (seconds), clamped to min/max.
processor_evidence_url HTTP base for processor evidence (for example https://processor.example.com). Empty = derived from the WebSocket URL.
webhook_url Optional Discord webhook for the same summary staff see in-game.
staff_chat_full_transcript true = staff also get the full plain text in chat (can be spammy).
cooldown_seconds Cooldown between reports, in seconds (default 30).
max_concurrent_reports Most reports handled at the same time (default 32).

Browser operator console. See Web dashboard.

web_dashboard:
enabled: false
bind_address: "127.0.0.1"
port: 8124
path_prefix: "/voicesentinel/web"
session_minutes: 480
max_login_attempts_per_minute: 20
setup_token_minutes: 15
ip_allowlist: []
live_monitoring:
enabled: true
live_transcript: true
flagged_feed: true
player_history: true

live_monitoring controls the Live monitoring tab. Set any panel to false to hide it.

For several servers under one dashboard. Default is off.

Option Description
enabled false by default.
role MAIN = hosts the dashboard. CLIENT = remote shard. DISABLED = alerts only, if cross_server_notifications is on.
network_id Shared by every server in one network.
server_id Unique per server. Must be different on each server. Also used to tell servers apart for network strikes.
main_dashboard_url URL of the MAIN dashboard. Same on every server.
api_key Shared key between servers.
redis_uri For example redis://:pass@host:6379/0.
sync_wordlists_from_main true = MAIN pushes word lists to CLIENT servers.
max_events_per_player Cap for synced transcript events per player (3000).
cross_server_notifications true = staff alerts reach every networked server.

Console commands when someone is auto-muted or when a hit does not mute. Placeholders: {player}, {words}, {transcript}. See Custom commands for conditions, Folia/Paper thread behaviour and command whitelist notes.

custom_commands:
mute_commands: ["say {player} was voice muted."]
profanity_commands: []
keyword_commands: {}
auto_mute_builtin:
luckperms_voice_mute: true
player_message: true
staff_alert: true
discord_webhook: true
mute_event_log: true
console_log: true
  • keyword_commands: per-word command lists. They run first when a mapped word is detected.
  • mute_commands / profanity_commands: global fallbacks when there is no keyword mapping for that word.
  • auto_mute_builtin: turns parts of the built-in auto-mute on or off. luckperms_voice_mute: false turns the built-in mute off, so you mute with your own mute_commands instead. The name is historical: with mutes.enforcement: NATIVE the built-in mute does not need LuckPerms.

Under discord: enabled, webhook_url, username, avatar_url, embed_color, ping_role_id, timeout_seconds, retry_attempts, include_transcript, include_server_info, include_audio (needs response.include_audio: true on the processor), plus customization titles and fields.

Test: /voicesentinel discordtest with all, flag or mute. See Discord webhooks.

Under discord_mute: separate webhook for mute and unmute events. include_transcript can be flagged, muted, both or none. include_audio also needs the processor response.include_audio flag.

Every 15 minutes (aligned with license revalidation) the plugin may send usage counters to the license server.

Not sent: transcripts, player names, flagged words.

Sent: counters since the last report (utterances, transcripts, flags, mutes, staff alerts, reports, reconnects, dropped audio), latency percentiles, the online player count, plugin and Minecraft version, server software, the processor mode, server_name and network_sync.server_id, the server IP, and a per-server hardware id (hwid). Reports are keyed by a SHA-256 fingerprint of your license key.

telemetry:
enabled: true
Option Default Description
telemetry.enabled true Set false to opt out.

The URL, retry count and backoff are fixed in the plugin (license API host + /api/metrics, 2 retries, 2 s then 5 s). Telemetry is best-effort. A failure never affects moderation, license validation or console warnings.

If you run a network of servers, set network_sync.server_id (and server_name) so vendor dashboards can tell shards apart under one license.

languages:
enabled: ["en"]
default: "en"

VoiceSentinel’s own %voicesentinel_...% placeholders work whenever PlaceholderAPI is installed. See Placeholders.

placeholder_api.enabled (default false) is separate: true lets PlaceholderAPI placeholders be used inside VoiceSentinel’s own messages.

Plugin (config.yml):

audio_capture:
silence_threshold_ms: 300 # send sooner after player stops talking
min_audio_duration_ms: 400 # allow shorter utterances

In On-Server Mode, live detection already catches listed words before the sentence ends. See On-Server Mode.

Processor (config.json): see Processor configuration. The keys are transcription.beam_size, transcription.use_memory_input and processing.worker_count.

final_transcript responses may include processing_time_ms, stt_time_ms and moderation_time_ms for monitoring.

File Purpose
config/wordlist.txt Word lists (Word lists).
config/messages.yml In-game and alert text (MiniMessage).
config/languages.yml Language settings.
consent.properties Players’ answers in GUI consent mode.
data/mute_history.db, data/voice_reports.db SQLite storage (default).
web/web_auth.db SQLite store for web dashboard accounts (created when used).
engine/ Downloaded On-Server engine (LOCAL mode).

Superusers can edit word lists from the web dashboard. Changes are written back to config/wordlist.txt.