限时抢购 50% 全场服务器优惠 仅剩最后几小时!
距结束还剩: 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
分类

DayZ 服务器设置指南


本指南介绍如何配置由 Legion Hosting 托管的 DayZ 专用服务器,包括 serverDZ.cfg 中的关键设置以及玩家如何通过 DayZ Launcher 或直接连接加入服务器。

编辑任何配置文件前请先停止服务器。 在编辑 serverDZ.cfg 或任何其他服务器文件之前,请始终从 GPanelConsole 选项卡中停止服务器。在服务器运行时写入的更改可能会在下次关闭时被覆盖或忽略。

步骤 1 — 访问 GPanel 并找到您的文件

  1. 登录 GPanel 并从服务器列表中选择您的 DayZ 服务器。
  2. 如果服务器正在运行,请在 Console 选项卡中点击 Stop,等待状态指示器显示 Offline
  3. 点击 Files 选项卡打开文件管理器。本指南中引用的所有配置文件均可从此处访问。

您也可以使用 SFTP 向服务器传输文件。有关使用 FTP 客户端连接的说明,请参阅 SFTP 文件上传指南

步骤 2 — 配置 serverDZ.cfg

主要的服务器配置文件是 serverDZ.cfg,位于服务器根目录中。在 GPanel 文件编辑器中打开它以调整以下设置。

设置 示例值 描述
hostname "My Legion DayZ Server" 在 DayZ Launcher 和服务器浏览器中显示的服务器名称。请将值用双引号括起来。
password "" 玩家加入所需的密码。留空引号("")表示公开服务器。
passwordAdmin "adminpass123" 用于验证游戏内管理员命令的管理员密码。请保密,不要与玩家分享。
maxPlayers 60 最大同时在线玩家数。不应超过您托管计划的槽位限制。
steamQueryPort 27016 服务器浏览器使用的 Steam 查询端口。请在 GPanel 的 Network 选项卡中查看分配给您服务器的确切查询端口。

serverDZ.cfg 的最小可用示例:

hostname = "My Legion DayZ Server";
password = "";
passwordAdmin = "adminpass123";
maxPlayers = 60;
verifySignatures = 2;
forceSameBuild = 1;
disableVoN = 0;
vonCodecQuality = 20;
disable3rdPerson = 0;
disableCrosshair = 0;
serverTime = "SystemTime";
serverTimePersistent = 0;
guaranteedUpdates = 1;
loginQueueConcurrentPlayers = 5;
loginQueueMaxPlayers = 500;
instanceId = 1;
storeHouseData = 1;
在 GPanel 中查看您分配的端口。 Legion Hosting 在创建服务器时会预先分配您的游戏端口和查询端口。在编辑 serverDZ.cfg 之前,请打开 GPanel 中的 Network 选项卡查看您的确切端口。不要假设默认值适用于您的服务器。详情请参阅 IP 和端口指南

步骤 3 — 玩家如何连接到您的服务器

使用 DayZ Launcher

  1. 打开 DayZ Launcher(与 Steam 客户端不同)。
  2. 点击启动器顶部的 Servers 选项卡。
  3. 点击 Community 浏览社区服务器,然后使用搜索框按 hostname 中设置的名称查找您的服务器。
  4. 或者,点击 Favourites 选项卡,点击 Add Server,然后输入您服务器的 IP 和端口。
  5. 双击服务器条目进行连接。如果本地已安装匹配的模组,启动器将自动启用它们。
玩家必须安装相同的模组。 如果您的服务器运行了模组,玩家需要在连接前订阅并安装相同的 Steam Workshop 模组。有关设置模组和与玩家分享模组列表的详细信息,请参阅 DayZ 模组安装指南

直接连接

玩家也可以不使用服务器浏览器直接连接:

  1. 在 DayZ Launcher 中,点击 Servers,然后点击 CommunityFavourites 选项卡。
  2. 点击 Add Server(或根据启动器版本点击直接连接按钮)。
  3. IP:PORT 格式输入服务器 IP 和端口。您服务器的 IP 和端口显示在 GPanel 的 Network 选项卡中。如需帮助查找,请参阅 IP 和端口指南
  4. 点击 Connect

相关文章

需要更多帮助? 如果按照本指南操作后仍无法解决问题,请在 legionhosting.net/submitticket.php 提交工单,并附上您的服务器 ID、GPanel 控制台输出和问题描述。

这篇文章对您有帮助吗?

Ready to Get Started?

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