对于想要联机的小伙伴来说假若拥有自己的服务器那是一件再好不过的时间了,所以现在小编为你们带给的就是玩家“ccsingtao”翻译整理分享的森林游戏专用服务器设置教程,不会争创设置的玩家还不点击过来瞧瞧如何操作的。
游戏专用服务器设置教程
游戏版本: V1.07
一,安装并读取专用服务器程序
你可以从Steam主界面中的库-工具中搜索并下载The Forest Dedicated Server安装。如果你想在不登陆Steam帐户的状况下启动专用服务器,可以下载SteamCMD。
注意:
l 如果从Steam启动专用服务器后,在游戏里的互联网服务器列表中依然找不到你的服务器,那么尝试至专用服务器的文件夹中找到相关可执行文件或用它的快捷方法直接启动。
l 若要在后台运行专用服务器,可以通过用“-batchmode” 作为命令行参数来启动专用服务器程序。
安装后在Steam-库-已安装-工具上面,运行一次The Forest Dedicated Server来在你的笔记本上争创服务器的相关文件夹。
二,配置
如下有两种方法来配置专用服务器。
l 或用命令行参数;
l 或用Server.cfg文件。
注意:用命令行参数会覆盖在配置文件中的相关条目。
游戏服务器,默认 27016
l -servername // Set the server display name 设置服务器显示名称
l -resetholesmode// Reset all existing floor holes when loading a save 加载存盘时是否重设已有瓷砖裂缝,不知道是不是我翻译的这意思
l -treeregrowmode// Enable Tree regrowth when sleeping 允许在玩家睡觉时被射杀的大树生长
l -nobuildingdestruction// Enemie and players cannot destroy buildings 是否准许建筑毁坏
l -allowenemiescreative// Enable enemy spawn in creative games 在争创方式下容许野人再生
l -allowcheats //Allow clients to use the built in development console 是否容许玩家使用外置控制台
l -configfilepath// Changes the config file path used by the server 允许自定义配置文档位置,空白为默认位置
l -savefolderpath// Allows defining a custom folder for save slots 允许自定义保存文档位置,空白为默认位置
注意:对配置文档的路径,所在文件夹应当先确立,但也可以通过启动专用服务器来构建相关文件夹。使用斜杠如/。比如:
-configfilepath"d:/Your/Custom/Path/YourServerConfigFileName.cfg"
二,乙.使用配置文档Server.cfg来配置
Server.cfg文档可在你第一次启动专用服务器的时侯手动被争创。
Server.cfg文档默认位置坐落:
serverQueryPort27016
// Serverdisplay name (服务器显示的名子)
serverName *********/NoModding,No Cheating
// Maximumnumber of players (允许加入服务器的最多玩家数)
serverPlayers8
// EnableVAC (Valve Anti-cheat System at the server. Must be set off or on (是否容许作弊,必须设置on/开或off/关)
enableVACon
// Serverpassword. blank means no password (服务器密码,空着表示没密码)
serverPassword
// Serveradministration password. blank means no password(服务器管理员密码,空着表示没密码)
serverPasswordAdmin***************
// YourSteam account name. blank means anonymous (你的Steam帐户,空着表示匿名或无名)
serverSteamAccount******
// Timebetween server auto saves in minutes - The minumum time is 15 minutes, thedefault time is 30 (自动保存时间间隔,最短15分钟,默认30分钟)