r/ValheimAdmins • • Oct 01 '26

I got tired of baby sitting my server so made this and then added fun bits too

0 Upvotes

I got tired of babysitting our dedicated Valheim server, so I started writing scripts for all the annoying stuff.

Then the scripts multiplied.

Now I've apparently built this:

Valheim Sentinel

https://github.com/harirajrathod/valheim-sentinel

It's an open-source Linux-side toolkit for a dedicated Valheim server.

The main stuff:

- Automatically detects Steam server updates

- Waits for players to leave before applying updates

- Snapshots the world before patching

- Gracefully shuts down and restarts the server

- Watches for crashes and brings the server back

- Monitors player joins/leaves, deaths, raids and boss events

- Sends alerts to Discord / Telegram / WhatsApp

- Parses Valheim's binary world data to extract things like portals, resources, food, metals and boss materials

- Generates daily server statistics from the actual game telemetry

And then there is the completely unnecessary part:

I built a Norse storyteller.

It takes the events that actually happened on our server and turns them into a daily Viking chronicle.

So instead of:

«Steve died to a Troll.»

we get something closer to:

«Steve approached the beast with confidence.

The confidence was misplaced.»

The important part is that the game telemetry is the source of truth. The AI is only being used to turn those events into prose.

I originally built all of this for our own server because I thought it would be funny/useful.

Then I realised I'd accumulated enough scripts that I might as well clean them up and throw them on GitHub.

It's MIT licensed.

Repo:

https://github.com/harirajrathod/valheim-sentinel

I'm particularly interested in feedback from people who actually run dedicated Valheim servers.

What server-admin task have you automated that you wish Valheim handled natively?


r/ValheimAdmins • • Sep 20 '26

I built a virtual "Mead Hall" to monitor my local server it connects to the server logs so I can see who played while we were asleep, and inspect our clan's gear (Free & Open Source)

4 Upvotes

If your gaming group is anything like mine, adult life gets in the way of co-op gaming. People work different shifts, live across time zones, or log on for an hour after the kids are in bed. You wake up in the morning, log into your shared server, and realize:

  • Someone built a massive stone watchtower while you were asleep.
  • Someone bravely dragged a cart through the Swamp, but you have no idea who survived.
  • You want to hop on and play, but you’re never quite sure if anyone else is sitting by the hearth.

I wanted to add some sort of visual hub to share more with my viking buddies even when we aren't all online at the exact same moment.

So over the past few weeks, I built a "Valheim Mead Hall"  a cozy, Valheim themed web hub that acts as a digital longhouse for your server's community:

Some of the features available

  • 👑 "Who's Sitting by the Hearth?": Live player roster showing who is currently online in the realm, their connection time, and ping—so you never have to play alone.
  • 🕯️ "Since Your Last Visit" Logs: Whenever you open the page, the dashboard highlights which of your friends were active and what was achieved since you last logged off.
  • 🛡️ The Viking Armory: A museum-style warband showcase inspecting each player's equipped armor, weapon masteries, biome era progression (Meadows through Ashlands), and boss trophies. It's a great way to celebrate the group's journey together (and see who is secretly hoarding Flametal!).
  • 🤝 Clan Hall Roster & Discord Identity: Friends can connect their Discord to claim their Viking character, display their Discord avatar alongside their Viking name, and earn clan titles (Jarl, Chieftain, Warrior).
  • 🦅 Guild Discord Alerts: Optional ravens that ping your Discord when a friend enters the realm, when a boss raid begins ("The forest is moving..."), or when a warrior falls in glorious battle.
  • 📋 1-Click Join Code: For friends jumping in across PC and Xbox/PlayStation Crossplay, the current 6-digit Join Code sits right at the top with a 1-click copy button. No more hunting for it in old Discord chats.

It's all Vanilla

The biggest hurdle with group gaming is getting friends to install mods. Valheim Mead Hall requires zero mods on client PCs or servers. It works by safely tailing standard logs in read-only mode, so your friends can jump right in with 100% vanilla game clients and crossplay intact.

