You are viewing a potentially older version of this package. View all versions.
Azumatt-ProximityVoiceChat-1.0.2 icon

ProximityVoiceChat

Proximity voice chat. Hear people near you, quieter as they walk away. Client side, no external program.

Date uploaded 9 hours ago
Version 1.0.2
Download link Azumatt-ProximityVoiceChat-1.0.2.zip
Downloads 221
Dependency string Azumatt-ProximityVoiceChat-1.0.2

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2350 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.

Preferred version: 5.4.2350

README

Proximity Voice Chat

Proximity voice chat for Valheim.

Players near you sound close, get quieter as they move away, and disappear completely once they're out of range.

No Mumble, TeamSpeak, or second program. Install it and talk.

Push-to-talk is B by default.

Characters move their jaws while speaking, and optional speaker icons make it easy to see who's talking, muted, or deafened.

Features

  • Positional proximity voice chat
  • Push-to-talk or voice activation
  • Per-player volume and mute controls
  • Speaking, muted, and deafened indicators
  • Character jaw movement while talking
  • Walls and obstacles muffle voices
  • Cave/reverb effects
  • Underwater muffling
  • Automatic microphone gain
  • Adaptive jitter buffering and packet-loss handling
  • Music lowers while nearby players are speaking
  • Automatic recovery when microphones are unplugged/reconnected
  • Noise Gate settings
  • Live mic testing
  • Fully configurable through Settings > Voice

Player controls

Open Menu > Player list to manage individual players on a server.

From there you can:

  • Change their volume
  • Mute/unmute them
  • See when they're currently talking

Need to know

Every player who wants to talk or listen needs the mod.

The server does not need it.

Players without the mod can still join normally, they simply won't participate in voice chat.

Installing the mod on the server is optional and allows admins to sync things like voice range and codec settings using ServerSync.

Your microphone, volume, keybinds, mute settings, and other personal preferences are never server-controlled.

Recommended to use headphones or keep your speaker volume low.

There is currently no echo cancellation or noise suppression (other than the noise gate!), so speakers may cause other players to hear themselves through your microphone.

Privacy

Your voice is sent directly to nearby players through Steam's networking.

It does not pass through the Valheim server or through a server operated by me or your admin.

The mod does not:

  • Record voice
  • Save audio to disk
  • Transcribe voice
  • Log what you say
  • Collect telemetry or analytics
  • Read or log player IP addresses

With push-to-talk, audio is only sent while you're holding the key.

With voice activation, audio is sent whenever your microphone passes the configured activation threshold.

Players outside voice range are removed from the voice connection entirely.

How it works

Valheim already gives clients the Steam IDs of connected players.

Proximity Voice Chat uses those IDs to establish peer-to-peer connections through Steam and sends small 20 ms Opus audio frames directly between players.

Incoming voice is played from the speaker's character. Valheim handles positional audio and distance naturally.

Voice also reacts to the world:

  • Walls muffle players behind them
  • Caves and other reverb zones affect voices
  • Underwater voices sound muffled
  • Volume fades with distance

The mod uses roughly 24 kbit/s per connected player at the default bitrate.

Quick start

  1. Install the mod.
  2. Join a world with someone else who has it.
  3. Hold B.
  4. Talk.

Use:

Menu > Player list

for player volume and muting.

Use:

Settings > Voice

for microphone selection, gain, voice activation, keybinds, indicators, playback settings, and testing.

Having microphone problems?

Turn on Hear myself while I talk and check that the input meter moves.

You can also enable Test tone instead of my microphone to send a test tone through the full voice pipeline without using your microphone. Perfect for testing things that might require constant talking.

Configuration

Config file:

BepInEx/config/Azumatt.ProximityVoiceChat.cfg

Most settings are also available directly under Settings > Voice.

Server synced

If the server has the mod installed:

  • Max Range
  • Range Hysteresis
  • Full Volume Range
  • Bitrate
  • Expected Packet Loss
  • Use DTX

Always controlled by you

Things like:

  • Microphone device
  • Gain / auto gain
  • Push-to-talk
  • Voice activation
  • Keybinds
  • Mute / deafen
  • Player volumes
  • Music ducking
  • Occlusion
  • Reverb
  • Underwater effects
  • Speaking indicators
  • Jaw movement

Mute and deafen are unbound by default so they don't conflict with other mods.

Known limitations

  • No echo cancellation
  • No noise suppression
  • Mono voice at 48 kHz
  • Steam only

Microphones using another sample rate are automatically resampled.

Translation

All user-facing text is stored in:

translations/English.yml

Copy the file, rename it for your language, translate the values, and place it next to the mod DLL.

Runtime strings use {0}-style placeholders

Third-party code

Voice uses Opus through Concentus, a pure C# Opus implementation.

Voice playback is partially based on MetaVoiceChat by Connor Myers.

Translations use YamlDotNet.

The mod also uses:

License notices and exact dependency versions are included in the package and under Libs/ in the code project.

Installation

Mod manager

Install normally through your mod manager.

Manual

  1. Open your Valheim installation.

  2. Place the DLL somewhere under:

    BepInEx/plugins

  3. Start the game.

The config will be created in:

BepInEx/config

Need help? Feel free to reach out on Discord.

Author

Azumatt

DISCORD: Azumatt#2625 STEAM: https://steamcommunity.com/id/azumatt/

For questions or comments, find me in the Hexium, Odin Plus Team Discord or in my own:

Hexium Odin Plus Discord Azumatt's Discord

CHANGELOG

Version Update Notes
1.0.2 - Voice now works on crossplay servers (it was switching itself off and showing "Not connected")
- Fixed voices sounding muffled and quiet under any roof, even standing right next to each other
- Voice no longer gets turned way down while the Esc menu is open, so the mic test is accurate now
- The dedicated server and crossplay players no longer vanish from the player list
1.0.1 - 1.0 Fixes
1.0.0 - First release. Mod requested by UnstableSparkey for 1.0