Changelog
The full changelog, also of older versions, is in CHANGELOG.md on GitHub. Downloads: Modrinth, CurseForge and GitHub Releases.
2.0.0
Breaking changes
- New pack format: everything is a rule with
match, optional conditions and the actionsname,hint,deathMessage,triggers,ignore,hideinthen/else. Files in the 1.3 format are not read; the pack editor converts or deletes them (1.3 files). - Priority is the list order only: per field the first rule from the top wins (priority).
- Only the same major version of What Hit Me? plays together (version rule); players without the mod can still join.
- Script API 2:
addRulewiththen/else,setSetting,setSettingRule,addLock,disableVariable; the map functions are gone (scripts). - Commands: the modpack sets each command to everyone, operators or nobody;
/whm packand/whm reloadstay operator only./whm rename,/whm sethint,/whm ignoreand/whm dumpare removed (own names, tips and hidden damage: personal mode);/whm serveris hidden in single player.
New
- Settings & locks: pack value and lock per setting in one screen, command locks, personal-feature locks, template output locks, template variables that can be switched off.
- Unlock conditions for display switches and command locks, decided per player, with an unlock message.
- Pack editor: rule editor with one or two columns and a preview naming the rule of each field, pickers for damage ids, mobs, items and dimensions with filters, Templates and Settings tabs, personal mode, wrapping text fields.
- New settings screen on every version, showing what the modpack locked or unlocks with progress.
/whm statslists the attackers of each cause that is not melee (Arrowby Skeleton / Stray), with ignore and hide rules applied per attacker.- Pack editor, personal mode and key builder show why a match key can never match while you type ("has no namespace ... Did you mean minecraft:a?", "@item: has no value") (inline checks).
- A personal ignore list too long for the server (over 8000 characters / 500 keys) warns once in chat and in the log (own hidden damage).
/whm helpand completion show only the commands you can use; pack file warnings for unknown keys, wrong types and invalid values.
Fixed
- A rule without
matchmatched every damage; it is now skipped with a warning. - Misspelled rule keys are reported with the key that was probably meant.
/helpon Forge 1.7.10 - 1.12.2 showed an outdated/whmusage line.- A death screen panel whose position the modpack locks could still be dragged (and the position was saved before it snapped back). A locked panel now stays put and nothing is saved; a locked
minimizedhas no[-]/[+]button (layout locks). - Ignored damage (
[Mute], personal mode, rules with"ignore": true) was only left out of the lists:Last 10s Total, the/whmentry count,{total}/{total_hits},/whm statsand the killing blow still counted it. It now counts nowhere; an ignored killing blow shows the death message instead, and an ignored hit sends no totem / heavy-hit alert (ignore). - Wildcards:
@dim:the_*(dimension wildcard without namespace) matched nothing; players' own*@*/@item:*keys could lose to*. Keys that can never match (mod:<modid>,@item:without value, two damage ids) are now warned about. The key builder reads@ITEM:/@entity:, and its<mod>:*button works with only the mod filter. See Wildcards. - Chat buttons on Forge 1.19 - 1.21.5 / NeoForge 1.20.2 - 1.21.5:
[Mute]changed a server-side list instead of the player's own one (single player, LAN, servers with the mod) or did nothing (servers without the mod);[Copy ID]/[Copy Recap]/[Details]were affected too. Clicked/whmlinks now run on the client and[Mute]takes effect at once. [Copy Recap]/[Copy]copied the button labels[Copy ID] [Mute]and[Copy Recap].- Hiding the attacker or the damage id still showed the hit's name made from them (
Lich Bolt); the hit now shows???unless the rule sets a name (hide)./whm statsfollows the rules too. - Keys that never match (a stray
a,@zombie) could be saved by personal mode, the pack editor and/whm mute; they are refused now and dropped fromignoredDamageIdswhen it is read.
