Skald
Achievements, grisly death announcements, nemeses, survival streaks, boss and raid call-outs, an F10 panel, !skald commands, and a server watchdog with Discord alerts, a live status message and weekly recaps. Needed on the server and every client.Changelog
Upgrading: the server and every player should run the same version. Where a release changes the protocol it says so, and mismatched clients are turned away at the handshake with the reason in the log.
0.5.1
Added
- Banner-only messages. A new server setting,
[Banners] AlsoInChat, stops banners being copied into chat, so the chat window no longer pops open over them. With it off, an achievement's description shows under its title on screen instead. - Longer banners.
[Banners] Secondssets how long banners stay on screen, from the game's own 4 seconds up to 30. Each announcement can set its own with"seconds", and the Admin tab has a Duration picker for banners. - A simpler Where in the Admin tab: Chat, Banner, Discord, or Chat and Discord, with a Private box for "only the player it happened to". The box only appears where private can work: not on timers, bosses or raids, which don't happen to one player, and not with Discord, which can't message one person.
- Variants in the Admin tab. "+ Add a variant" adds up to four more ways to say an announcement (Says V2 to V5); one is picked at random each time it fires, and each is used before any repeats. The list shows how many variants each one has.
Fixed
{day}is now the world's current day on every trigger. It was blank on all butnewday, and Test always showed Day 1.- Private announcements on
achievementnever reached the player who earned it. - Private announcements that could never be sent (on a timer, or to Discord) were accepted and then silently skipped. Skald now refuses them and says why.
Changed
- Now depends on BepInExPack_Valheim 5.4.2351, the current pack.
Upgrading: 0.5.0 and 0.5.1 still play together; the protocol is unchanged. Update the server first: the banner settings, variants and fixes all live there. A player still on 0.5.0 sees banners the old way, with the game's timing and a chat line.
0.5.0
Added
-
Hunting achievements. Skald now counts every kill per player and per kind of creature, which the game itself doesn't, and a new
killsachievement type uses it: "Troll Toppler: 25 trolls". Twelve built in, from greydwarfs and boars to sea serpents and gjall, one of them hidden; a Kills leaderboard; and any creature you like in achievements.json. A cluster of kills from one swing now counts in full. -
Exploring. How much of the world each player has uncovered on their own map, worked out on their machine and reported as a single number, so no map ever leaves it. Maps shared at a cartography table don't count. A new
exploredachievement type, seven built in from 2% to the whole world (the last two hidden), and an Explored leaderboard. -
New built-in achievements reach existing servers. Skald adds any it ships to your achievements.json on the next load, as additions to the file rather than a rewrite, so your own entries and notes survive, with the previous file kept as .bak. What it has offered is recorded in achievements.offered.txt, so one you delete stays deleted.
-
The welcome for first-time players is on by default: a private word the first time anyone joins, pointing them at F10. Every other example stays off.
-
GUIDE.txt, written beside Skald's files on the server: everything needed to write your own messages, announcements and achievements, with every field, trigger and placeholder explained. Its lists of death causes, creatures, bosses, stats and biomes are taken from the running game each time a world loads, so they are always exact for that server, including anything other mods add.
-
!skald reload(admins) rereads all three files in place, so edits apply without a restart. -
Boss triggers take the boss's own short name:
boss:bonemass,boss:gdking. -
An Admin tab in the Skald window (F10), for announcements. Admins get a fifth tab listing what is set up, with a switch, a Test and a Remove button on each, and a small form for writing a new one: a name and what it says (typed into the game's own text box), and dropdowns for when it fires and where it goes. No file editing, no restart.
-
!announcein chat, which the Admin tab uses under the hood, so the window can only do what an admin could type and rights are checked in one place:!announce list,add id=lore when="every 45m" to=chat line="...",on,off,test,remove,reload. Non-admins are turned away. -
Announcements that are switched off are now kept in the list rather than ignored, so they can be seen and turned on again. The file is rewritten with its explanatory header intact, through a temporary file with a
.bak, so a failure can't leave it broken. -
Three more Discord messages that edit themselves, like the live status, so a channel holds a living board instead of a stream of notifications. All off by default, each with an optional webhook of its own so it can live in its own channel:
- Death log (
DeathLog): the last 10 deaths, newest first, with times that keep counting in every reader's client. This is the one that makes deaths-to-Discord bearable to leave on. - World report (
WorldReport): what the world is made of, its busiest areas and how fast it's growing. Redrawn after each census. - Leaderboard (
Leaderboard): achievements, hours, deaths and streaks, refreshed every 15 minutes.
- Death log (
-
Your own messages, on a timer or when something happens.
BepInEx/config/Skald/announcements.jsonis written on the server with worked examples, all switched off until you enable them. Each entry is some lines plus an occasion to say them on:{ "id": "swamp", "enabled": true, "when": "firstbiome:Swamp", "to": "private", "lines": ["The water here has a taste. Old iron, and older mistakes."] }It ships with 14 worked examples, all off: a rotation of twelve Norse lore lines, a private word for each of the nine biomes the first time a player reaches one, dusk and new-day banners, a welcome for a player's first ever visit, and a 3am restart warning. Turn on the ones you like and rewrite the rest in your server's voice.
When:
every 45m,at 03:00(server clock),dawn,dusk,newday,join,firstjoin,biome:Swamp(each time a player walks in),firstbiome:Swamp(their first time ever),death,boss,raid,achievement. Where:chat,banner(big text on screen) ordiscordfor everyone, andprivateorprivate, bannerfor only the player it happened to. Placeholders:{player},{biome},{boss},{killer},{day},{online}.Lines are dealt from a shuffled bag, so a dozen lore lines all get used before any repeats.
requirePlayerskeeps chatter off an empty server,minGapsets the least time between repeats, and nothing may fire more often than every 30 seconds. -
Every message Skald says is now yours to rewrite.
BepInEx/config/Skald/messages.jsonis written on the server on first run, holding all 326 death lines by cause and by creature, plus the grudge, streak and return lines. Add your own, delete ones you dislike, or rewrite the lot in your server's voice. Placeholders:{player},{killer},{count},{dayspan}.{ "deaths": { "byKiller": { "troll": ["A troll made a rug out of {player}."] } } }By default your lines are added to the built-in pool, so they turn up alongside Skald's.
"mode": "replace"makes yours the only ones, and a pool set to[]in replace mode goes quiet. A section you leave out keeps its built-in lines. Custom lines are dealt from the same shuffled bag, so they don't repeat either.As with achievements.json, a broken file is never overwritten: every problem is logged with the section it came from, and the built-ins carry that session.
Fixed
- Mistakes in Skald's files are reported by line. Instead of "at position 6942", the log names the line and column, shows the line, and says when the usual culprit is to blame: a comma missing between two entries.
- The weekly recap can no longer be lost. It was marked as sent before Discord had it, so a failed post lost that week for good. Now it's marked only once Discord confirms it, and a failed post is tried again 15 minutes later.
- Discord asking Skald to slow down no longer drops posts. Every message (alerts, the recap, the status message and boards) waits the time Discord asks for and tries again, rather than giving up.
- Scrolling in the Skald window no longer touches the camera behind it at all (it used to zoom for a frame and snap back), and the Admin tab's dropdown lists have a scrollbar and move three rows per notch of the wheel.
- Skald now reads a player's biome the way the game does. Valheim 1.0 decides it from biome sectors, and the older method Skald asked could disagree across a wide area near borders (the game logs "GetBiome error" when they do), so a player could walk into the Black Forest and be counted as having been there all along. Biome announcements and first-into-a-biome now happen when the player's own screen says they have arrived.
- Skald can now keep several Discord messages up to date rather than just the status. State files from 0.4.x carry their status message over, so it keeps editing the same one rather than posting a new one.
- The Discord status no longer sits on "starting up" forever when the watchdog is switched off. It reads "online" instead, and still shows who's on, the day, uptime and the world's object count; only the frame time and memory need the watchdog.
Removed
- The experimental rune icon in the inventory (
PanelIconand its three placement settings), which never sat right, and Skald's pages in the game's Texts screen, which F10's window replaced. Four fewer places a Valheim update can break.
0.4.0
Added
-
Busiest areas. The world census now also works out where the world is crowded, and whose building it mostly is:
- Timothy's build, 1.2 km north-east of the world centre (x 1240, z -380): 41,200 objects, mostly building pieces (38,900)
Shown in
!world, the World tab and the weekly recap, and named in the Discord alert when the object count runs high - so it points at the base or the forgotten pile of dropped loot that is actually to blame. -
Live server status in Discord. One message that Skald keeps editing in place: who is online, the in-game day, uptime, frame time, memory, world objects, the last save, and the busiest area, under a green, yellow or red light. Pin it once. It says when it was last updated, so a server that went down without warning shows as stale, and it's marked offline on a clean shutdown. Needs the webhook;
StatusWebhookUrlcan send it to its own channel. -
Real progress bars in the Skald window. Rounded bars that fill in when a page opens, with the numbers counting up alongside and a glint running along each. New bars for achievements earned and bosses defeated, and gauges on the World tab for memory and world objects that go from green to amber to red as they fill. The game's Texts screen still shows the text version.
Changed
- The world's object count is tracked, not warned about. It only ever goes up:
every area anyone explores adds its trees, rocks and bushes to the world for good,
so a warning about it can only ever get louder. It's still counted and shown in
!world, the World tab, the weekly recap and the Discord status, now with how fast it's growing. The alert is off by default;ObjectAlertCountturns it back on at a line you choose (it replacesZdoWarnCount). - F10 opens the Skald window on its own, without the inventory behind it. The cursor is freed and your character stays put while it's open; Escape closes the window without opening the pause menu, and opening the inventory, map or menu closes it.
- Skald is now MIT licensed. See License at the end of the README.
Fixed
- Wild bushes are no longer counted as construction. Mods that let you plant flora or place rocks attach a build-piece component to those prefabs, so every shrub and stone in the world counted as a building piece: one server showed 248,000 pieces where roughly 25,000 were built by hand. A piece now counts as construction only if someone actually placed it, which the game records on the object itself. Ordinary walls and floors are unaffected, and the busiest-areas list is honest again. Expect one step change in your census history where the counts move back.
- Memory readings now match your host's panel. Skald read the runtime's "private bytes", which on Linux counts reserved address space and ran hundreds of MB high (3,384 MB against a panel showing 2,785). On a hosted server it now reads the container's own figure, the one the host enforces and its panel shows, and falls back to resident memory elsewhere. Memory alerts fire at the right point, and the status message shows usage against the server's real limit (e.g. 2,785 / 4,096 MB).
- The Skald window's pages no longer run off its right edge. They were drawn 100 units too wide and clipped, cutting off the ends of long lines.
- Long pages in the Skald window can be scrolled. The mouse wheel did nothing, so the end of Leaderboards (and any long page) was out of reach. There's a scrollbar now too, shown when a page runs past the window.
Security - update the server as well as clients
- Players can no longer pose as each other, or as the server. Valheim lets a
modified client put any sender on a message. The server now checks every Skald
message against the connection it actually came from, and drops forgeries. Before
this, a modified client could file deaths or stats under another player's name,
use an admin's identity for
!recap, or put fake Skald banners on everyone's screen. - Clients only accept Skald messages that come from the server.
- Rate limits per player on everything a client can ask of the server, so a modified client can't flood chat, Discord or the disk. Normal play never gets near them.
- Stat reports must name one of the game's own counters, with a real number.
- A character's record of what killed them is capped at 200 kinds of killer.
- Discord posts explicitly allow no mentions, so a name can never ping
@everyone. - Webhook URLs are stripped from anything Skald logs. A webhook URL is a password, and admins paste logs into support threads.
Still protocol v3: 0.3.0 and 0.4.0 work together, but the protections above and the new server features need 0.4.0 on the server, and the new bars need it on clients.
0.3.0
Added
- Skald's own window. Press F10: a tab each for achievements (with progress bars), leaderboards, your death record, and what the world is made of. Escape or Close shuts it. The same pages also appear in the game's Texts screen.
- achievements.json. The catalog is now a file you can edit. Change thresholds, write your own, mark some hidden. The defaults are written out on first run, and a broken file falls back to the built-ins rather than leaving you with none, with each problem named in the log, line by line.
- While you were away. Arriving after a break gets you a private summary: bosses downed, what everyone earned, how many died and to what, and whether your streak survived.
!world. What the world is actually made of (building pieces, dropped items, creatures) and what grew this week. The weekly recap includes it too, so "your world is getting big" becomes something you can act on.- Five hidden achievements. You'll find them the hard way.
Changed
-
Death messages: 133 lines became 326, and they no longer repeat until the pool is exhausted. Lines are dealt like cards rather than rolled, so all 18 ways of describing a fall are used before any comes round again.
-
A dozen creatures have their own lines, added to the general pool rather than replacing it, so a Deathsquito reads differently from a Greydwarf:
A Deathsquito killed Daniel. Two grams of pure malice. Timothy was killed by Neck. A Neck. Let that sit.
-
Performance alerts name what is actually filling the world instead of listing what might be: "The world holds 267,758 networked objects, mainly building pieces (120,400), dropped items (38,200) and creatures (21,000)."
-
The memory alert no longer prints the figure twice, reads against the ceiling rather than in isolation, and groups large numbers.
-
Protocol v3: every player needs 0.3.0 to match the server.
Fixed
!recaprefusals now name the exact lineadminlist.txtneeds. Valheim 1.0 wants the prefixed form (V_7656...), not the bare SteamID64, which 0.2.1 wrongly advised. It also recognises when your ID is listed but in the wrong shape, when the file it reads is empty, and when an old-styleSTEAM_0:ID is in there.
Experimental
- A Skald rune for the inventory's row of icons, off by default (
PanelIcon). That row is prefab data and other mods rearrange it, so the rune tends to land on top of something. The key bind is the reliable way in.
0.2.1
Fixed
!recaprefusals explain themselves: the reply shows the ID the server sees for your connection and what is wrong withadminlist.txt. The server log records which file it read and how many entries it had.
Server-only; 0.2.0 clients work with a 0.2.1 server.
0.2.0
Fixed
- Announcements now actually appear in game. Valheim 1.0 permission-checks the sender's platform account on every chat message and silently drops any without one, which was every Skald message. Skald now displays its own messages.
- Deaths were never announced: the death report tripped over the hit-type enum being byte-backed.
- Playtime, biomes and stats were never tracked on dedicated servers, because the player ID Skald keyed on is never filled in by 1.0. It now reads the ID the game stores on each character.
- Achievement state can no longer be lost to a crash, a mis-timed load, or a half-finished save, any of which could re-award achievements.
Added
- Achievement banners in the centre of the screen.
!skald,!deaths,!topand!recapchat commands, answered privately.- Nemesis system: die to the same thing three times and it holds a grudge; kill one to settle it.
- Survival streaks at 5, 10, 20, 30, 50, 75 and 100 days without dying.
- First-to-reach call-outs for each biome.
- Return messages for players back after a long absence.
- Boss fight summaries with fight length and casualties.
- Raid announcements naming whose base is under attack, and the toll afterwards.
- Weekly Discord recap with a world-size forecast.
Changed
- Protocol v2: every player needs 0.2.0 to match the server.
- State now lives beside the world save, so it survives a BepInEx reinstall and is picked up by whatever already backs up your worlds.
0.1.0
First release.
- Achievements for bosses, biomes, playtime and the game's own per-character stats.
- Death announcements naming the cause and the killer.
- A performance watchdog for frame time, memory, world saves and world size, alerting a Discord webhook.
