Every hit, to everyone
Every sword hit, spark and sound went to all thousand players. Together with a few traps like it, that took the server from 28 frames to 0.2.
Now effects go to the 16 closest playersA multiplayer mod for Valheim
Valheim allows 10 players. Vastheim takes it to 1,000.
Wars, hordes, fleets, fortresses and feasts, all happening at the same time in one world. Rebuilt from the netcode up, tested with a thousand bots, and now getting ready for real players.
The player limit
Measured with bots. The real test is real players, and that's next.
Right now, on one server
Every clip below was recorded at the same time on the same Valheim server. A war, a horde, a fleet, a fortress going up stone by stone, and new players falling out of the sky.
One map
Plus a hundred explorers spread across the rest of the world in small groups. Not separate servers stitched together, not instances: one world, where you could walk from the feast to the battlefield.
The full story
Ten minutes on how Valheim goes from ten players to a thousand: every wall we hit, every fix, and the plan for the event.
The player loads from YouTube when you click play. Or watch it on YouTube.
How it works
Valheim isn't slow by accident. It was built for ten friends. Here is what broke on the way to a thousand, and how each piece was fixed.
Wall one
A Valheim server doesn't talk to everyone at once. It sends updates to one player per frame, in a circle. With ten players you see everyone move about three times a second.
Every 4 secondshow often you'd see the crowd move with a hundred players. With two hundred: every twelve.Wall two
The obvious fix was to send to everyone, all the time. At a hundred players the server fell below two frames per second, because every update means looking through every tree, rock and wall around that player. For every single player.
The fix
Players right next to you update twenty times a second. Further away, less often. The other side of the map, barely at all. Packets are built and sent in parallel on every core, and a slow connection can't clog the rest.
4.1 s → 0.05 show often you see the crowd around you move. About 80 times more often.Wall three
The sixteen players closest to you get the full treatment. Behind them: no shadows, no cloth, no foot physics. Far away they turn into flat stand-ins. You're not supposed to notice, and that's the whole trick.
Almost 2× the framesin the middle of a thousand-player battle, same PC, same scene.Valheim is full of small systems that are perfectly fine with ten players and explode with a thousand.
Every sword hit, spark and sound went to all thousand players. Together with a few traps like it, that took the server from 28 frames to 0.2.
Now effects go to the 16 closest playersEvery time a player checked in, the server rebuilt its list of who could get raided. With a thousand players: five hundred times a second.
Now at most every 5 seconds, 2,500× less workEvery five seconds, every portal got compared with every other portal. A thousand portals: a million comparisons, and a freeze each time.
Now grouped by name first: one quick passEvery join sent the admin list to everyone already online, and every valkyrie in the sky had to be tracked. Filling up to a thousand: half a million packets.
Now only the newcomer gets it, max 16 valkyries in viewThe stress test
Every bot is a real client: it connects over the network, logs in, runs, fights, dies, respawns, builds and chats. Then they did it all at once, logged out in waves, spammed chat and flooded the server with garbage on purpose. Every time something broke, it got fixed, and the whole thing ran again.
2 × 1 hour, 0 errorstwo separate full runs with a thousand bots.The bill
The tests run on a €36-a-month cloud server with four shared cores. With a thousand bots over the internet it used less than half of its processor. For the event we'll rent a bigger one with dedicated cores, by the hour.
Under €100for a whole week with a thousand players, at €0.26 to €0.53 an hour.The plan
Bots are bots. They don't do the weird things real people do. So before the event come player tests, and honestly, the first one probably won't work. That's exactly why we need you.
As many players as we can get. Real players will break things no bot ever could.
Probably breaksEverything that broke gets fixed, and we go again.
BetterMy honest guess: two or three rounds, and a thousand is doable.
AlmostA thousand real players on one server. It looks really promising.
The goalThe event
One server, a week, maybe two. Nothing like this has been done before, so we'll see how it goes. As many Valheim streamers, YouTubers and creators as we can get, and the rest of the spots go to the community.
You hear whoever is close to you. Open a group channel with your clan, no matter where they are.
It won't be completely random. Events, nudges, a massive iron deposit right on the border between two kingdoms. Who wants it more?
The world is huge. Head off to the far end of the map with two friends. Out there the danger might not be monsters, but a longship full of raiders.
Every player can stream and upload their own story. Wars, alliances and betrayals, seen from a thousand angles.
Afterwards, everything gets put together into one big video: the whole story of that week, from first huts to the last war.
I won't be playing. I'll be watching everything, running the server and fixing bugs live while the world plays.
Be part of it
Tests come first, the event follows. Put your name down and you hear about both as soon as there is a date.
Announcements, test dates and sign-ups all happen there first. You also meet the people you will be building, trading and fighting with.
Join the DiscordWe write to you as soon as there is a date for the first test. Until then, the video and the Discord are the best places to follow along.
What's next
A thousand players on one server doesn't just make Valheim bigger. It changes what Valheim can be.
Support
Vastheim is made by one guy who works behind a bar part-time and puts pretty much every other hour into these mods. Servers and development cost real money, so if you want to help make the event happen, Ko-fi genuinely helps.
Thank you
FAQ
There's no date yet. First come the player tests, and they get announced in the Discord. Once a test holds up with lots of players, the event gets its date.
Join the Discord, or use the sign-up form if you don't have Discord. Tests are open to as many people as we can get. For the event, as many Valheim creators as we can get join, and the rest of the spots go to the community.
Yes. Every player needs the Vastheim client mod: it handles the new sync and lets your game draw a thousand Vikings. It's what makes the big battles possible right in front of you.
Yes. After the event, the multiplayer mod goes public and is free for everyone to use. If you want to support the work, there's Ko-fi.
Yes. It's Valheim as you know it: building, sailing, fighting, bosses. Just with a thousand other Vikings in the same world.
Yes, proximity voice chat: you hear whoever is close to you, and you can open a group channel for your clan wherever they are.
Sure. The world is huge. Head off to the far end of the map alone or with two or three friends. Just keep an eye on the coast.
Honest answer: the first test probably won't run smoothly. Real players do things bots don't, and that's what the tests are for. With bots, a thousand players run at 28 of 30 server ticks per second, and your game stays at 30 to 40 frames in the biggest crowd.
Please do. Write in the Discord, leave your channel in the sign-up form or write to rusty.builds.socials@gmail.com.
Player tests and the event
Join the Discord for the tests, the event and every update on the way.
Community
Sign-ups for the tests and the event, sneak peeks and news.
Join the DiscordThe full Vastheim video: how 10 players became 1,000, and the plan for the event.
Watch the videoHelp pay for the servers and the development.
Support on Ko-fiThe other mod: press F7 and Valheim becomes a city builder.
Visit the site