Skip to content

Server Config (English)

GRAINALCOHOL edited this page Feb 28, 2026 · 4 revisions

Language: | > English < | 简体中文 |

Configuration files are located in the game directory/config/dtt/ folder

nearby_block_interval_ticks

Parent: mental_heal_config

Type: Integer

Default: 600

Description: The interval time (in ticks) for nearby blocks to provide emotional recovery

nearby_block_mode

Parent: mental_heal_config

Type: String

Options:

  • everyone: Applies the total recovery amount of all nearby blocks
  • max_only: Applies only the recovery amount of the block with the highest value
  • nothing: No recovery

Default: max_only

Description: Determines which nearby blocks can provide emotional recovery

nearby_pet_interval_ticks

Parent: mental_heal_config

Type: Integer

Default: 600

Description: The interval time (in ticks) for pets to provide emotional recovery

nearby_pet_mode

Parent: mental_heal_config

Type: String

Options:

  • everyone: Applies the total recovery amount of all nearby pets
  • exist: Provides a fixed recovery as long as there are pets nearby
  • nothing: No recovery

Default: exist

Description: Determines which nearby pets can provide emotional recovery

nearby_jukebox_interval_ticks

Parent: mental_heal_config

Type: Integer

Default: 600

Description: The interval time (in ticks) for jukeboxes to provide emotional recovery

nearby_jukebox_mode

Parent: mental_heal_config

Type: String

Options:

  • everyone: Applies the total recovery amount of all nearby jukeboxes
  • exist: Provides a fixed recovery as long as there are jukeboxes nearby
  • nothing: No recovery

Default: exist

Description: Determines which nearby jukeboxes can provide emotional recovery

enable_price_floating

Parent: villager_config

Type: Boolean

Default: false

Description: Enables price floating for psychologist (villager) items based on supply and demand

lowest_level_of_mental_health_scale

Parent: villager_config

Type: Integer

Default: 1

Description: The required level for villagers to sell the Mental Health Scale

base_price_of_mental_health_scale

Parent: villager_config

Type: Integer

Default: 6

Description: The base price of the Mental Health Scale

max_uses_of_mental_health_scale

Parent: villager_config

Type: Integer

Default: 8

Description: The maximum stock of the Mental Health Scale

lowest_level_of_mild_depression_tablet

Parent: villager_config

Type: Integer

Default: 1

Description: The required level for villagers to sell Mild Depression Tablets

base_price_of_mild_depression_tablet

Parent: villager_config

Type: Integer

Default: 20

Description: The base price of Mild Depression Tablets

max_uses_of_mild_depression_tablet

Parent: villager_config

Type: Integer

Default: 10

Description: The maximum stock of Mild Depression Tablets

lowest_level_of_insomnia_tablet

Parent: villager_config

Type: Integer

Default: 2

Description: The required level for villagers to sell Insomnia Tablets

base_price_of_insomnia_tablet

Parent: villager_config

Type: Integer

Default: 30

Description: The base price of Insomnia Tablets

max_uses_of_insomnia_tablet

Parent: villager_config

Type: Integer

Default: 10

Description: The maximum stock of Insomnia Tablets

lowest_level_of_moderate_depression_tablet

Parent: villager_config

Type: Integer

Default: 2

Description: The required level for villagers to sell Moderate Depression Tablets

base_price_of_moderate_depression_tablet

Parent: villager_config

Type: Integer

Default: 30

Description: The base price of Moderate Depression Tablets

max_uses_of_moderate_depression_tablet

Parent: villager_config

Type: Integer

Default: 10

Description: The maximum stock of Moderate Depression Tablets

lowest_level_of_mdd_capsule

Parent: villager_config

Type: Integer

Default: 3

Description: The required level for villagers to sell MDD Capsules

base_price_of_mdd_capsule

Parent: villager_config

Type: Integer

Default: 40

Description: The base price of MDD Capsules

max_uses_of_mdd_capsule

Parent: villager_config

Type: Integer

Default: 10

Description: The maximum stock of MDD Capsules

lowest_level_of_mania_tablet

Parent: villager_config

Type: Integer

Default: 3

Description: The required level for villagers to sell Mania Tablets

base_price_of_mania_tablet

Parent: villager_config

Type: Integer

Default: 40

Description: The base price of Mania Tablets

max_uses_of_mania_tablet

Parent: villager_config

Type: Integer

Default: 10

Description: The maximum stock of Mania Tablets

enhanced_diary_generator

Parent: diary_config

Type: Boolean

Default: true

Description: Enables the enhanced diary generator

diary_translation_key_variant_count

Parent: diary_config

Type: Integer

Default: 3

Description: The number of variants to search for during diary localization

gentle_mode

Parent: diary_config

Type: Boolean

Default: false

Description: Enables a mode where diary content may become more positive

ema_factor

Parent: diary_config

Type: Float

Default: 0.5

Description: The Exponential Moving Average (EMA) factor used for calculating topic weights, ranging from 0.0 to 1.0. The closer to 1.0, the more emphasis on recent data

disable_mental_health_scale_cooldown

Parent: item_config

Type: Boolean

Default: false

Description: Disables the cooldown for using the Mental Health Scale

enhanced_mental_health_scale_action

Parent: item_config

Type: Boolean

Default: true

Description: Enables enhanced text for Mental Health Scale recovery actions

disposable_mental_health_scale

Parent: item_config

Type: Boolean

Default: true

Description: Makes the Mental Health Scale consumable after use

safer_combat

Parent: combat_config

Type: Boolean

Default: false

Description: Prevents closing eyes or dozing off due to illness or drowsiness during combat

easier_combat_state

Parent: combat_config

Type: Boolean

Default: false

Description: Forces combat state regardless of emotional value when attacking or being attacked

disable_mental_trait_select_screen

Parent: common_config

Type: Boolean

Default: false

Description: Disables the mental trait selection screen

mental_fatigue_trigger_chance_fixer

Parent: common_config

Type: Boolean

Default: true

Description: Prevents mental fatigue for players in healthy or manic states and doubles the additional trigger probability provided by antidepressant effects

max_distance_to_trigger_ptsd_by_sight

Parent: common_config

Type: Integer

Default: 20

Description: PTSD will not be triggered by sight if the distance between the player and the entity exceeds this value

boredom_strength

Parent: common_config

Type: Float

Default: 1.6

Description: The strength of boredom's impact on emotional recovery. Higher values result in faster diminishing returns for repeated recovery reasons

universal_ptsd_black_list

Parent: common_config

Type: String Array

Default: ["genericKill"]

Description: A blacklist to prevent certain damage types, entities, or sound event mappings from triggering PTSD

Usage Instructions:

  • To block specific damage types from triggering PTSD:
    add the damage type IDs in "camelCase without namespace prefix" format (Only vanilla damage types are likely supported)

    • Example: minecraft:generic_kill should be written as genericKill
  • To block specific entities from triggering PTSD:
    Add their full entity ID

    • Example: minecraft:zombie (no changes needed here)
  • To block sound event mappings from triggering PTSD:
    Add the mapping targets

    • Sound event mappings are defined in {game directory}/config/depression/damagesource-sound-map.toml
  • Important: Damage types and entity IDs related to "player" can never be blocked

Clone this wiki locally