You are viewing a potentially older version of this package. View all versions.
sighsorry-ServerManager-1.2.9 icon

ServerManager

Manage your Valheim server with approved mods, server-side characters, backups, player logs and Discord chat. Monitor suspicious activity, anticheat, run admin commands, schedule tasks, and offer quick connect, a custom logo in one plugin.

Date uploaded a week ago
Version 1.2.9
Download link sighsorry-ServerManager-1.2.9.zip
Downloads 164
Dependency string sighsorry-ServerManager-1.2.9

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.2360 icon
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.2360

README

ServerManager

Run a Steam multiplayer Valheim server with an approved modpack and server-side characters. Back up players, review activity, manage the server from Discord, or schedule routine work. It works on a dedicated server or a world opened with Start Server. Discord and scheduled jobs are optional.

Valheim main menu showing the server's optional mods

Players can see which optional mods they haven't installed before joining.

Discord chat relay and a server command reply

Admins can chat and run commands from Discord without opening an RCON port.

Set up your first server

  1. Install on both sides. Install BepInExPack Valheim (5.4.2360) and the same ServerManager version on the server and every client. For a manual install, put ServerManager.dll in BepInEx/plugins. Use matching game versions and turn off crossplay. If you already use a server-character mod, back up its saves before switching; do not run both.
  2. Start the world once. Start your dedicated server, or select Start Server when opening a world in-game. Look for the new ServerManager folder in the Valheim save directory, not in BepInEx/config. On Windows the default is %USERPROFILE%\AppData\LocalLow\IronGate\Valheim\ServerManager; with -savedir it is <savedir>/ServerManager. Give independent servers separate save directories.
  3. Approve the modpack. In that folder, copy required plugin and preloader patcher DLLs into required/ and allowed extras into optional/. These are reference copies: install the actual mods separately. ServerManager includes itself automatically. Empty folders do not allow every mod.
  4. Choose who owns character progress. In ServerManager.yml, under serverSettings, leave loadServerCharacterOnJoin: true to restore the server's character on each visit. Ask new players to create a fresh character, or import their existing save. A progressed local character with no matching server save is refused, not overwritten. Choose false only if players should bring their local progress on every visit.
  5. Test before inviting players. Join with the modpack as a non-admin so admin exemptions don't hide a mod mismatch. Reconnect with the same character. In the server console, run sm:status to check the world and sm:players to see who's online. If joining fails, check the server's BepInEx log and the affected client's BepInEx/LogOutput.log.

That's enough to play. Use the settings below to choose what else your server needs.

Choose your server rules

Edit the generated ServerManager.yml on the server. Most edits reload while the world is running. If an edit is rejected, read the warning before assuming it took effect.

Decision Default and what to change
Player slots Under serverSettings, leave maxPlayers: 10 to let the game or another mod decide. Set 11–250 to override it next time the server starts or the host reopens the world.
Character slots and backups maxCharactersPerAccount: 3 and backupsPerProfile: 30 under serverSettings. Lowering the character limit does not lock out existing characters. Verified admins and the local host bypass the creation limit.
Starting gear startItems replaces the whole starting inventory for new server characters. The default equips a midsummer crown and rag armor and adds a torch. Use exact prefab names, e.g. Wood, 5; use [] to start with nothing. No repeat grants on reconnect or import.
Item and stat rules forbiddenItems lists banned item prefabs. statCaps covers health, stamina, eitr, weight and damage; its default action is log. The damage cap defaults to 50000 and can block excessive damage even in log mode.
Cheat detection Under cheatDetection, action defaults to kick. Choose log, kick or ban. A detector diagnostic is not proof of cheating and does not mean DLL checks were skipped.

How mod approval works: Ordinary players need an exact approved SHA-256 match for every required DLL, and for every optional DLL they install. Unlisted plugins and patchers are rejected. Plain managed libraries such as YamlDotNet.dll are skipped. Verified admins may use extra mods or mismatched optional mods; required hashes still apply. Update the reference copies when your pack changes. The policy reloads for new connections; players still restart after changing patchers.

