VoiceAttackAPI

VoiceAttackAPI

A Minecraft mod to integrate VoiceAttack with specific aspects of the game.

by
468 Downloads
fabricgame-mechanicsutility
Rent Server with this Mod

Screenshots

VoiceAttack Configuration

About this Mod

Minecraft VoiceAttack Integration Mod

Important! This mod will not work without the companion plugin for VoiceAttack, which can be found here.

Overview

The Minecraft VoiceAttack Integration Mod is a client-side utility designed to enhance accessibility and gameplay experience by allowing VoiceAttack to communicate directly with Minecraft. This mod enables players to execute keybind actions using voice commands, making it easier to navigate the game without relying solely on traditional input methods. It is particularly beneficial for players using controller mods, as it eliminates the need to remember complex button combinations to access various mods and UIs.

Features

  • Seamless Integration: Works out of the box with controller mods, allowing for easy access to game functions without the need for complicated button combinations.
  • Voice Command Execution: Use VoiceAttack to trigger keybind actions in Minecraft, enhancing accessibility for players with different needs.
  • Automatic Port Configuration: The mod automatically establishes a connection to VoiceAttack on a specific static port, generating a unique port for communication during the handshake process.

How It Works

  1. Connection Establishment: Upon launching Minecraft with the mod, it attempts to connect to VoiceAttack on a predefined static port.

  2. Handshake Process: The mod sends a handshake request to VoiceAttack, along with a randomly generated port number for future communication.

  3. Key Command Execution: Once the handshake is successful, VoiceAttack will use the provided port to send key commands to the mod, allowing for real-time execution of keybind actions.

  4. Keybinds for Socket Management:

  • Restart Socket Server: A keybind to restart the socket server, ensuring a stable connection with VoiceAttack. Default key is R.
  • Update Mappings: A keybind to export a voiceattack_translation_keys.json file to the configs folder, which contains the translation keys for any bound key at the time of export. Default key is U.

Setup Instructions

Minecraft Mod

  • No Setup Required: Simply install the mod in your Minecraft client, and it will automatically handle the connection to VoiceAttack.

VoiceAttack Configuration

To set up VoiceAttack for use with this mod, you need to configure each command with the following parameters:

  1. Translation Key: Create a text variable named keybind that corresponds to the action you want to trigger in Minecraft. This variable should hold the translation key for the desired keybind.

  2. Execute Command: Use the Minecraft plugin for VoiceAttack to execute the command. Pass the context execute_keybind along with the keybind variable you created earlier.

Example Command Setup

  1. Create a new command in VoiceAttack.
  2. Add a text variable named keybind with the value of the desired Minecraft action (e.g., key.inventory).
  3. Add an action to execute the Minecraft plugin with the context execute_keybind and reference the keybind variable.

Exporting Translation Keys

To export the translation keys for any bound key:

  1. Use the designated keybind to export the voiceattack_translation_keys.json file.
  2. Locate the exported file in the configs folder.
  3. Reference this file to accurately send data to Minecraft via VoiceAttack.

Use Cases

  • Accessibility: Ideal for players with mobility challenges who may find traditional controls difficult to use.
  • Hands-Free Gameplay: Allows players to execute commands without needing to use their hands, making it easier to multitask or play in a more relaxed position.
  • Enhanced Gameplay: Streamlines the process of accessing various mods and UIs, improving overall gameplay efficiency.

Limitations

  • The mod does not support all keybind methods, including:
    • Player movement controls (e.g., walking, running).
    • Mouse look functionality.
    • Keybinds that require holding down a key (e.g., zooming into a world map).

VoiceAttack logo used with permission from owner.

Available Versions

VoiceAttackAPI 1.7-1.20.4release
MC 1.20.4fabric
April 19, 2025
VoiceAttackAPI 1.7-1.20.3release
MC 1.20.3fabric
April 19, 2025
VoiceAttackAPI 1.7-1.20.2release
MC 1.20.2fabric
April 19, 2025
VoiceAttackAPI 1.7-1.20.1release
MC 1.20.1fabric
April 16, 2025

How to Install VoiceAttackAPI on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.20.4).

3

Install Mod

Open the mod browser in the dashboard and search for "VoiceAttackAPI". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.20.4, 1.20.3, 1.20.2 (+1 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

VoiceAttackAPI server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.20.4). You can switch loaders with one click in the panel.

Is VoiceAttackAPI compatible with fabric?

VoiceAttackAPI officially supports fabric for Minecraft 1.20.4, 1.20.3, 1.20.2. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with VoiceAttackAPI – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if VoiceAttackAPI consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install VoiceAttackAPI with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Unsupported

Supported Versions

1.20.41.20.31.20.21.20.1