Mod Introduction: Voice Control allows players to trigger custom commands by entering specific phrases in the chat box. The mod lets you configure multiple keywords, each associated with one or more Minecraft commands in a JSON file. Players can execute commands even without operator permissions.
Features:
Installation:
.jar file of this mod into the mods folder of your Minecraft installation.VoiceControl.json in the config folder.Configuring the JSON File:
Locate the VoiceControl.json file in the config folder and open it.
Customize keywords and commands using the following structure:
{
"hello": ["/say Hello detected!", "/give @p minecraft:apple 5"],
"bye": ["/say Goodbye!", "/kill @p"]
}
In the configuration, each keyword (e.g., "hello") corresponds to a command list. Each command in the list (e.g., ["/say Hello detected!", "/give @p minecraft:apple 5"]) will execute sequentially.
You can add multiple keyword-command combinations. When any player enters a keyword in chat, the mod will detect it and execute the corresponding commands.