Save, restore and administer

ServerManager keeps accepted character changes in memory, including the host's. It writes character checkpoints after a successful world save; it does not shorten Valheim's autosave interval. For a planned shutdown, run save and wait for WorldCharacterCheckpointCompleted ... pending=0 in the server log. A “world saved” webhook alone is not enough.

To restore one character without stopping the server, have that player log out and stay offline. Save and wait for the checkpoint. Run sm:characterbackups MyHero, then sm:characterrestore MyHero <backupId> with the ID the first command returns. This restores the character, not the world. Never replace a live .fch by hand: server memory can overwrite it. For a missing primary save or the host's own character, use the stopped-server recovery steps.

To make someone an in-game admin, run sm:adminadd <Steam64> in the server console. This uses Valheim's adminlist.txt; Discord admin IDs are separate. Use sm:help in F5 or the server console, /sm:help in game chat, or /help in Discord. Admins can manage players, access lists, items, skills, health, teleports, raids, world keys, announcements and backups.

sm:giveitem "Some Player" SwordIron 1 4
sm:skillset "Some Player" Swords 50 notify=false

An online target normally gets one private chat line after an item grant or skill change. Add notify=false (Discord: notify:false) to skip just that message. The result and audit policy stay the same. For custom item data, save a preset in Itemdata.yml and pass its ID to giveitem. If a grant or restore times out, check the result before repeating it.

Set up optional features

Discord: notifications, chat and commands

In discord.yml, enable only what you need. The generated examples start disabled.

  • Game → Discord: Create a webhook in the destination channel and paste its URL into a route. For a public feed, select events: [player.connection]: all remote joins and leaves, no Steam IDs by default. For an admin feed, use events: [player.first_join] and include_steam_id: true. “First” means a new server character, not a new Steam account. You don't need a bot for either feed.
  • Discord → game: Enable the bot, set its token, and list the Discord guild, admin users and channels. Enable Message Content Intent for ordinary chat. Try /status. Use /giveitem for mod commands and /rcon command:save for server-console commands. Keep tokens and webhook URLs private.

Webhook and bot setup, with copyable examples

Schedules and logs

  • Run a job: Add a command to jobs in cron.yml. For example, command: 'announce Good evening, Vikings!' with schedule: '0 21 * * *' announces at 21:00 daily. For a recurring broadcast center tip, set allowClientHide: true so players can hide it. Don't edit cron_last.yml: it records progress. Scheduling examples
  • Choose what to record: Edit the audit, player and chat lists in log.yml. Player logs can show position, inventory, skills, damage and deaths. Omit a list for defaults or use [] to disable that category. The default audit records failed jobs, not every successful tip. Files are under logs/; older player logs are compressed. Keep inventory details, whispers and clan chat private. Log files and filters

Client menu and language

On each client, open BepInEx/config/sighsorry.ServerManager.cfg → [1 - Client]. Set Server Address to a dedicated address such as play.example.com:2456 or to steam:<host Steam64 ID> for a friend's hosted world. Leave the password blank to use the game's prompt. Set Server Button Text and Logo Path to customize the menu. Alt + Start still opens the normal world list.

Show Event Notifications controls top-center announcements, deaths and boss kills. Show Optional Broadcasts controls hideable cron tips. Neither controls private command receipts. English and Korean are included; you can add a ServerManager.<Language>.yml translation for players or for a webhook. Logo paths, optional-mod preview and translation setup

Compatibility

  • ServerCharacters: do not run both character managers at once. You can import native character saves; keep a copy of the originals. InventorySlots: use 1.4.5 or newer if installed.
  • Player limits: if MaxPlayerCount, NetworkPerformanceSystem or Valheim Plus is installed, ServerManager leaves capacity to that mod. Authentication and character management still run.
  • Cron, Upgrade World and FreshWorld: don't run the same schedules through NewCron/CronJob and ServerManager. Install Upgrade World to run supported maintenance jobs. With a compatible FreshWorld, tracked jobs share its lock to avoid overlap; they do not wait for a particular reset to succeed or add extra saves.
  • Clan and CustomMainMenu: compatible Clan chat can be recorded privately. With CustomMainMenu, look in Server Info for join guidance and optional mods.
  • Security: printseeds and freefly are restricted for non-admins on managed servers. DLL approval and client checks are safeguards, not proof of an unmodified client.

