这里有最新的使用文档和教程
七日杀游戏服务器搭建配置文件注释解释
<?xml version="1.0"?>
<ServerSettings>
<!-- GENERAL SERVER SETTINGS -->
<!-- Server representation -->
<property name="ServerName" value="FeiJian服务器"/> <!-- 服务器名称,请自行设置(默认是:My Game Host) -->
<property name="ServerDescription" value="进入游戏外的简介"/> <!-- 相当于服务器的简介 -->
<property name="ServerWebsiteURL" value=""/> <!-- 服务器的网站URL(默认无)可以把你的主页网站放到这里 -->
<property name="ServerPassword" value=""/> <!-- 进入服务器的密码(默认无) -->
<property name="ServerLoginConfirmationText" value="进入游戏后弹出的消息,确认进入游戏" /> <!-- 如果设置用户将在加入服务器的过程中看到该消息(玩家进入游戏时会看到的文字,默认没有) -->
<!-- Networking -->
<property name="ServerPort" value="26900"/> <!-- 服务器监听的端口. -->
<property name="ServerVisibility" value="2"/> <!-- 服务器的可见性:2=公共,1=仅向朋友显示,0=未列出. -->
<property name="ServerDisabledNetworkProtocols" value="SteamNetworking"/> <!-- 【未知,请勿乱开】Networking protocols that should not be used. Separated by comma. Possible values: LiteNetLib, SteamNetworking. Dedicated servers should disable SteamNetworking if there is no NAT router in between your users and the server or when port-forwarding is set up correctly -->
<property name="ServerMaxWorldTransferSpeedKiBs" value="512"/> <!-- 【上传带宽(KB/S)默认即可,读取地图或上传保存时的速度 】 Maximum (!) speed in kiB/s the world is transferred at to a client on first connect if it does not have the world yet. Maximum is about 1300 kiB/s, even if you set a higher value. -->
<!-- Slots -->
<property name="ServerMaxPlayerCount" value="10"/> <!-- 最多多少人同时在线(越多越卡,根据你的服务器或PC主机来) -->
<property name="ServerReservedSlots" value="0"/> <!-- 【服务器人满时,允许几个特权的人还可加入游戏】Out of the MaxPlayerCount this many slots can only be used by players with a specific permission level -->
<property name="ServerReservedSlotsPermission" value="100"/> <!-- Required permission level to use reserved slots above -->
<property name="ServerAdminSlots" value="0"/> <!-- 【服务器人满时,允许几位管理员还可加入游戏】This many admins can still join even if the server has reached MaxPlayerCount -->
<property name="ServerAdminSlotsPermission" value="0"/> <!-- Required permission level to use the admin slots above -->
<!-- Admin interfaces -->
<property name="ControlPanelEnabled" value="false"/> <!-- 启用/禁用Web控制面板 -->
<property name="ControlPanelPort" value="8080"/> <!-- 控制面板网页的端口 -->
<property name="ControlPanelPassword" value="CHANGEME"/> <!-- 进入控制面板的密码 -->
<property name="TelnetEnabled" value="true"/> <!-- 启用/禁用telnet -->
<property name="TelnetPort" value="8081"/> <!-- 远程登录服务器的端口 -->
<property name="TelnetPassword" value=""/> <!-- 进入telnet界面的密码 -->
<property name="TelnetFailedLoginLimit" value="10"/> <!-- 在来自单个远程客户端的许多错误密码之后将被阻止连接到Telnet -->
<property name="TelnetFailedLoginsBlocktime" value="10"/> <!-- 阻止将持续多长时间(以秒为单位 -->
<property name="TerminalWindowEnabled" value="true"/> <!-- 显示用于日志输出/命令输入的终端窗口 -->
<!-- Folder and file locations -->
<property name="AdminFileName" value="serveradmin.xml"/> <!-- 服务器管理文件名 -->
<!-- 及其重要 -->
<!-- 及其重要 -->
<!-- 及其重要 -->
<property name="UserDataFolder" value="D:\7 Day BaoCun\" />
<!-- <property name="UserDataFolder" value="这里复制你保存的路径(默认保存到C盘)极大影响游戏性能!这里我保存到了D盘下的7 Day BaoCun这个文件" /> -->
<property name="SaveGameFolder" value="D:\7 Day BaoCun\" />
<!-- <property name="SaveGameFolder" value="这里复制你保存的路径(默认保存到C盘)极大影响游戏性能!这里我保存到了D盘下的7 Day BaoCun这个文件" /> -->
<!-- 及其重要 -->
<!-- 及其重要 -->
<!-- 及其重要 -->
<!-- Other technical settings -->
<property name="EACEnabled" value="true"/> <!-- 启用或禁用EAC反作弊 true=启用 false=禁用(一旦禁用玩家就可以修改文件作弊了)Enables/Disables EasyAntiCheat -->
<property name="HideCommandExecutionLog" value="0"/> <!-- Hide logging of command execution. 0 = show everything, 1 = hide only from Telnet/ControlPanel, 2 = also hide from remote game clients, 3 = hide everything -->
<property name="MaxUncoveredMapChunksPerPlayer" value="131072"/> <!-- Override how many chunks can be uncovered on the ingame map by each player. Resulting max map file size limit per player is (x * 512 Bytes), uncovered area is (x * 256 m²). Default 131072 means max 32 km² can be uncovered at any time -->
<property name="PersistentPlayerProfiles" value="false" /> <!-- If disabled a player can join with any selected profile. If true they will join with the last profile they joined with -->
<!-- 游戏设置 -->
<!-- 游戏世界/地图设置 -->
<property name="GameWorld" value="Navezgane"/> <!-- "RWG" (see WorldGenSeed and WorldGenSize options below) or any already existing world name in the Worlds folder (currently shipping with e.g. "Navezgane", "PREGEN01", ...) -->
<property name="WorldGenSeed" value="asdf"/> <!-- If RWG this is the seed for the generation of the new world. If a world with the resulting name already exists it will simply load it -->
<property name="WorldGenSize" value="6144"/> <!-- If RWG this controls the width and height of the created world. It is also used in combination with WorldGenSeed to create the internal RWG seed thus also creating a unique map name even if using the same WorldGenSeed. Has to be between 2048 and 16384, though large map sizes will take long to generate / download / load -->
<property name="GameName" value="20210214 My Game"/> <!-- 保存文件夹的名称/Whatever you want the game name to be. This affects the save game name as well as the seed used when placing decoration (trees etc) in the world. It does not control the generic layout of the world if creating an RWG world -->
<property name="GameMode" value="GameModeSurvival"/> <!-- GameModeSurvival -->
<!-- 难度设置 -->
<property name="GameDifficulty" value="2"/> <!-- 0-5,0 =最简单,5 =最困难 -->
<property name="BlockDamagePlayer" value="300" /> <!-- -玩家对方块的伤害(整数百分比) -->
<property name="BlockDamageAI" value="50" /> <!-- AI对积木造成的伤害(整数百分比) -->
<property name="BlockDamageAIBM" value="75" /> <!-- 血月期间AI对块造成的损害(整数百分比) -->
<property name="XPMultiplier" value="100" /> <!-- XP增益乘数(整数百分比) -->
<property name="PlayerSafeZoneLevel" value="5" /> <!-- 如果玩家小于或等于该级别,则在生成时会创建一个安全区域 -->
<property name="PlayerSafeZoneHours" value="5" /> <!-- 此安全区存在的世界时间 -->
<!-- -->
<property name="BuildCreate" value="false" /> <!-- 作弊模式打开/关闭 -->
<property name="DayNightLength" value="40" /> <!-- 这里设置真实世界多少分钟=游戏中的24小时(默认为真实世界60分钟=游戏中24小时) -->
<property name="DayLightLength" value="18" /> <!-- 在游戏时间内,白天时间为:游戏日中每天18小时的日照 -->
<property name="DropOnDeath" value="2" /> <!-- 玩家死亡时掉落 0 =无,1 =一切,2 =仅工具带,3 =仅背包,4 =全部删除 -->
<property name="DropOnQuit" value="0" /> <!-- 玩家退出游戏时掉落 0 =无,1 =一切,2 =仅工具带,3 =仅背包 -->
<property name="BedrollDeadZoneSize" value="15" /> <!-- 在床多少范围内不产生僵尸Size (box "radius", so a box with 2 times the given value for each side's length) of bedroll deadzone, no zombies will spawn inside this area, and any cleared sleeper volumes that touch a bedroll deadzone will not spawn after they've been cleared. -->
<property name="BedrollExpiryTime" value="45" /> <!-- 离线玩家的床还可以保存多久/Number of days a bedroll stays active after owner was last online -->
<!-- 性能设置 -->
<property name="MaxSpawnedZombies" value="150" /> <!-- 整个地图能同时出现多少个僵尸(越多越卡)建议按玩家比例来调整,参考:1个玩家对4-8个左右差不多了 -->
<property name="MaxSpawnedAnimals" value="150" /> <!-- 整个地图能同时出现多少个野生动物(越多越卡),这个使用的性能比僵尸少,可以略多于僵尸 -->
<property name="ServerMaxAllowedViewDistance" value="12" /> <!-- 玩家最多可以看多远(6-12).数值越高越卡 -->
<!-- 僵尸设置 -->
<property name="EnemySpawnMode" value="true" /> <!-- 启用/禁用敌人生成 true=启用 false=禁用 -->
<property name="EnemyDifficulty" value="0" /> <!-- 僵尸的难度 0 =正常,1 =疯狂 -->
<property name="ZombieMove" value="1" /> <!-- 僵尸白天速度 0-4(0=步行,1=慢跑,2=奔跑,3=冲刺,4=噩梦) -->
<property name="ZombieMoveNight" value="2" /> <!-- 僵尸夜间速度0-4(0=步行,1=慢跑,2=奔跑,3=冲刺,4=噩梦) -->
<property name="ZombieFeralMove" value="3" /> <!-- 凶残丧尸速度0-4(0=步行,1=慢跑,2=奔跑,3=冲刺,4=噩梦) -->
<property name="ZombieBMMove" value="4" /> <!-- 丧尸雪月速度0-4(0=步行,1=慢跑,2=奔跑,3=冲刺,4=噩梦) -->
<property name="BloodMoonFrequency" value="10" /> <!-- 血月隔几天出现一次《七日杀》的名字由来啊!(以天为单位),设置为“ 0”表示没有血月 -->
<property name="BloodMoonRange" value="0" /> <!-- How many days can the actual blood moon day randomly deviate from the above setting. Setting this to 0 makes blood moons happen exactly each Nth day as specified in BloodMoonFrequency -->
<property name="BloodMoonWarning" value="7" /> <!-- 几点开始提示当日是血月(-1为不提示)The Hour number that the red day number begins on a blood moon day. Setting this to -1 makes the red never show. -->
<property name="BloodMoonEnemyCount" value="8" /> <!-- 血月时,同时产生多少个僵尸,可能会受其他玩家影响This is the number of zombies that can be alive (spawned at the same time) at any time PER PLAYER during a blood moon horde, however, MaxSpawnedZombies overrides this number in multiplayer games. Also note that your game stage sets the max number of zombies PER PARTY. Low game stage values can result in lower number of zombies than the BloodMoonEnemyCount setting. Changing this setting has a huge impact on performance. -->
<!-- 战利品 -->
<property name="LootAbundance" value="200" /> <!-- 战利品掉落率:整数百分比 -->
<property name="LootRespawnDays" value="30" /> <!-- 地块或者区域或者房间、物品多久刷新一次:整数天 -->
<property name="AirDropFrequency" value="240"/> <!-- 空投在游戏时间发生的频率(应该为小时单位)How often airdrop occur in game-hours, 0 == never -->
<property name="AirDropMarker" value="true"/> <!-- 是否在标记空投位置(地图或指南针显示)true=是,false=不标记 -->
<!--多人游戏设置 -->
<property name="PartySharedKillRange" value="500"/> <!-- 你需要在队友多少范围内拿到队友的共享经验值(比如说击杀僵尸、建基地、挖矿、交任务等) -->
<property name="PlayerKillingMode" value="0" /> <!-- 玩家杀戮设置(0 =无法杀死玩家,1 =仅杀死盟友,2 =仅杀死陌生人,3 =杀死所有人)玩家对战还是纯粹合作模式看你的选择了 -->
<!-- 多人游戏-土地认证设置 -->
<property name="LandClaimCount" value="1"/> <!-- 玩家拥有多少个土地Maximum allowed land claims per player. -->
<property name="LandClaimSize" value="50"/> <!-- 所有权范围Size in blocks that is protected by a keystone -->
<property name="LandClaimDeadZone" value="50"/> <!-- 死区距离Keystones must be this many blocks apart (unless you are friends with the other player) -->
<property name="LandClaimExpiryTime" value="100"/> <!-- 所有权期限The number of days a player can be offline before their claims expire and are no longer protected -->
<property name="LandClaimDecayMode" value="0"/> <!-- Controls how offline players land claims decay. 0=Slow (Linear) , 1=Fast (Exponential), 2=None (Full protection until claim is expired). -->
<property name="LandClaimOnlineDurabilityModifier" value="5"/> <!-- 玩家在线时地块基地乘以多少倍How much protected claim area block hardness is increased when a player is online. 0 means infinite (no damage will ever be taken). Default is 4x -->
<property name="LandClaimOfflineDurabilityModifier" value="10"/> <!-- 玩家离线时地块基地乘以多少倍How much protected claim area block hardness is increased when a player is offline. 0 means infinite (no damage will ever be taken). Default is 4x -->
<property name="LandClaimOfflineDelay" value="0"/> <!-- 在线与离线的切换隔多少分钟The number of minutes after a player logs out that the land claim area hardness transitions from online to offline. Default is 0 -->
<!-- 有几种游戏设置在开始新游戏时无法更改。There are several game settings that you cannot change when starting a new game.
您可以使用控制台命令来更改其中至少一些命令。You can use console commands to change at least some of them ingame.
setgamepref BedrollDeadZoneSize 30 -->
</ServerSettings>