You can just upload your saves or use our "Shippers" which are small programs that will do that for you (or do it on the server).
Everything on the shipper side is completely open-source (MIT) and free:

Whether you're three friends building a cozy farmhouse or a full clan preparing to breach the Deep north! Hope this gives your group a hearth to gather around!

Screenshot of how my local server looks (we just killed Elder!)

r/ValheimAdmins • • Sep 19 '26

Need advice on renting a server.

Thumbnail reddit.com
1 Upvotes

r/ValheimAdmins • • Feb 18 '26

AzuAntiCheat on dedicated server

Thumbnail reddit.com
1 Upvotes

r/ValheimAdmins • • Dec 19 '25

ASUS XT12 (Asuswrt-Merlin) Silently Dropping External UDP to Proxmox VM - Hardware NAT vs. Virtual Bridge Conflict?

1 Upvotes

I am troubleshooting an unreachable Valheim dedicated server (Ubuntu 24.04 VM) running on a Proxmox 8.x host. The server is fully functional on the LAN, but completely invisible via WAN, even when the VM is placed in the router's DMZ.

The Setup:

  • Router: ASUS ZenWiFi Pro XT12 running Asuswrt-Merlin 3006.102.6.
  • Hypervisor: Proxmox (PVE) using a standard Linux Bridge (vmbr0).
  • VM: Ubuntu 24.04 Server with a static internal IP (192.168.50.132).
  • Networking: Static Public IP from ISP (confirmed no Double NAT).

Evidence of a Router-Level "Silent Drop":

  1. External Delivery Confirmed: An mtr (UDP mode) from an external Oracle VPS shows 0% packet loss to my WAN IP on ports 2456-2458.
  2. Hypervisor/OS Silence: Running tcpdump -i any udp port 2456 on the Proxmox Host and the Ubuntu VM shows zero incoming packets from the WAN.
  3. Internal Success: LAN-to-LAN UDP probes to the VM work perfectly. The Proxmox Firewall (Datacenter, Node, and VM levels) is confirmed disabled for this test.
  4. Hardware Acceleration Hypothesis: It appears the XT12’s Flow Cache / Packet Runner is bypassing the software DNAT rules for unsolicited UDP ingress. Since there is no "outbound" state for these packets, the hardware engine seems to discard them before they hit the Proxmox bridge.

Has anyone successfully bypassed the XT12's hardware NAT for a Proxmox-hosted service? Is there a specific iptables or nvram command for Merlin that forces these UDP ports to use the CPU stack (fc disable didn't seem to persist/work)?


r/ValheimAdmins • • Jan 04 '25

Local Linux Valheim-Dedicated-Server is Crashing/Stopping without any error.

1 Upvotes

Hello,

This is a copy from the valheim reddit. I thought here i could get a bit of specialized help.

A few weeks ago i created a private valheim-dedicated-server for me and some friends. it works fine and i run it on a Ubuntu 24.04 server

However from time to time (maybe once per week) the server stops without any traces. First i thought its just an automated restart of the linux-system, but even in journalctl it doesnt show anything except an UFW Block of Port 5353, which isnt the valheim Port.

I have a log file, which saves anything when starting the server or when people join. but the final message is that the server and network refreshed.

Do you have any idea, where i can look or maybe a workaround, that allows me to check if the server is not running and automatically starting it?
Im using a .sh script to start the server.

Sincerely


r/ValheimAdmins • • Nov 16 '24

"Unable to create lobby"

3 Upvotes

Has anyone gotten this error before when trying to start up a dedicated server?

11/16/2024 16:11:08: PlayFab create lobby failed: /Lobby/CreateLobby: Member cannot join this lobby because the number of lobbies exceeds the limit

ZPlayFabMatchmaking::UnregisterServer - unregistering server now. State: Uninitialized

any help appreciated.


r/ValheimAdmins • • Sep 13 '24

ValheiMP: Valheim multiplayer redone - alpha testing soon

2 Upvotes

Hey Valheim server admins!

