promotional bannermobile promotional banner

HyWeaponVariants

Variants of different weapons.
Back to Files

HyWeaponVariants-0.0.4.jar

File nameHyWeaponVariants-0.0.4.jar
Uploader
VARMOLORDVARMOLORD
Uploaded
Feb 25, 2026
Downloads
22
Size
147.9 KB
File ID
7679063
Type
A
Alpha
Supported game versions
  • Early Access

What's new

Changelog

Fixed

  • Salvager / Processing Bench – Weapons taken back from the Salvager without salvaging now keep their original variant stats (restore runs before new variant application).
  • Config folder – The mod folder is created only at /mods/HyWeaponVariants.
  • Effect application – Stats like durability and other variant effects are now correctly applied to weapons.
  • On-hit effects – Stun, burn, poison, freeze and similar effects now apply when the weapon has the matching variant and the chance roll succeeds (previously only stat modifiers were applied).

Added

  • On-hit effect rules – New onHitEffects config: map variant stats (e.g. StunChance, IgniteChance) to entity effects (Stun, Burn, Poison, Freeze) with base chance and duration.
  • More config options in config.json5 and HyWeaponVariants.json5 (including on-hit effect rules and tuning).
  • More options in messages.json5 for localization and tooltips.
  • Debug logging – With debug: true in config, the server log shows per-hit details: weapon variant stats, damage scaling, effect-duration recording, and on-hit effect rolls (chance vs roll, applied/failed) so you can verify effect application.

Reworked

  • Variant application – How variants and their effects are applied to weapons has been reworked for consistency and correctness.
  • Salvager flow – Player weapon cache, restore cache, and the order of restore vs. apply have been reworked so taking a weapon back from the Salvager keeps the same variant.
  • Default configdebug now defaults to false; set to true when debugging.

This mod has no additional files