Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
FairTrophies
Vanilla rare-drop rates without the resets: one bad-luck counter per character, saved with the character, shared by all star levels. Client & server.
| Date uploaded | 2 weeks ago |
| Version | 1.0.0 |
| Download link | HampusMods-FairTrophies-1.0.0.zip |
| Downloads | 33 |
| Dependency string | HampusMods-FairTrophies-1.0.0 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2333README
FairTrophies
By Hampus Toft. Client & server mod - install it on the server and on every player.
Valheim already has hidden bad-luck protection for every creature drop of 30% or less (trophies, Jotun armor molds, Deep North gemstones, Memorial Coal, coins...): a countdown that guarantees the drop within twice the expected number of kills. FairTrophies keeps vanilla's drop rates exactly, and fixes what makes that countdown unfair:
| Vanilla | FairTrophies |
|---|---|
| Killing a star level whose drop chance differs (e.g. a 1-star Jotun after 0-stars) throws the countdown away and rolls a new one. | One countdown per item, shared by every star level. A 1-star kill counts double and a 2-star kill four times (vanilla's own star multipliers) - never a reset. |
| The countdown lives in the memory of whichever player's game is simulating the creature - your kills can use up a friend's countdown. | Every character has their own countdowns. Kills only ever count for the character credited with them. |
| Lost every time the game closes. | Saved in the character file, so it follows the character between sessions, worlds and servers. |
Drop chances and amounts always come from the game's own drop tables - nothing to configure. The NoPseudoDrops
world modifier is respected (FairTrophies stays out of the way when it is on).
Who gets credit for a kill
- The last player to damage the creature - also when it then dies to something else (fall, fire, drowning, another creature).
- A creature no player ever hit (mob farms, traps) counts for the player whose game was simulating it - normally the player standing at the farm.
- A creature the dedicated server simulated on its own counts for the nearest player.
Multiplayer
Valheim rolls a creature's loot on the computer simulating that creature, usually a player's. The server tells that computer which character gets the kill, that character's client updates its countdown, and the drop appears on the corpse as usual. The server and every client must run the same FairTrophies version; mismatches and players without the mod are refused with an "incompatible version" message naming both versions.
Configuration
BepInEx/config/HampusToft.FairTrophies.cfg holds a single debug option:
| Setting | Default | |
|---|---|---|
Debug.LogCounters |
false | Log every counted kill: who was credited, the item, whether it dropped and how many kills are left. |
AI disclaimer
This mod was mostly made using Claude Code, Anthropic's AI coding assistant. The design and requirements are mine; Claude Code did most of the work: decompiling and analysing Valheim's drop code, extracting the drop tables, and writing the code, tests and documentation, all under my direction and review. Please report any problems on GitHub.
CHANGELOG
Changelog
1.0.2
- Star levels multiply a rare drop's loot exactly once (x2 for 1 star, x4 for 2 stars), instead of vanilla's
chance-and-amount (up to x16):
- Trophies, Ancient Gemstones and armor molds drop more often, always one at a time.
- Resources (Memorial Coal, coins, Lingonberries, Asksvin hatchling/chicken meat, hides, Mork ooze, seal blubber) keep the 0-star chance and drop more per drop.
1.0.1
- Trophies always drop as a single trophy. Star levels still make them come sooner (a 2-star kill counts four times), but no longer also multiply the amount - a 2-star Unbjorn dropped 4 trophies, as it does in vanilla.
1.0.0
- One bad-luck counter per item, shared by every star level: starred kills count 2x/4x (vanilla's multipliers) instead of resetting it. Covers every creature drop of 30% or less, with vanilla's own chances and amounts.
- Counters belong to each character and are saved in the character file.
- The server credits each kill to a character (last player to damage it, else the player simulating it) and routes it to that player's client.
- Client and server must run the same version; mismatches are refused on connect.