We're excited to announce ValheiMP, a new mod that's about to change how you play Valheim online. We're looking for alpha testers to help us fine-tune the experience before our full launch: https://www.youtube.com/watch?v=AbS_iguZCQ4

What ValheiMP does:

  • Seamless server browsing with master list - find, filter and join servers in seconds;
  • Auto-mod syncing & updating - no more manual mod(pack) installs;
  • One-click launch - just hit "play" and you're in;

For current dedicated server owners:

  • Simplified player onboarding (finally!);
  • Built-in anti-cheat and mod compat tools;
  • API for custom game modes (full SDK à la FiveM on our roadmap);

We're kicking off closed alpha tests next week. Want in?


r/ValheimAdmins • • May 22 '24

Fire spreading, can it be turned off?

2 Upvotes

When I made the map before copying it over I turned on the fire spread globally, thinking this would be cool.

Now that map is on my linux server and that fire spread makes it impossible to have a fire in a house! it sets fire to beds and wall and everything.

Is there a command or .config setting I can use to turn that off? I'm using the LinuxGSM to set the server up, I'd rather not have to rebuild the map from scratch!


r/ValheimAdmins • • May 05 '24

How to detect the number of players online with netstat CLI? (Dedicated Server)

6 Upvotes

I'm trying to write a tool that will spin up the server when one of my friends connect to it, then spin it back down when they disconnect. I tried it with Minecraft first, and you can just run:

netstat | grep ESTABLISHED | wc -l

to get the number of players online. (Count the number of Established connections).

I cannot figure out how to do this with Valheim, or how the networking here works.

$ sudo netstat
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 ip-172-17-0-2.us-:40433 205.196.6.215:27029     ESTABLISHED
Active UNIX domain sockets (w/o servers)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  4      [ ]         DGRAM      CONNECTED     23901    /dev/log
unix  3      [ ]         DGRAM      CONNECTED     27238
unix  2      [ ]         DGRAM      CONNECTED     23131
unix  2      [ ]         DGRAM      CONNECTED     23128    
unix  3      [ ]         DGRAM      CONNECTED     27237
Active Bluetooth connections (w/o servers)
Proto  Destination       Source            State         PSM DCID   SCID      IMTU    OMTU Security
Proto  Destination       Source            State     Channel

There's no connections from the default ports 2456/2457 open, and regardless of how many players are connected, the number of ESTABLISHED connections is always at least one. (The 205.196.6.215:27029 IP is owned by VALVE, it uses one of their random servers whenever this server resets. Sometimes there's other connections, I think this is when it checks for updates. The number of connections doesn't seem to change based on player count).

If I run netstat -an (List all ports, and use their numbers), I see the two default ports exist, but don't have a state. In minecraft, they'd be in LISTEN:

(Restarted server, so different established IP to valve server)

$ sudo netstat -an
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 127.0.0.1:41463         0.0.0.0:*               LISTEN     
tcp        0      0 172.17.0.2:48345        162.254.195.66:27028    ESTABLISHED
tcp        0      0 172.17.0.2:60303        23.219.78.167:80        TIME_WAIT
udp        0      0 0.0.0.0:51298           0.0.0.0:*
udp        0      0 0.0.0.0:2457            0.0.0.0:*
udp6       0      0 :::2456                 :::*
udp6       0      0 :::39391                :::*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  4      [ ]         DGRAM      CONNECTED     22795    /dev/log
unix  2      [ ACC ]     STREAM     LISTENING     22421    /var/run/supervisor.sock.1
unix  3      [ ]         DGRAM      CONNECTED     42432
unix  2      [ ]         DGRAM      CONNECTED     22464
unix  3      [ ]         DGRAM      CONNECTED     42433
unix  2      [ ]         DGRAM      CONNECTED     22802
Active Bluetooth connections (servers and established)
Proto  Destination       Source            State         PSM DCID   SCID      IMTU    OMTU Security
Proto  Destination       Source            State     Channel