Reference

CHANGELOG

Changelog

1.2.10

  • Admins can bring graves from anywhere in the world to the spot in front of a living, online player. Use sm:graverecall name "Character Name" for one character or sm:graverecall steamid <Steam64> for all characters ServerManager can verify on that account. The original graves keep their contents. Graves in use stay in place, and the command reports how many moved.
  • Grave recall is also available through Discord with /graverecall or /rcon command:graverecall name "Character Name". Update ServerManager on the server and clients.
  • Fixed a startup issue that could leave admin commands waiting for the world to become ready on a newly created world.

1.2.9

  • Updated world-save handling for Valheim 1.0.30. If the game rolls back a world save after an automatic backup error, ServerManager no longer commits the matching character saves or reports server.saved. Skipping a backup that is not due is still a successful save.
  • Server characters now use the same local creation time as vanilla. This fixes the displayed time outside UTC and matches vanilla's initial upgrade seed for items without a saved seed. Existing .fch files need no conversion.
  • Removed a repeated settings-key allocation in the lobby when CustomMainMenu is installed. Its settings still take effect immediately.

1.2.8

  • Added the player.first_join Discord webhook filter for the first login of a new server character. Use it on a private route with include_steam_id: true to see Steam IDs only for new characters there. Existing player.connection routes still include all remote joins and leaves. Selecting both filters on one route sends only one message per first join.
  • Online players now receive one private chat message when an admin grants them an item or sets their skills. Add notify=false in F5 or the server console, or set notify:false in Discord, to skip that message for one command. The command result and audit settings are unchanged. Update both server and clients to use the new command options.
  • Rewrote the README for first-time server setup and added an operator guide with command examples, Discord routes, scheduling, logs and character recovery.

1.2.7

  • Added log.yml with separate audit, player and chat lists. Valid edits reload automatically; invalid edits keep the last valid settings. File-log selection does not change character saves, security checks, game messages or Discord delivery.
  • Reduced scheduled-job audit noise: cron.failed is enabled by default, while cron.executed includes all final results. Failed jobs retain their failure code and command step when known, without a second audit line for each intermediate command.
  • Removed per-job log from cron.yml/cron.yaml. Remove that field from existing jobs and use log.yml instead. Root logJobs and logSkipped remain console-only settings.
  • Added standard BepInEx 5 preloader patcher DLL checks through the existing required and optional folders. Clients report hashes from BepInEx/patchers, including subfolders; server reference copies are never executed.
  • Added patchers to the optional-mod preview and improved mismatch messages. Required patchers remain mandatory for admins, with existing admin exceptions for optional or unlisted modules. These checks verify installed files, not successful patch execution or runtime memory.
  • Update ServerManager on both the server and all clients, then restart. The connection and optional-preview formats have changed.

1.2.6

  • Restricted freefly to server-verified administrators on ServerManager servers, matching printseeds. Non-admins cannot run it through chat or the F5 console, and it is hidden from help and autocomplete.
  • Kept normal access for verified administrators, local hosts and single-player games. Denied attempts show a permission message without cheat reports or sanctions.
  • Updated the required BepInExPack Valheim version to 5.4.2360. Added regression coverage for both restricted commands, permission expiry and command visibility.
  • Update ServerManager on both the server and clients. This restricts the commands; it cannot prevent modified clients from reading seed data or moving their camera directly.

