Voice Messages
Modification and plugin that adds voice message functionality to Minecraft chat.
Requires the Simple Voice Chat mod to be installed.

Important Information
This mod must be installed on both server and client for proper functionality. Players without the installed mod will not be able to see voice messages.
The mod uses the microphone configured in Simple Voice Chat with all its settings. Make sure that the "Voice Amplification" setting in Simple Voice Chat is not set to "-100%".
Also, if voice chat sounds are disabled, you will not be able to hear voice messages.
Private Voice Messages
You can send private voice messages to other players or your team using the /voicemsg <target> or /vmsg <target> commands. Note that the server may restrict the ability to send such messages through the permission system.

Server Setup
Configuration
The server configuration file is located at config/voicemessages_server.json
Here are the default values with descriptions:
{
"max_voice_message_duration_ms": 90000, // Maximum voice message duration in milliseconds in range [3000;300000]
"voice_message_spam_punishment": "none", // Punishment for sending voice message longer than time elapsed since previous message sending. Possible values: "none", "prevent", "kick"
"voice_message_invalid_punishment": "prevent", // Punishment for sending invalid voice message (longer than maximum allowed) or sending without appropriate permission. Possible values: "none", "prevent", "kick"
"mod_required": false, // If true, players will be kicked when connecting without installed mod
"mod_not_installed_text": "VoiceMessages is not installed or outdated version" // Kick message for players without installed mod
}
Permissions
voicemessages.send- permission to send voice messages. Default:truevoicemessages.send.all- permission to send voice messages to global chat. Default:truevoicemessages.send.team- permission to send private voice messages to player's team. Default:truevoicemessages.send.players- permission to send private voice messages to players. Default:true
API
This mod has its own API.
Setup in build.gradle:
repositories {
// Other repositories
maven {
name "KvotheShaed Releases"
url "https://maven.kvotheshaed.ru/releases"
}
}
dependencies {
// Other dependencies
// Voice Messages API
compileOnly "ru.dimaskama.voicemessages:voicemessages-api:${voicemessages_api_version}"
}