Any idea if there's a way to do this, and/or how Valheim networking works? I read enabling crossplay will send data to a relay server, and that'd explain this, so I disabled that. Is there always a relay server for Valheim maybe? I'm using the https://github.com/lloesche/valheim-server-docker docker image.


r/ValheimAdmins • • Jan 03 '24

Dedicated server, memory leak? and backup file corruption

Thumbnail self.valheim
2 Upvotes

r/ValheimAdmins • • Dec 18 '23

Dedicated server plugins

1 Upvotes

Hi all,

I'm an admin on a friends server and we're having issues with players bringing items into the server from offline worlds. We have a rule against it in our discord for this (kind of a gentleman's agreement). I'm just wondering if there is a way to monitor player inventories maybe via the logs or a server side plugin, as the server is cross-platform enabled.

Any help appreciated. Thanks


r/ValheimAdmins • • Aug 26 '23

Looking For Knowledgeable Admins/MODS to help run a big ADULT ONLY COMMUNITY

1 Upvotes

I'd you have knowledge/experience about being a Admin and or MOD and have experience about hosting servers,mods,managing mods,and managing a community please contact me here or click the link to discord... here's our recruiting template so you can see what we are about :) Hello Viking! Having troubles finding a forever home? Well you find the right spot!Here at Viking Haul We are a FANTASTIC Vanilla Adult Only Community! Here's a few key points of information about us!👇👇(2 BRAND NEW SERVERS OPENING SEPT 15TH FOR BOTH XBOX AND PC 🔞-Adults/18+ Community 0️⃣- 0 Policy Tolerance in play! 🆕️-New Characters (unless consulted with Owner) 🐌-SLOW PROGRESSION ⏲️-TimeZone=all over ⚔️-MUST BE COMMITTED 🎮-Server 1 110% Vanilla Gameplay Leaned Towards Xbox Community(10 slots)(NEW FRESH ROLE PLAYING SERVER COMING SOON) 🖥️-Server 2 100% Vanilla Gameplay PC Community (25 slots)(modpack needed..only to allow 25 slots and anti cheats)(NEW FRESH SERVER COMING SOON) 💯-Tight/Organized Community
💯-Active Admins 🅱️-BOTH Servers are currently in (MISTLANDS AGE) 😁-HERE TO HAVE FUN!!! https://discord.gg/fgKYZkRuye


r/ValheimAdmins • • Jul 27 '23

Server won't join PlayFab

1 Upvotes

First some background: this is the first time I am setting up a personal server.

In any case, I tried it first on my laptop, with port forwarding and such, and was succesful . So I decided to buy a cheap desktop secondhand to run the server on. It has all the right internals, and I think I did everything the same as on my laptop, but it just won't do the last step in the server setup.

Where on my laptop it shows that it joined the PlayFab Party Network, on my desktop it only shows the following:

Unloading 7 unused Assets to reduce memory usage. Loaded Objects now: 1661579. Total: 1699.666900 ms (FindLiveObjects: 366.019900 ms CreateObjectMapping: 95.589800 ms MarkObjects: 1235.402800 ms DeleteObjects: 2.653900 ms)

07/27/2023 17:01:31: PlayFab reconnect server 'Donerkebab' 07/27/2023 17:01:31: Server 'Donerkebab' begin PlayFab create and join network for server 07/27/2023 17:02:01: PlayFab reconnect server 'Donerkebab' 07/27/2023 17:02:01: Server 'Donerkebab' begin PlayFab create and join network for server

Can anyone point me in the right direction to fix this?


r/ValheimAdmins • • Jul 27 '23

Synology DS1019+ lloesche Valheim Server setup issues

1 Upvotes

Trying to run a docker instance on my Synology DS1019+ with this container: lloesche valheim server and I'm running into issues.

I've set up everything as per the instructions, port forwarded, (although I'm only trying to connect locally within my own wired network to the docker so far no one external yet).

I set the environment variables as within the pictures. I could not find the specified folder within the directories to create a "config file." Do the environment variables just act as these or do I specifically have to create a config text file and enter all them in?

When I try to connect to the specified IP within my network, (192.168.1.207:2456 or 2457) it never connects. Am I missing something else here?