1.2.5

  • Added automatic overlap prevention between tracked Upgrade World cron jobs and FreshWorld 1.1.9 maintenance. No new YAML settings are needed. This coordinates participating jobs, not direct Upgrade World commands, and does not require a previous FreshWorld run to have succeeded.
  • Removed ServerManager's automatic saves before and after Upgrade World jobs, including after partial failures. Explicit cron save commands, FreshWorld's pre-reset save and normal game saves remain unchanged. Add an explicit save if changes must be persisted before the next normal save.
  • Fixed the dedicated-server save path used by maintenance batches, keeping readiness, world ownership, save-block and disk-space checks without requiring a local player or client UI.
  • Kept failed or uncertain maintenance under review without automatic replay. Locks wait for native work to stop, while confirmed-idle failures can release safely. Reduced repeated compatibility checks while waiting.
  • Added regression coverage for optional integration, save admission, delayed cleanup, configuration reloads and interrupted jobs. Update ServerManager on the server and clients; install FreshWorld 1.1.9 alongside it to use the optional coordination.

1.2.4

  • Updated scheduled Upgrade World maintenance for its current execution flow, including queued cleanup commands. Use world_clean start to run cleanup from cron.
  • Improved completion tracking for partial failures and timeouts. Normally completed work with failed targets is saved and marked for review; remaining batch commands stop without automatic retry. Timed-out work remains observed until Upgrade World becomes idle.
  • Restricted printseeds to server-verified administrators on ServerManager servers, hiding it from non-admin help and autocomplete and blocking direct chat/F5 use. Denied attempts show a localized permission message without cheat reports or sanctions. Local hosts and single-player games are unchanged.
  • Kept command permissions separate from cheat and stat-cap exemptions. Added regression coverage for maintenance completion, command visibility, expiring admin permissions and localization.
  • Update ServerManager on both the server and clients. The command restriction does not hide seed data from modified clients.

1.2.3

  • Fixed temporary Steam authentication failures blocking an account until the server restarted. Players can retry after the previous session is cleaned up and a short waiting period has passed.
  • Kept Steam authentication required for every connection. Improved session cleanup and bounded cleanup retries to avoid processing many failed sockets in one server update.
  • Added regression coverage for reconnects, delayed responses, cleanup failures, hosted and dedicated servers, and temporary capacity limits.
  • Update ServerManager on the server and clients, then restart to load the update. Later authentication failures no longer normally require a server restart; wait at least 30 seconds before reconnecting.

1.2.2

  • Fixed oversized Discord link text with CustomMainMenu by leaving its button styles unchanged while preserving ServerManager's quick-connect text and behavior.
  • Restored the original font size when releasing ServerManager's button styling, without restoring styles it never changed.
  • Added regression coverage for custom-menu button styling, style ownership and restoration. Restart Valheim after updating to recreate existing menu buttons.

1.2.1

  • Reduced routine scheduled-broadcast logging. logJobs now defaults to false, with per-job log overrides; existing explicit settings are preserved. Successful center-broadcast-only jobs can omit their audit-file entries while failures, other commands, Discord reports and saved schedule progress remain unchanged.
  • Improved assembly-inspection diagnostics with the first exception and stack in the affected client's log, plus short audit and webhook summaries. Partial inspection failures are distinguished from assembly-load monitoring and enumeration failures; these diagnostics remain log-only.
  • Bounded repeated diagnostic output and kept exception messages, stacks and local paths out of transmitted summaries. Existing detection checks continue when part of an inspection fails.
  • Added regression coverage for quiet scheduled jobs, diagnostic limits, partial inspection, protocol validation and webhook privacy.
  • Update ServerManager on both the server and all clients; the connection protocol has changed.

1.2.0

  • Added per-job allowClientHide for scheduled broadcast center messages. It defaults to false, preserving existing notices; set it to true for repeated tips players may hide.
  • Added the client-local Show Optional Broadcasts setting, enabled by default and independent of Show Event Notifications. Configuration Manager changes apply to new messages immediately.
  • Preserved message color and size tags, scheduled execution, logs and Discord reports. Changing the hide permission does not reset saved schedule progress; manual broadcasts and other game messages are unchanged.
  • Added regression coverage for optional-message routing, independent display settings, authentication and schedule reloads.
  • Update ServerManager on both the server and all clients; the connection protocol has changed.

