Description
BlackFlash Mod
BlackFlash adds a rare, high-impact critical strike to Hytale combat. Each player attack has a configurable chance to trigger a Black Flash, multiplying damage, playing a custom sound, showing a HUD notification, spawning blood particles, and displaying a custom hit-splat that shows the Black Flash damage value.
This mod is server-side and uses a JSON config file to let you tune the experience.

Features
- Chance-based damage multiplier on player attacks.
- Custom HUD notification (icon + text) when a Black Flash occurs.
- Custom hit-splat showing the Black Flash damage value.
- Optional sound effect on Black Flash.
- Blood particle burst with configurable red/black mix.
- Optional health and stamina recovery on Black Flash.
- Streak multiplier: consecutive Black Flash hits scale damage even higher.
- Colored streak chat message to the player when a streak continues.

Recommended Dependencies
To get the full experience, the MultipleHud mod is highly recommended. It helps ensure the custom HUD elements from BlackFlash display properly alongside other UI elements.
Streak Multiplier Example
With streakMultiplier set to 1.0, the streak scaling works like this:

- Damage 20 = 20
- Damage 20 + Black Flash = 20 x X
- Damage 20 + 2 Black Flash in a row = 20 x 2 x X
- Damage 20 + 3 Black Flash in a row = 20 x 3 x X
- And so on…
Configuration
The config file is created automatically at:
mods/BlackFlash/blackflash_config.json
Below is the default configuration and what each field does:
{
"chancePercent": 0.05,
"damageMultiplier": 100.0,
"streakMultiplier": 1.0,
"streakChatMessage": "{player} is on a Black Flash streak of: {streak}x",
"enableNotification": true,
"notificationMessage": "Black Flash! x{multiplier}",
"notificationStyle": "Danger",
"notificationIcon": "",
"enableSound": true,
"soundEventId": "black_flash",
"soundVolume": 0.75,
"healHealthPercent": 25.0,
"healStaminaPercent": 25.0,
"redParticlePercent": 50.0,
"blackParticlePercent": 50.0,
"hitSplatDurationSeconds": 0.5,
"useCustomHud": true,
"hudDurationSeconds": 3,
"hudUiPath": "black_flash_notification.ui",
"hudIconPath": "icons/black_flash_icon.png"
}
Field Details
chancePercentChance (in %) for a Black Flash to trigger on each attack. Example:0.05= 0.05%.damageMultiplierMultiplier applied to the attack damage when Black Flash triggers.streakMultiplierAdditional multiplier applied to the Black Flash streak count. (Multiplier1.0= 1 time: )streakChatMessageChat message template shown to the player on a Black Flash streak. Placeholders:{player},{streak}.enableNotificationEnables the notification/HUD message on Black Flash.notificationMessageMessage text. Supports placeholders:{multiplier}: damage multiplier{base}: base damage{damage}: final damage after multiplier{chance}: chancePercent
notificationStyleNotification style when not using the custom HUD. Options:Default,Success,Warning,Danger.notificationIconOptional icon for the native notification.enableSoundEnables playing a sound on Black Flash.soundEventIdSound event asset id. Default isblack_flash.soundVolumeVolume for the Black Flash sound (0.0 to 1.0).healHealthPercentRestores this % of max health when a Black Flash happens.healStaminaPercentRestores this % of max stamina when a Black Flash happens.redParticlePercentPercentage of red blood particles (0–100). Mixed with black.blackParticlePercentPercentage of black blood particles (0–100). Mixed with red.hitSplatDurationSecondsHow long the Black Flash hit-splat remains visible.useCustomHudWhen true, uses the custom HUD layout inhudUiPath.hudDurationSecondsHow long the custom HUD notification stays visible.hudUiPathUI file used for the custom HUD.hudIconPathIcon used in the custom HUD.
Tips
- If Black Flash triggers too often, lower
chancePercent. - If the sound is too loud, reduce
soundVolume. - For more intense visuals, increase
redParticlePercentandblackParticlePercenttogether. - If the hit-splat disappears too fast, increase
hitSplatDurationSeconds.


