
servertest.ini 与 SandboxVars 生成器
为 Project Zomboid 服务器生成 servertest.ini 与 servertest_SandboxVars.lua:端口、Mod、PvP、僵尸、战利品与生存设置。
最后更新:2026/10/10
100% 本地处理,数据保存在您的浏览器中。
Default varies between sources (32 or 64): adjust to your hardware.
RCON stays disabled until a password is set.
Main UDP port; DefaultPort+1 is used automatically.
Maps separated by semicolons; Muldraugh, KY last.
Mod IDs separated by semicolons, in load order.
Numeric Workshop IDs separated by semicolons.
PublicName=My PZ Server PublicDescription= ServerWelcomeMessage=Welcome to Project Zomboid Multiplayer! Public=false Password= Open=true AutoCreateUserInWhiteList=false MaxPlayers=32 PingLimit=400 RCONPassword= RCONPort=27015 DefaultPort=16261 UPnP=true SteamVAC=true Map=Muldraugh, KY Mods= WorkshopItems= SpawnPoint=0,0,0 PauseEmpty=true SaveWorldEveryMinutes=0 PVP=true SafetySystem=true GlobalChat=true AnnounceDeath=false NoFire=false AllowCoop=true SleepAllowed=false SleepNeeded=false KnockedDownAllowed=true PVPMeleeDamageModifier=30 PVPFirearmDamageModifier=50 PlayerSafehouse=false AdminSafehouse=false SafehouseAllowTrepass=true SafehouseAllowFire=true SafehouseAllowLoot=true SafehouseAllowRespawn=false SafeHouseRemovalTime=144 AllowDestructionBySledgehammer=true SledgehammerOnlyInSafehouse=false BackupsCount=5 BackupsOnStart=true BackupsPeriod=0
如何使用 servertest.ini 与 SandboxVars 生成器?
Project Zomboid 服务器在用户目录 Zomboid/Server/ 中配置:servertest.ini(网络、Mod、规则)和 servertest_SandboxVars.lua(世界与僵尸)。“servertest”前缀即服务器名。本工具可生成这两个文件。
先启动一次服务器(start-server.sh 或 StartServer64.bat),设置管理员密码后停止。
选择要生成的文件(servertest.ini 或 SandboxVars),可导入已有文件。
设置名称、密码、端口、地图、Mod 和规则;Mod 列表可用“Mod 顺序”工具准备。
将文件复制或下载到 Zomboid/Server/(服务器停止时)。
重启;沙盒更改仅对新世界或通过服务器选项完全生效。