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
Categories

คู่มือการตั้งค่าเซิร์ฟเวอร์ 7 Days to Die


คู่มือนี้ครอบคลุมวิธีการกำหนดค่าเซิร์ฟเวอร์เฉพาะ (dedicated server) 7 Days to Die ของคุณและการเชื่อมต่อกับเซิร์ฟเวอร์ การกำหนดค่าทั้งหมดทำผ่านไฟล์ที่เข้าถึงได้ใน GPanel file manager


การแก้ไข serverconfig.xml

serverconfig.xml เป็นไฟล์การกำหนดค่าหลักสำหรับเซิร์ฟเวอร์ 7 Days to Die ของคุณ ไฟล์นี้อยู่ในรากของไดเรกทอรีเซิร์ฟเวอร์ของคุณ

การเข้าถึงไฟล์

  1. เข้าสู่ระบบ GPanel
  2. ไปยังเซิร์ฟเวอร์ของคุณและเปิด File Manager
  3. เปิด serverconfig.xml ในไดเรกทอรีราก
  4. ทำการเปลี่ยนแปลงและบันทึกไฟล์
  5. รีสตาร์ทเซิร์ฟเวอร์ของคุณเพื่อให้การเปลี่ยนแปลงมีผล
คุณยังสามารถอัปโหลด serverconfig.xml ที่แก้ไขแล้วจากเครื่องของคุณผ่าน SFTP ได้ ดู คู่มือการอัปโหลดไฟล์ผ่าน SFTP สำหรับคำแนะนำ

คุณสมบัติการกำหนดค่าหลัก

ตารางด้านล่างครอบคลุมการตั้งค่าที่มีการปรับเปลี่ยนบ่อยที่สุด แต่ละคุณสมบัติจะปรากฏเป็นแอตทริบิวต์ XML ภายในองค์ประกอบ <property>

ชื่อคุณสมบัติ คำอธิบาย ค่าตัวอย่าง
ServerName ชื่อที่แสดงในตัวเรียกดูเซิร์ฟเวอร์ My 7DTD Server
ServerPassword รหัสผ่านที่จำเป็นในการเข้าร่วม ปล่อยว่างไว้หากไม่ต้องการรหัสผ่าน mysecretpass
ServerPort พอร์ต UDP ที่เซิร์ฟเวอร์รับฟัง อย่าเปลี่ยนแปลงเว้นแต่จะได้รับคำแนะนำ 26900
MaxPlayers จำนวนผู้เล่นสูงสุดที่อนุญาตให้เล่นพร้อมกัน
ตั้งค่านี้ใน GPanel ไม่ใช่ที่นี่ ตัวแปรในแท็บ Startup จะแทนที่ค่า XML นี้ เปลี่ยน MaxPlayers ในแท็บ Startup ใน GPanel — การแก้ไขที่ทำโดยตรงใน serverconfig.xml จะถูกเขียนทับเมื่อเซิร์ฟเวอร์เริ่มทำงาน
8
GameWorld แผนที่โลกที่จะโหลด ใช้ Navezgane สำหรับแผนที่แบบตายตัว หรือ RWG สำหรับการสร้างแบบโพรซีเดอรัล Navezgane
WorldGenSeed สตริง seed สำหรับการสร้างโลกแบบโพรซีเดอรัล (RWG เท่านั้น) asdf1234
GameDifficulty ระดับความยากโดยรวมของเกม 0 = Scavenger (ง่ายที่สุด), 5 = Insane
ตั้งค่านี้ใน GPanel ไม่ใช่ที่นี่ ตัวแปรในแท็บ Startup จะแทนที่ค่า XML นี้ เปลี่ยน GameDifficulty ในแท็บ Startup ใน GPanel — การแก้ไขที่ทำโดยตรงใน serverconfig.xml จะถูกเขียนทับเมื่อเซิร์ฟเวอร์เริ่มทำงาน
2
DayNightLength ความยาวของหนึ่งวันเต็มในเกมเป็นนาทีตามเวลาจริง 60
LootAbundance ตัวคูณเปอร์เซ็นต์สำหรับการเกิดของลูท 100 คือค่าเริ่มต้น 100
ZombieMove ความเร็วของซอมบี้ในเวลากลางวัน 0 = เดิน, 4 = วิ่ง 0
ZombieMoveNight ความเร็วของซอมบี้ในเวลากลางคืน 3
ZombieFeralMove ความเร็วของซอมบี้ดุร้าย (feral) 3
ZombieBMMove ความเร็วของซอมบี้ในคืน Blood Moon 3
BloodMoonFrequency ความถี่ที่ Blood Moon เกิดขึ้นเป็นจำนวนวันในเกม ตั้งเป็น 0 เพื่อปิดการใช้งาน 7
EACEnabled เปิดหรือปิดการใช้งาน Easy Anti-Cheat ต้องเป็น false หากใช้ม็อดส่วนใหญ่ true

ตัวอย่างส่วนของ serverconfig.xml

<ServerSettings>
  <property name="ServerName"            value="My 7DTD Server" />
  <property name="ServerPassword"        value="" />
  <property name="ServerPort"            value="26900" />
  <property name="MaxPlayers"            value="8" />
  <property name="GameWorld"             value="Navezgane" />
  <property name="WorldGenSeed"          value="asdf1234" />
  <property name="GameDifficulty"        value="2" />
  <property name="DayNightLength"        value="60" />
  <property name="LootAbundance"         value="100" />
  <property name="ZombieMove"            value="0" />
  <property name="ZombieMoveNight"       value="3" />
  <property name="ZombieFeralMove"       value="3" />
  <property name="ZombieBMMove"          value="3" />
  <property name="BloodMoonFrequency"    value="7" />
  <property name="EACEnabled"            value="true" />
</ServerSettings>

การเชื่อมต่อกับเซิร์ฟเวอร์ของคุณ

วิธีเชื่อมต่อกับเซิร์ฟเวอร์ของคุณโดยตรงโดยไม่ต้องเรียกดูรายการเซิร์ฟเวอร์:

  1. เปิด 7 Days to Die บนไคลเอนต์ของคุณ
  2. จากเมนูหลัก เลือก Join a Game
  3. คลิก Connect to IP
  4. ป้อน IP และพอร์ตของเซิร์ฟเวอร์ของคุณในรูปแบบ IP:PORT
  5. คลิก Connect

คุณสามารถดูที่อยู่ IP และพอร์ตของเซิร์ฟเวอร์ของคุณได้ใน GPanel บนหน้าภาพรวมเซิร์ฟเวอร์ สำหรับรายละเอียดเพิ่มเติม โปรดดูคู่มือ วิธีค้นหา IP และพอร์ตของเซิร์ฟเวอร์ของคุณ

ControlPanel (เว็บ UI ในตัว) ไม่พร้อมใช้งานบนโฮสติ้งนี้ เว็บคอนโทรลแพเนลในตัวของเซิร์ฟเวอร์ 7 Days to Die (ControlPanelEnabled) ถูกปิดการใช้งาน ใช้แท็บ Console ใน GPanel เพื่อรันคำสั่งเซิร์ฟเวอร์และตรวจสอบเอาต์พุตแทน

ต้องการความช่วยเหลือ?

หากคุณไม่สามารถแก้ไขปัญหาได้หลังจากทำตามคู่มือนี้ โปรด เปิดทิกเก็ตสนับสนุน และระบุ ID เซิร์ฟเวอร์ของคุณ, คำอธิบายปัญหา และเอาต์พุตล็อกที่เกี่ยวข้อง


บทความที่เกี่ยวข้อง


Was this article helpful?

Ready to Get Started?

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