限时抢购 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
分类

Nazi Zombies: Portable 管理员命令


本指南涵盖了 Nazi Zombies: Portable (NZ:P) 专用服务器的服务器管理、控制台命令、CVar 管理和故障排除。NZ:P 运行在 FTEQW 引擎上,使用 Quake 风格的控制台命令进行服务器管理。有关初始设置、配置和连接说明,请参阅 NZ:P 服务器设置指南

1. 访问控制台

您可以通过两种方式管理 NZ:P 服务器:

  • GPanel 控制台: 前往 GPanel 中的 Console 选项卡,直接输入命令。
  • 游戏内控制台: 连接到服务器后,按 `~ 打开控制台。

2. 基本服务器命令

地图管理

命令描述
map <mapname>切换到其他地图(例如 map ndu)。
listmaps列出服务器上所有可用地图。
changelevel <mapname>切换地图,保持现有连接。

服务器控制

命令描述
status显示服务器状态,包括已连接的玩家及其 ID。
kick <player_id>通过 ID 踢出玩家(从 status 获取 ID)。
quit正常关闭服务器。
restart重启当前地图。

3. 服务器 CVar

CVar(控制台变量)控制服务器行为。可以在 GPanel 控制台中设置,或通过 GAME_ARGS 启动变量使用 +cvar value 格式进行设置。

CVar默认值描述
sv_port(自动分配)服务器端口(由 GPanel 自动设置)。
sv_port_tcp(自动分配)服务器的 TCP 端口。
sv_maxclients4最大玩家数。
sv_public1服务器是否显示在公共服务器列表中。
sv_mintic0.045最小 tick 间隔(通过 TICKRATE 启动变量设置)。
com_protocolnameNZP-REBOOT协议名称(通过 PROTOCOL 启动变量设置)。
hostname(空)在服务器浏览器中显示的服务器名称。通过 GAME_ARGS 设置:+hostname "My Server"

在启动时设置 CVar

在 GPanel 的 GAME_ARGS 启动变量中添加 CVar:

+hostname "My NZ:P Server" +sv_maxclients 8 +sv_public 1

4. 自定义内容

NZ:P 支持自定义地图。要添加自定义内容:

  1. 在 GPanel 中停止服务器。
  2. 通过 SFTP 将自定义地图文件上传到 nzp/ 目录(参见 如何通过 SFTP 上传文件)。
  3. 启动服务器并使用 map <mapname> 切换到新地图。

5. 故障排除

服务器无法启动

  • 检查 GPanel 控制台中的错误消息。
  • 验证 MAP 变量是否设置为有效的地图名称。
  • 确保 TICKRATE 是有效数字(例如 0.045)。

玩家无法连接

  • GPanel 中确认服务器正在运行。
  • 确保客户端使用正确的协议 -- 原生客户端使用 NZP-REBOOT,网页客户端使用 NZP-REBOOT-WEB
  • 网页客户端必须使用 HTTP(而非 HTTPS)并加上 ws:// 前缀。
  • Network 选项卡检查正确的 IP 和端口。

物理 Bug / 僵尸卡住

  • 尝试降低 TICKRATE 值(例如从 0.045 降到 0.033)以获得更流畅的物理模拟。
  • 请注意,较低的 tick 间隔会增加带宽使用。

相关文章

需要帮助?

如果您遇到本指南未涵盖的 NZ:P 服务器问题,请 提交工单,并附上您的服务器 IP、问题描述以及 GPanel 控制台中的相关错误消息。


这篇文章对您有帮助吗?

Ready to Get Started?

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