1.1.10

  • Improved connection compatibility by accepting bounded server-side PeerInfo extensions instead of disconnecting with "PeerInfo contained trailing data." Original packet data is preserved for Valheim and mod handlers.
  • Kept existing packet-size, required-field and client-to-server validation safeguards. Added regression coverage for extensions, truncated packets and unchanged packet forwarding.
  • Added a once-per-connection diagnostic reporting extension size without logging packet contents.
  • Update ServerManager on both the server and all clients.

1.1.9

  • Added Valheim 1.0.20 character-format support, preserving new drop counters and item-upgrade state. Existing pre-update Deep North character files and backups remain readable.
  • Improved startup diagnostics when the game's character format is unsupported, distinguishing compatibility failures from invalid YAML.
  • Made maxPlayers optional: 10 disables ServerManager's override, while 11-250 sets the player limit. Changes require a server restart or reopening a hosted world; other YAML settings still reload live.
  • Allowed coexistence with MaxPlayerCount, NetworkPerformanceSystem and Valheim Plus by leaving player limits to those mods while keeping authentication and character management active. Increased bounded authentication capacity for larger servers; 250 is a configuration ceiling, not a performance guarantee.
  • Update ServerManager on both the server and all clients. Existing YAML values are not rewritten; set maxPlayers: 10 to disable the override.

1.1.8

  • Allowed larger Player custom-data values within existing total-size safeguards, fixing save failures and disconnects when mods accumulate progression in one value.
  • Improved character-data size errors with the affected key and byte limits, without logging the stored value.
  • Added regression coverage for large mod data, inventory-update preservation, size boundaries and malformed data. Existing total-size limits and save protections remain unchanged.
  • Update ServerManager on both the server and all clients.

1.1.7

  • Improved compatibility when restoring equipped items during character loading. Failures limited to the final equipment step are logged without blocking entry; other load-failure safeguards remain in place.
  • Added character names and available Steam IDs to connection-rejection webhooks, with unverified labels before authentication and identity hiding on anonymous routes.
  • Strengthened defensive checks.
  • Update ServerManager on both the server and all clients; the connection protocol has changed.

1.1.6

  • Preserved the original exception stack when managed character loading fails, making the initial game or mod error easier to locate in the affected client's BepInEx log.
  • Kept existing load-failure safeguards: incomplete character loads still block saving and return the player to the lobby. Normal game-handled missing items remain allowed.
  • Added regression coverage for exception origins, early and late patch failures, fatal exceptions, and load-state cleanup.

1.1.5

  • Fixed periodic full character updates retaining an outdated rejoin position. Updates now refresh the logout point using Valheim's normal death and intro rules; inventory-only updates and save intervals are unchanged.
  • Added English and Korean Discord command descriptions, help and bot notices based on each user's Discord language. Command names stay English, while detailed command results and game/mod RCON output remain unchanged.
  • Reused the existing translation files for bot text and kept webhook language settings independent. Both bot languages are included in the DLL.
  • Added regression tests for rejoin-position capture, profile/inventory round trips, Discord localization, command registration and English fallback.

1.1.4

  • Moved world-aligned character checkpoint file writes, backup rotation and disk verification off the main thread, with one background write at a time.
  • Fixed failed checkpoint retries retaining already-completed characters from the same batch after their memory accounting had been released.
  • Preserved newer in-memory progress during writes and report checkpoint completion only after disk results are confirmed. Failed characters keep their isolated retry path.
  • Added regression coverage for stalled storage, reconnects, partial failures, retry memory release and shutdown ownership. World-save intervals and character validation rules are unchanged.

1.1.3

  • Reduced player-log size by skipping unchanged full inventory snapshots at the five-minute check, while keeping the first snapshot after joining or on a new local date.
  • Added background gzip compression for past-date player logs and completed size-split parts. Active logs stay plain text, and compression is verified before removing the original.
  • Preserved late-arriving records and existing log retention rules across compressed files, with recovery tests for failed writes and archive conflicts.
  • Kept individual inventory-change entries, character transfers, and save timing unchanged.

