แฟลชเซล 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
Categories

คู่มือแอดมินเซิร์ฟเวอร์ IW4x MW2


คู่มือนี้ครอบคลุมคำสั่งแอดมิน การตั้งค่าเกม การหมุนเวียนแมป และการจัดการเซิร์ฟเวอร์สำหรับเซิร์ฟเวอร์ IW4x (Call of Duty: Modern Warfare 2) ของคุณ สำหรับการตั้งค่าเริ่มต้น โปรดดูที่ คู่มือการตั้งค่าเซิร์ฟเวอร์ IW4x MW2

1. คอนโซลเซิร์ฟเวอร์

คุณสามารถเรียกใช้คำสั่งผ่านแท็บ Console ของ GPanel หรือผ่าน userraw/server.cfg คำสั่งใช้รูปแบบคอนโซล CoD มาตรฐาน

2. คำสั่งเซิร์ฟเวอร์ที่จำเป็น

คำสั่ง คำอธิบาย
map [mapname] เปลี่ยนไปยังแมปที่ระบุทันที
map_rotate เปลี่ยนไปยังแมปถัดไปในการหมุนเวียน
map_restart เริ่มแมปปัจจุบันใหม่
fast_restart เริ่มใหม่อย่างรวดเร็วโดยไม่ต้องโหลดแมปใหม่ทั้งหมด
kick [player] เตะผู้เล่นออกจากเซิร์ฟเวอร์
ban [player] แบนผู้เล่นอย่างถาวร
tempban [player] แบนผู้เล่นชั่วคราว
unban [player] ลบการแบนของผู้เล่น
status แสดงรายชื่อผู้เล่นที่เชื่อมต่อทั้งหมดพร้อม ID
say [message] ส่งข้อความถึงผู้เล่นทั้งหมด

3. การกำหนดค่าโหมดเกม

ตั้งค่าโหมดเกมใน userraw/server.cfg:

set g_gametype "war"
Gametype โหมด
warTeam Deathmatch
dmFree-for-All
domDomination
sdSearch and Destroy
sabSabotage
ctfCapture the Flag
kothHeadquarters

4. การหมุนเวียนแมป

กำหนดค่าการหมุนเวียนแมปใน userraw/server.cfg:

set sv_maprotation "gametype war map mp_rust gametype war map mp_highrise gametype dom map mp_terminal"

ชื่อแมปที่พบบ่อย

ชื่อแมปชื่อที่แสดง
mp_rustRust
mp_highriseHighrise
mp_terminalTerminal
mp_afghanAfghan
mp_derailDerail
mp_estateEstate
mp_favelaFavela
mp_invasionInvasion
mp_quarryQuarry
mp_rundownRundown
mp_scrapyardScrapyard
mp_skidrowSkidrow
mp_subbaseSub Base
mp_underpassUnderpass
mp_wastelandWasteland

5. การตั้งค่าเซิร์ฟเวอร์ที่สำคัญ

เพิ่มสิ่งเหล่านี้ลงใน userraw/server.cfg:

การตั้งค่า ค่าเริ่มต้น คำอธิบาย
sv_maxclients 18 จำนวนผู้เล่นสูงสุด
scr_game_hardpoints 1 เปิดใช้งาน killstreaks 0 = ปิดใช้งาน
scr_game_perks 1 เปิดใช้งาน perks 0 = ปิดใช้งาน
scr_team_fftype 0 Friendly fire 0 = ปิด, 1 = เปิด
scr_war_scorelimit 7500 ขีดจำกัดคะแนน TDM
scr_war_timelimit 10 ขีดจำกัดเวลา TDM เป็นนาที

6. การโหลดม็อด

IW4x รองรับม็อดที่กำหนดเอง:

  1. อัปโหลดไฟล์ม็อดของคุณไปยังไดเรกทอรีบนเซิร์ฟเวอร์ผ่าน SFTP (เช่น mods/mymod/)
  2. ตั้งค่าตัวแปร startup MOD_DIR เป็นชื่อไดเรกทอรีของม็อด (เช่น mods/mymod)
  3. เริ่มเซิร์ฟเวอร์ใหม่เพื่อโหลดม็อด
  4. หากต้องการยกเลิกการโหลดม็อด ให้ล้างค่าตัวแปร MOD_DIR และเริ่มใหม่

7. การแก้ไขปัญหา

  • เซิร์ฟเวอร์ไม่อยู่ในเบราว์เซอร์: รอข้อความ Sending heartbeat to master หากไม่ปรากฏ ให้ตรวจสอบปัญหาพอร์ตหรือเครือข่าย
  • ผู้เล่นไม่สามารถเชื่อมต่อได้: ตรวจสอบ IP, พอร์ต และรหัสผ่านที่ถูกต้อง ตรวจสอบให้แน่ใจว่าเวอร์ชันไคลเอนต์ IW4x ตรงกับเซิร์ฟเวอร์
  • การหมุนเวียนแมปไม่ทำงาน: ตรวจสอบรูปแบบของ sv_maprotation -- แต่ละรายการต้องมีคำสั่งทั้ง gametype และ map
  • เซิร์ฟเวอร์ขัดข้องเมื่อเปลี่ยนแมป: ตรวจสอบว่าสะกดชื่อแมปถูกต้อง แมปที่กำหนดเองต้องติดตั้งอย่างถูกต้อง

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

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

หากคุณต้องการความช่วยเหลือเพิ่มเติม เปิด support ticket พร้อม IP ของเซิร์ฟเวอร์และข้อความแสดงข้อผิดพลาดใด ๆ จากคอนโซล GPanel


Was this article helpful?

Ready to Get Started?

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