Skip to content

⚙️Configuration Guide

armilp edited this page Mar 2, 2025 · 6 revisions

Introduction

Voiceless Survival lets you change how mobs react to your voice and game sounds. You control these behaviors with two files: voices.toml and sounds.toml, located in the config/ezvcsurvival/ folder.


🎙️ Voice Settings (voices.toml)

This file sets how mobs and animals react to your voice.

Mobs Settings

Adjust three parameters:

  • Speed: How fast the mob moves.
  • Range: How far the mob can detect your voice.
  • Threshold: A lower threshold (e.g., -120) makes detection easier, while a higher one (e.g., -10) makes it harder.

Location: mob_voice_configs
Format:

mob_configs = ["minecraft:zombie=speed=1.5,range=20,threshold=-40.0", 
"minecraft:skeleton=speed=1.2,range=15,threshold=-35.0", 
"modid:example=speed=1.8,range=40,threshold=-50.0"]

Animal Settings

Animals run away when they hear you. Configure their reaction speed, range, and threshold similarly.

Location: animal_voice_configs
Format:

animal_configs = ["minecraft:cow=speed=1.5,range=15,threshold=-45.0", 
"minecraft:pig=speed=1.2,range=10,threshold=-45.0", 
"modid:example=speed=2.0,range=20,threshold=-80.0"]

Armor Settings

Define multipliers for mob detection range and speed when a player wears specific armor items.

Location: armor_effects
Format:

effects = ["minecraft:diamond_helmet=1.0,0.5", 
"minecraft:diamond_chestplate=1.0,0.7"]

Whisper Settings

When you whisper, mobs have a harder time detecting you.
Location: whisper_configs
Default Values:

whisper_range_multiplier=0.5
whisper_speed_multiplier=0.8

Extra Settings

These modify detection in special conditions like thunderstorms or sneaking.
Location: misc_config
Default Values:

thunder_range_multiplier=0.5
sneaking_range_multiplier=0.5

🔊 Sound Settings (sounds.toml)

This file controls mob reactions to various game sounds.

Sound Groups

Group similar sounds to share the same reaction settings.
Location: sound_groups
Formats:

  • With settings:
    group_name=speed=VALUE,range=VALUE,sound1,sound2,...
  • Without settings:
    group_name=sound1,sound2,sound3,...

Example:

groups = ["wood_sounds=speed=1.0,range=1.0,block.wood.break,block.wood.hit,block.wood.place", 
"animal_hurts=entity.cow.hurt,entity.pig.hurt",
"example_sounds=modid:sound1,modid:sound2,modid:sound3,...",
"example2_sounds=speed=1.5,range=4.0,modid:sound1,modid:sound2,modid:sound3,..."]

For other gun mods in sound groups, you can also configure their settings. (You can preview these sounds using the /playsound command.)

No adjustment needed for Vic's Point Blank Mod

Mobs Reactions

Define how mobs react to the sounds from the groups.
Location: mob_sound_reactions
Format:

reactions = ["minecraft:zombie=speed=1.5,range=20,groups=wood_sounds,example_sounds",
"minecraft:cow=speed=1.8,range=16,groups=animal_hurts", 
"modid:example=speed=1.5,range=30,groups=wood_sounds,animal_hurts,example2_sounds"]

Ensure you include the appropriate sound groups for each mob.

Guns Sound Effects

Some weapons trigger different mob reactions. This setting works only on Minecraft 1.18.2, 1.19.2, and 1.20.1 if you have the TACZ mod installed. Without TACZ, these settings have no effect.

Location: gun_type_modifiers
Format:

modifiers = ["pistol=1.2,3.8", 
"sniper=1.5,8.0", 
"rifle=1.3,6.5", 
"shotgun=1.4,4.8", 
"smg=1.2,3.0", 
"rpg=1.8,10.0", 
"mg=1.5,4.0"]

Here you just can edit the speed (first value) and the range (second value). Do not add more things.