HyWeaponVariants

Variants of different weapons.

File Details

HyWeaponVariants-0.0.7.jar

  • R
  • Mar 7, 2026
  • 295.24 KB
  • 186
  • Early Access

File Name

HyWeaponVariants-0.0.7.jar

Supported Versions

  • Early Access

[0.0.7] – TBD

Summary of what was added, changed, and fixed in this release.

What we added (new features)

  • /hwv menu — In-game config UI (open with /hwv or /hwv menu). Lets you toggle options (enabled, debug, performance mode, on-hit effects, blacklists, etc.), change language, and save or reload config without editing files.
  • Debug log creation — When debug is enabled, a timestamped log file is created under mods/HyWeaponVariants/Logs/debug_YYYY-MM-DD_HH-mm-ss.log for troubleshooting. Writes are asynchronous so the game thread is not blocked.
  • /hwv subcommandshelp, version, reload, menu, dump (variant metadata for held item), apply (force-apply variant), reroll (strip and roll new variant on held weapon).
  • Language tab in the config menu with default languages (Čeština, English, Deutsch, etc.) and support for custom language files.
  • Config UI and status messages translated for all default languages.
  • Language buttons in the config UI arranged in horizontal rows (next to each other).

What we changed (behavior / improvements)

  • Salvager — Weapons with variant metadata are normalized (variant stripped in player inventory while Salvager is open) so recipes accept them; variant is restored when the item is taken back.

What we fixed (bug fixes)

  • Life-steal — Life-steal was not applied after swapping weapons; it now applies correctly when you switch to a weapon with life-steal.
  • Performance mode — Fixed performance issues related to the performance mode option.
  • Endgame portals — Variants are now applied only to actual weapons. Endgame & QoL portal (and other non-weapon) items no longer get variant logic; category "Endgame.Weapons" now requires getWeapon() so only real weapons are affected. Item IDs matching *Portal* are blacklisted.
  • Config menu crash — Missing #LabelPerformanceMode UI element that caused disconnect when opening the config menu is now present.