该楼层疑似违规已被系统折叠 隐藏此楼查看此楼
首先来说一下服务器架设基础文件:打开Steam——点击游戏库——选择工具——找到DayZServer进行下载
这样我们就有了服务器的基础文件 但是服务器的开始运行文件和服务器的设置需要我们自己写
右键穿件一个文本 将以下代码复制粘贴(每处设置已经翻译了所以大噶可以按照自己需求更改)
hostname = "A Good Server"; // Server name 服务器么名称
password = "123456"; // Password to connect to the server 服务器密码
passwordAdmin = "123456"; // Password to become a server admin 服务器管理员密码
maxPlayers = 24; // Maximum amount of players 服务器最大玩家数
verifySignatures = 2; // Verifies .pbos against .bisign files. (only 2 is supported) 没什么用也改不了
forceSameBuild = 1; // When enabled, the server will allow the connection only to clients with same the .exe revision as the server (value 0-1) 也没什么意义 关于版本的
disableVoN = 0; // Enable/disable voice over network (value 0-1) 团队语音
vonCodecQuality = 7; // Voice over network codec quality, the higher the better (values 0-30) 团队语音质量
disable3rdPerson=0; // Toggles the 3rd person view for players (value 0-1) 禁用第三人称
disableCrosshair=0; // Toggles the cross-hair (value 0-1) 禁用第一人称
serverTime="2018/4/8/10/00"; // Initial in-game time of the server. "SystemTime" means the local time of the machine. Another possibility is to set the time to some value in "YYYY/MM/DD/HH/MM" format, f.e. "2015/4/8/17/23" . 游戏内时间
serverTimeAcceleration=0; // Accelerated Time (value 0-24)// This is a time multiplier for in-game time. In this case, the time would move 24 times faster than normal, so an entire day would pass in one hour. 游戏内时间加速(如果设置成24那么游戏内一天就是现实中1小时)
serverTimePersistent=0; // Persistent Time (value 0-1)// The actual server time is saved to storage, so when active, the next server start will use the saved time value. 关闭服务器后是否保存时间(不会影响物资)
guaranteedUpdates=1; // Communication protocol used with game server (use only number 1) 也改不了
loginQueueConcurrentPlayers=5; // The number of players concurrently processed during the login process. Should prevent massive performance drop during connection when a lot of people are connecting at the same time. 同时间允许几名玩家加载服务器
loginQueueMaxPlayers=10; // The maximum number of players that can wait in login queue 服务器最大排队数
instanceId = 1; // DayZ server instance id, to identify the number of instances per box and their storage folders with persistence files 不用改
lootHistory = 1; // How many persistence history files should be kept by instance, number is looped over during save 不用改
storeHouseStateDisabled = false;// Disable houses/doors persistence (value true/false), usable in case of problems with persistence 是否保存游戏内房屋门的开关状态
storageAutoFix = 1; // Checks if the persistence files are corrupted and replaces corrupted ones with empty ones (value 0-1) 文件出错检查
class Missions
{
class DayZ
{
template="dayzOffline.chernarusplus"; // Mission to load on server startup. .
};
};