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.
Valheim ServerGuard Client
Companion plugin for Valheim ServerGuard. Required when joining a ServerGuard-protected server. Adds an optional one-click Quick Login panel to the title screen. Tells the server which mods you have loaded so it can let you in.
| Date uploaded | a day ago |
| Version | 1.7.0 |
| Download link | TaegukGaming-Valheim_ServerGuard_Client-1.7.0.zip |
| Downloads | 18 |
| Dependency string | TaegukGaming-Valheim_ServerGuard_Client-1.7.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.2333ValheimModding-YamlDotNet
Shared version 16.3.0 of YamlDotNet from Antoine Aubry and contributors, net47 package for use in Valheim mods. Maintained by the ValheimModding team.
Preferred version: 16.3.1ValheimModding-JsonDotNET
Shared version 13.0.3 of Json.NET from Newtonsoft, net45 package for use in Valheim mods. Maintained by the ValheimModding team.
Preferred version: 13.0.4README
Valheim ServerGuard — Client
Companion plugin for Valheim ServerGuard. Install this if you're joining a server that uses ServerGuard. Without it, the server kicks you on connect.
This is the client-side half of the system. The server-side mod (Valheim_ServerGuard) is installed by the server host, not by you.
What it does
When you connect to a ServerGuard server, this plugin tells the server which mods you have loaded so it can decide whether to let you in. While you play, it also:
- Blocks cheat console commands (
devcommands,god,fly, etc.) on multiplayer servers — single-player and host-and-play keep full cheats. - Blocks the emote attack-cancel exploit. Sheathing your weapon is untouched — swapping, looting and building all work normally mid-swing.
- Reports your deaths, shouts, and built / destroyed pieces to the server's logs.
- Reports your skill levels for cap enforcement.
- Removes server-configured cheat items from your inventory on login (non-admins).
- Suppresses the automatic "I have arrived!" shout on first spawn, if the server asks for it. You can still shout manually.
You don't need to do anything in-game — it runs silently in the background.
Optional: Quick Login panel
The companion can add a one-click login panel to the title screen so you (or your community) can join a specific server without the server browser, IP entry, or password prompt. It shows the server logo, name, description, and a live player count.
It's off by default. To enable it, edit BepInEx/config/ServerGuard/client.yaml:
quickLoginEnabled: true
serverAddress: "my.server.com" # or an IP
serverPort: 2456
serverPassword: "" # if the server has one
serverName: "My Server"
serverDescription: "Welcome!"
serverLogoPath: "logo.png" # PNG/JPG placed in BepInEx/config/ServerGuard/
Click Connect → pick a character → you're in. (Or click Start Game, pick a character, then Connect — the panel stays visible on the character screen.)
Quick setup
- Install via your mod manager (r2modman / Thunderstore Mod Manager).
- Launch Valheim once to the main menu, then close the game.
- Open
BepInEx/config/ServerGuard/client.yamland paste in the password your server host gave you:sharedSecret: "<paste here>" - Save. Restart Valheim. You're done.
The password is unique to each server. Ask the server host — they'll find it in their server's
BepInEx/config/ServerGuard/conf/settings.yamlon thesharedSecret:line.
Documentation
For setup, troubleshooting, and admin-command details see the GitHub Wiki.
Try it out
This mod was built for the TaegukGaming community server running the Hearthbound modpack. If you want to see it in action:
Disclaimer
This mod is created using AI. No other mods were copied during the process. All feature ideas come from the uploader and are mainly to cater the needs of the TaegukGaming community server. If any features or ideas look similar to other mods, these are not intentional.
This mod is free to use as is. Voluntary support is appreciated.
Version: 1.7.0
Source / issues / wiki: https://github.com/yesu0725/Valheim-ServerGuard
Server-side package: TaegukGaming-Valheim_ServerGuard
CHANGELOG
Changelog
1.7.0
Feature release. Install alongside the 1.7.0 server plugin — this version enforces the server's new console policy, and an older companion will ignore it.
New
- Console guard. The server decides what the F5 console may run: everything (as before), a restricted set, a whitelist, or nothing at all — the console can be locked shut entirely. Blocked commands print a short explanation instead of silently doing nothing. Servers that don't set a policy behave exactly as they did in 1.6.3, and single-player is never affected.
- Wider command coverage. The blocked set grew from 27 to roughly 90 commands, split into cheat commands and non-cheat commands that still change shared world state (
nomap,noportals,setworldmodifier,setworldpreset,optterrain,resetsharedmap,printseedsand others). Chat, emotes,/s,/w, display settings and the crafting-list commands are untouched. - Key binds are cleared while you're on a guarded server. If your server sets a bind policy, your custom console key binds are removed for that session and the
bindcommand is blocked. They come back on their own in single-player — the mod clears the live list, not your saved settings. (A server can choosewipe, which does delete them permanently; you'll get a message in the console when binds are removed either way.) - Everything is restored when you disconnect. Leaving a server that locked the console down gives you your console and binds back immediately — no restart needed.
Fixed
- Cheat commands added by other mods are now detected. The check that asks Valheim "is this a cheat command?" was reading the wrong internal table and always came back no, so it only ever caught the hard-coded list. It now reads the real command registry, which means cheat commands registered by any mod are caught too.
1.6.3
Bug-fix release. Install alongside the 1.6.3 server plugin.
Fixed
- Shouting works again on servers that set
enableArrivalShout: false. The 1.6.2 filter was meant to swallow only the automatic "I have arrived!" line on first spawn, but it swallowed every shout — players on those servers couldn't use/sat all. It decided by asking "did the respawn update run this frame", and the game runs that update on every frame, so the answer was always yes. It now brackets the actual call instead, and gives up after suppressing one shout per session. Servers that leaveenableArrivalShoutat its default were unaffected either way.
1.6.2
Install alongside the 1.6.2 server plugin.
Changed
- Sheathing your weapon is no longer blocked mid-attack. Holstering was treated as an attack-cancel exploit, but weapon swaps, picking up items, opening chests and building all holster the weapon — so honest play was being blocked and reported. Only the emote cancel is blocked now.
- The "I have arrived!" shout can be turned off by the server. If your server sets
enableArrivalShout: false, the companion swallows the automatic first-spawn shout. You can still shout manually. Servers that don't set it keep vanilla behaviour.
1.6.1
Bug-fix release. Install alongside the 1.6.1 server plugin.
Fixed
- Quick Login player count no longer shows
?. The panel's live player count always displayedPlayers: ?even when the server was up and reachable. The server-info query never answered the challenge packet that Valve's query protocol has required since December 2020, so every reply was discarded. The panel now shows the real count (and max players). - Player count queries the right port. It now tries the Steam query port (game port + 1, i.e. 2457 for a default 2456 server) first instead of last, so the count appears immediately instead of after a wasted timeout.
- No more title-screen stutter. The query used to run on the main thread and could freeze the menu for several seconds while it waited for a reply. It now runs in the background.
- If the query genuinely can't reach the server (firewall, wrong port, server offline), the panel still shows
Players: ?— but the log now records which host and port were tried so it can be diagnosed.
1.6.0
Companion update for ServerGuard 1.6.0 server. Required version match — install both at the same time.
New: Quick Login panel (optional, off by default)
- Adds a panel to the title screen so you can join your server with one click — no server browser, no IP entry, no password prompt.
- Clicking Connect takes you to character selection; after you pick a character you connect straight to the configured server. (You can also click Start Game first, pick a character, then Connect — the panel stays on screen.)
- Shows the server logo (PNG/JPG), name, description, and a live player count (queried while you sit on the menu).
- Uses the game's own font and button styling.
- Enable and configure it in
BepInEx/config/ServerGuard/client.yaml(quickLoginEnabled,serverAddress,serverPort,serverPassword,serverName,serverDescription,serverLogoPath). Place the logo image inBepInEx/config/ServerGuard/.
New: player-facing
- Shout reporting. When you
/sshout, the companion forwards it so the server can post it to the public Discord channel. - Cheat-item removal. If the server enables it, configured cheat items (e.g.
SwordCheat,SledgeCheat) are removed from your inventory on login unless you're an admin.
1.4.0
Companion update for ServerGuard 1.4.0 server. Required version match — install both at the same time.
What this version adds (player-facing)
- Anti-cheat blocks. Cheat console commands (
devcommands,god,fly,spawn, etc.) are silently blocked while you're on a multiplayer server. Single-player keeps full cheats. - Animation-cancel block. Emote and sheathe inputs during attack recovery are now blocked client-side. Your attacks play out at their normal speed.
- Death reporting. When you die, the companion sends a short report to the server (cause + position) so the admin's death log can show the killer.
- Build-event reporting. Pieces you place / destroy / hammer-remove are sent to the server's forensic log.
- Skill-level reporting. Periodically reports your skill levels so the server can spot impossibly high values.
sgadmin console commands. If you're an admin (in the server'sadmins.yaml), open the F5 console and typesg helpfor a moderation toolkit.
Other
- Modset fingerprint. Logged on startup so you can verify it matches the server admin's published fingerprint.
- Several Mono compatibility fixes for current Valheim builds.
Setup reminder
After installing, launch Valheim once. The companion creates BepInEx/config/ServerGuard/client.yaml — paste your server's sharedSecret value into it and you're done.
1.3.0
Initial public release. Reports your mod list to a ServerGuard-protected server so it can let you in.