限时抢购 46% 全场服务器优惠 最后一天!
距结束还剩: 00D 00H 00M 00S
background image
Game Servers 380 7 Days to Die 4 Abiotic Factor 2 Aloft 2 alt:V 2 Americas Army Proving Grounds 2 Among Us 2 Archean 2 ARK Survival Ascended 6 ARK Survival Evolved 3 Arma 3 3 Arma Reforger 2 Aska 2 AssaultCube 2 Assetto Corsa 3 Astro Colony 2 Astroneer 2 Automobilista 2 2 Avorion 2 Banana Shooter 2 Barotrauma 3 BATTALION Legacy 2 BeamNG.drive (BeamMP) 2 Black Mesa 2 Brickadia 2 Call of Duty 2 Citadel: Forged with Fire 2 ClassiCube 2 Clone Hero 2 Colony Survival 2 Conan Exiles 4 Contagion 2 Core Keeper 2 Counter-Strike 2 3 Craftopia 2 CryoFall 2 CS2D 2 Cube 2: Sauerbraten 2 Cubic Odyssey 2 DayZ 4 DDNet 2 DDRaceNetwork 2 Dead Matter 2 Dont Starve Together 4 Eco 2 Empyrion Galactic Survival 2 Enshrouded 3 Escape from Tarkov 2 Euro Truck Simulator 2 2 Factorio 2 Farming Simulator 25 2 Fistful of Frags 2 FiveM 3 FortressCraft Evolved 2 Foundry 2 Foundry VTT 2 Frozen Flame 2 FTL Tachyon 2 Garrys Mod 3 Ground Branch 2 Half-Life 2 Deathmatch 2 Hogwarp 2 Holdfast: Nations at War 2 HumanitZ 2 Hurtworld 2 Hytale 1 Icarus 2 Insurgency Sandstorm 2 IOSoccer 2 Just Cause 3 Multiplayer 2 Kerbal Space Program 2 Killing Floor 2 3 LeagueSandbox 2 Left 4 Dead 2 Left 4 Dead 2 3 Longvinter 2 Los Angeles Crimes 2 Medal of Honor 2 Midnight Ghost Hunt 2 Mindustry 2 Minecraft 4 Minetest 2 Modiverse 2 Mordhau 3 Mount & Blade II: Bannerlord 2 Myth of Empires 2 Nazi Zombies Portable 2 Necesse 2 NeosVR 2 Neverwinter Nights EE 2 Night of the Dead 2 Nightingale 2 No Love Lost 2 No More Room in Hell 2 No One Survived 2 Nova-Life Amboise 2 Nuclear Option 2 Onset 2 Open Fortress 2 OpenArena 2 OpenRA 2 OpenRCT2 2 OpenTTD 2 Operation Harsh Doorstop 2 Palworld 3 Path of Titans 2 Pavlov VR 3 PixARK 2 Plains of Pain 2 Portal Knights 2 Post Scriptum 2 Project Zomboid 8 Puck 2 Quake Live 2 R5Reloaded 2 RedM 2 Renown 2 Resonite 2 Return to Moria 2 Rimworld Together 2 Rising World 2 Risk of Rain 2 1 Rust 4 Satisfactory 1 SCP Secret Laboratory 3 SCUM 2 Smalland 2 Solace Crafting 2 Soldat 2 Soldat 2 2 Sonic Robo Blast 2 2 Sons of the Forest 2 Soulmask 2 SourceCoop 2 Space Engineers 3 Space Station 14 2 Squad 3 Starbound 3 StarMade 2 Stationeers 2 Stormworks 2 Subnautica Nitrox 2 Sunkenland 2 SuperTuxKart 2 Sven Co-op 2 Swords 'n Magic and Stuff 2 Team Fortress 2 3 Teeworlds 2 Terraria 3 TerraTech Worlds 2 TF2 Classified 2 The Forest 3 The Front 2 The Isle 2 Tower Unite 2 Trackmania 2 Unturned 4 Urban Terror 2 V Rising 3 Valheim 3 VEIN 2 Veloren 2 Vintage Story 3 Voyagers of Nera 2 Wolfenstein: Enemy Territory 2 Wreckfest 2 Wurm Unlimited 2 Xonotic 2 Zandronum 2 Getting Started 2 Network & Connectivity 1 Server Management 2
分类

Valheim 故障排除


Valheim 故障排除

本指南涵盖运行 Valheim 专用服务器时可能遇到的常见问题,包括连接问题、世界加载失败和 mod 相关错误。有关初始服务器配置,请参阅 Valheim 专用服务器设置指南。有关 mod 安装步骤,请参阅 Valheim Mod 安装指南。


服务器未显示在服务器浏览器中

原因:Steam 服务器浏览器通过查询端口发现服务器,而不是游戏端口。如果查询端口被阻止或未正确映射,即使玩家可以直接连接,服务器也不会出现在任何服务器列表中。