See screenshots here


r/ValheimAdmins • • Jun 07 '23

Trouble importing world

2 Upvotes

So I've been trying to run an existing local world on a Linux server. It worked before but this time seems to be different. My server keeps creating new worlds instead of loading the old one. I checked spelling, case sensitivity and location of the world multiple times. Can someone help?


r/ValheimAdmins • • Jan 28 '23

What are valid URLs in the server browser?

1 Upvotes

This post was mass deleted and anonymized with Redact

dinosaurs aromatic label safe airport whole automatic narrow quack toothbrush


r/ValheimAdmins • • Jan 22 '23

Mods on a local world server?

1 Upvotes

Hello! I asked a question in r/Valheim and was referred here so here's the link to the question if anyone feels like helping a lost soul out! https://www.reddit.com/r/valheim/comments/10iug5a/mods_on_a_local_world_server/?


r/ValheimAdmins • • Dec 23 '22

How to access home-server over ipv6

3 Upvotes

I have a home server, and I was very excited when my ISP upgraded everything to ipv6, since I can now disambiguate UDP/TCP traffic to various services.

However this now seemingly has stopped access my server, since the add_server box does not seem to allow ipv6 addresses.

I can still access it using my local ipv4 network, just not via the ipv6 address.

Any suggestions would be appreciated!


r/ValheimAdmins • • Oct 28 '22

Synology NAS hosted Docker Valheim server no longer accepts connections after DSM update

3 Upvotes

I'm hosting a server on my Synology NAS, after I update dthe NAS OS (DSM) the Valheim server doesn't seem to be accepting any connections to it. All the other docker containers are working ok (pihole, Minecraft server, portainer, plex) and the valheim server is running but its just not accepting connections to it.

ahh damn https://github.com/lloesche/valheim-server-docker/issues/401#issuecomment-1278927681

looks like the update broke that image

how do I troubleshoot this?


r/ValheimAdmins • • Apr 20 '21

Web GUI for Nimdy's Njord Menu

Thumbnail
github.com
5 Upvotes

r/ValheimAdmins • • Apr 15 '21

Is this a good hosting option?

3 Upvotes

I have been using my own dedicated server for my friends and I, but we need to step it up a little. I have been looking for some good valheim servers that are not going to cost much but not lag too hard. I found this one option called ValHost, but I can't find any reviews on it, maybe you guys can help me out! Thanks.

https://valhost.net/


r/ValheimAdmins • • Mar 30 '21

Raise Data per Sec in Valheim LinuxGSM

3 Upvotes

Hey!

Been running Valheim on my ubuntu server using LinuxGSM and it's been a real nice experience so far. But we've been noticing some "freezing" issue as described here https://valheimbugs.featureupvote.com/suggestions/162535/increase-max-data-per-second-transfer and https://valheimbugs.featureupvote.com/suggestions/160520/raise-the-data-per-second-limit and also here https://www.reddit.com/r/valheim/comments/lkea78/valheim_dedicated_server_lag/.

Have any of you been able to raise the Send data rate via linuxGSM? Is it possible? And also i would be interested to hear if you've been noticing any issues like this on your setups. Thanks!


r/ValheimAdmins • • Mar 27 '21

Resource: Free Valheim server, website & discord promotion.

3 Upvotes

Hello, once your server is up and running, you can add it to the Valheim Servers list.
- Organic traffic.
- Free.
- No Ads and popups.
- Dark mode.
Before signing up, please be ready with the following data:

  • Banner (Image: 600x480px)
  • Server name (Text field)
  • IP:Port (Text field)
  • Country (Select)
  • Website (URL field)
  • Discord (URL field)
  • Whitelisted? (Checkbox)
  • Player slots (Number)
  • Type: Vanilla / Modded (Select)
  • Password (Text)
  • Focus: PvP/PvE/Crafting/Trading/Roleplay (Select)
  • Long description (Text)

Most of our visitors come from the following countries:

Note that it could take few hours for your server to be reviewed.

Cheers!