1.1.2

  • Allowed leading and trailing spaces in character names, preserving every space so distinct native profiles keep separate storage identities.
  • Fixed custom-data item grants and failed-grant inventory rollback to use the current Valheim inventory method signatures.
  • Clarified how to target names containing spaces in F5 and Discord commands, with additional storage and command regression tests.
  • Updated the required BepInExPack Valheim version to 5.4.2351.

1.1.1

  • Added inventory overlap diagnostics identifying the slot and both conflicting items, with local prefab names when available.
  • Added a brief client-side capture retry for overlapping inventory items: once per second for up to 10 seconds, with warnings limited to once per 30 seconds. Invalid snapshots remain blocked, and existing save and logout deadlines still apply.
  • Removed the redundant "Client report" labels from Discord combat and security webhook cards.
  • Simplified anonymous webhook prefix validation and scheduler state handling while preserving configuration and saved schedule identities.

1.1.0

  • Added detailed character-save errors with the affected inventory item number, slot, saved prefab hash and flag values.
  • Distinguished missing prefab identity, a zero prefab hash, invalid stack counts and unsupported flag bits while preserving existing save validation rules.

1.0.10

  • Allowed ordinary wrong-password attempts to retry without entering the process-lifetime Steam authentication quarantine.
  • Made scheduled Upgrade World integration validate its runtime contract instead of requiring version 1.80 exactly.
  • Added a single-command dispatch fallback when Upgrade World completion cannot be tracked, with no automatic saves, retries or completion claim.

1.0.9

  • Added an opt-in discord.shout webhook event for Discord user/admin chat and admin chat commands delivered to the game.
  • Kept Discord chat notifications compact, with anonymous-prefix support, hidden author IDs, and existing duplicate and relay-loop protection.

1.0.8

  • Preserved the appearance selected during character creation on the first server join, while keeping server-defined starting items and progression.
  • Limited required/optional checks to BepInEx plugins. Standalone library DLLs are now skipped and reported when the policy loads or reloads, avoiding rejections caused by shared game libraries.
  • Clarified that ServerManager.dll is automatically required, must not be placed in optional, and does not need a copy in required.

1.0.7

  • Added optional CustomMainMenu compatibility so its changelog and logo remain visible, with ServerManager guidance and allowed mods available from a compact Server Info dialog.
  • Made new Discord examples disabled by default and isolated live-reload failures to the affected bot or named webhook block while valid blocks continue to update.
  • Added compact cron.executed webhook summaries that combine each scheduled job's commands, content, schedule and result into one notification.

1.0.6

  • Centralized YAML safety checks while retaining each configuration's existing limits and behavior.
  • Simplified internal connection-session identity checks without changing authentication or character handling.

1.0.5

  • Preserved Valheim's used-cheats achievement flag for auditing without rejecting otherwise valid character revisions.
  • Fixed per-player activity logs being skipped after a valid Steam-authenticated Ready handshake.

1.0.3

  • Fixed administrator mod-policy exemptions by confirming them only after Steam authentication against the live server admin list.
  • Updated Steam admin, access and ban-list handling for Valheim 1.0's V_ account prefix while continuing to recognize existing numeric and Steam_ entries.
  • Fixed repeated Steam authentication callbacks preventing a previously authenticated player from reconnecting after an interrupted session.

1.0.2

  • Fixed Valheim 1.0.7 PeerInfo validation rejecting valid client connections as trailing packet data.
  • Restored the intended character flow: new server characters may join, while existing local characters are asked to create a new character when required.

1.0.1

  • Updated character storage, inventory parsing, world-save tracking and Harmony patches for Valheim 1.0.7.
  • Fixed local-host character startup and protected failed character loads from overwriting server data.
  • Allow the game to skip items from removed mods instead of blocking entry.
  • Updated the required BepInExPack Valheim version to 5.4.2350.

1.0.0

  • Initial release.