解决方案:打开 GPanel,转到 Network 选项卡。确认您的游戏端口和查询端口都已列出并正确分配。如果您不确定端口信息,请参阅 如何查找服务器 IP 和端口。在排除服务器列表可见性问题时,请使用 Steam 收藏夹方法(在设置指南中有说明)直接连接。

服务器因密码错误拒绝启动

原因:密码少于 5 个字符、为空,或密码字符串中包含服务器名称。

解决方案:转到 GPanel 中的 Startup 选项卡,更新 Password 变量。确保满足以下所有要求:
  • 至少 5 个字符长
  • 不包含 ServerName 作为子字符串
  • 不能为空
保存后重启服务器。

世界未加载 / 生成了新世界

原因:WorldName 启动变量与世界文件的文件名不匹配,或两个必需的世界文件(.fwl 或 .db)中只有一个存在。

解决方案:
  1. 通过 SFTP 连接并导航到:
    /.config/unity3d/IronGate/Valheim/worlds_local/
  2. 确认 <WorldName>.fwl 和 <WorldName>.db 两个文件都存在。
  3. 验证 GPanel 中的 WorldName 启动变量与文件名完全匹配(区分大小写,不含扩展名)。
  4. 如果生成了新世界,请停止服务器,删除或重命名新创建的世界文件,恢复备份文件,然后重启。

玩家无法连接

原因:玩家无法连接 Valheim 服务器可能有多种原因。

解决方案:请逐一检查以下项目:
  1. 服务器仍在启动中:Valheim 可能需要几分钟才能完全启动,特别是安装了 mod 的情况下。请等到控制台显示服务器就绪后再连接。
  2. 端口错误:通过游戏内浏览器连接的玩家应使用游戏端口。通过 Steam 收藏夹添加服务器的玩家应使用查询端口。在 GPanel 的 Network 选项卡中查看您分配的端口。
  3. 密码不匹配:确保玩家输入了正确的服务器密码。密码区分大小写。
  4. Mod 版本不匹配:如果安装了 Valheim Plus 或其他强制 mod,所有玩家必须拥有完全相同的版本。详情请参阅 Mod 安装指南。

BepInEx Mod 未加载

原因:BepInEx 文件被放置在错误的目录中,或服务器根目录缺少 doorstop 库。

解决方案:
  1. 通过 SFTP 验证 BepInEx/ 文件夹位于服务器根目录中,与 valheim_server.x86_64 在同一目录下。
  2. 验证 doorstop_libs/ 文件夹也存在于服务器根目录中,并包含 libdoorstop_x64.so。在基于 Pterodactyl 的面板上,doorstop 通过环境变量加载 — 不需要 run_bepinex.sh 脚本,也不需要它存在。
  3. 检查您的 mod .dll 文件是否在 BepInEx/plugins/ 内,而不是在根目录或其他子目录中。
  4. 重启服务器并检查服务器控制台日志中的 BepInEx 初始化消息或错误输出。

预期的目录结构如下:

/ (server root)
  valheim_server.x86_64
  BepInEx/
    plugins/        ← mod .dll files go here
    config/
    patchers/
  doorstop_libs/
    libdoorstop_x64.so

添加 Mod 后服务器崩溃或不稳定

原因:某个 mod 与当前 Valheim 版本不兼容、与其他 mod 冲突或配置错误。

解决方案:
  1. 在 GPanel 中检查服务器控制台输出,查找引用特定 mod 或插件名称的错误消息。
  2. 从 BepInEx/plugins/ 中移除所有 mod 并重启服务器,确认在没有 mod 的情况下服务器能正常运行。
  3. 逐个重新添加 mod,每次之间重启服务器,以确定导致崩溃的 mod。
  4. 检查 mod 的 Thunderstore 或 Nexus 页面,了解兼容性说明和所需依赖项。
Valheim 游戏更新后:mod 可能会失效,直到作者发布更新版本。如果您的服务器在更新前运行稳定但更新后崩溃,请暂时移除 mod,直到有更新版本可用。

跨平台联机不工作

原因:跨平台联机启动变量未启用,或 mod 干扰了跨平台联机功能。

解决方案:
  1. 转到 GPanel 中的 Startup 选项卡,将 ENABLE_CROSSPLAY 设置为 1。
  2. 重启服务器。
  3. 请注意,大多数 BepInEx mod 不兼容跨平台联机。如果您安装了 mod 且跨平台玩家无法连接,您可能需要在 mod 和跨平台联机支持之间做出选择。

相关文章


如果按照本指南操作后仍然遇到问题,我们的支持团队随时为您提供帮助。提交支持工单,并附上您服务器的 GPanel 详细信息、问题描述以及服务器控制台中的任何错误消息。

这篇文章对您有帮助吗?

Ready to Get Started?

The servers are booted, select your plan and become our latest satisfied client.