森林正版服务器,The Forest 专用服务器设置向导

该楼层疑似违规已被系统折叠 隐藏此楼查看此楼

The Forest 专用服务器设置向导

本帖内容翻译了由 Steam社区的SurvivalistGaming [C.M.] 和其他 3 人合作完成的帖子,在此表以感谢。

本向导解释了如何启动The Forest的专用服务器,请上报任何你遇到的程序错误以帮助改进,谢谢。

-------------------------------------------------------------

游戏版本: V1.07

--------------------------------------------

一,安装并加载专用服务器程序

你可以从Steam主界面中的库-工具中搜索并下载The Forest Dedicated Server安装。如果你想在不登录Steam账号的情况下启动专用服务器,可以下载SteamCMD。

注意:

l 如果从Steam启动专用服务器后,在游戏里的互联网服务器列表中仍然找不到你的服务器,那么尝试到专用服务器的文件夹中找到相关可执行文件或用它的快捷方式直接启动。

l 若要在后台运行专用服务器,可以通过用“-batchmode” 作为命令行参数来启动专用服务器程序。

安装后在Steam-库-已安装-工具里面,运行一次The Forest Dedicated Server来在你的电脑上创建服务器的相关文件夹。

-----------------------------------------------------------------

二,配置

如下有两种方式来配置专用服务器。

l 或用命令行参数;

l 或用Server.cfg文件。

注意:用命令行参数会覆盖在配置文件中的相关条目。

------------------------ ------------

二,甲.使用命令行来配置:

用命令行工具启动专用服务器需要:

1,在你的路由器和防火墙中为TCP/UDP打开8766, 27015 和 27016端口。

2,创建快捷方式并添加:

-------------------------------------

-serverip xxx.xxx.xxx.xxx -serversteamport8766 -servergameport 27015 -serverqueryport 27016 -servername TheForestGameDS-serverplayers 8 -difficulty Normal -inittype Continue -slot 1

-------------------------------------

3,用这个快捷方式启动专用服务器或启动游戏。

可用的命令行参数有:

-------------------------------------

l -serverip // If you have a router, this address is the internal address,and you need to configure ports forwarding 设置服务器IP,注意,如果你使用内部网,这个IP就是你的内网IP

l -serversteamport // Set the steam server port, default is 8766 设置Steam 通讯端口,如果你有路由器,需要在路由器里面打开该端口。下两个端口设置相同步骤。该端口默认是 8766

l -servergameport // 同上,默认 27015

l -serverqueryport // 同上,默认 27016

l -servername // Set the server display name 设置服务器显示名称

l -serverplayers // Set the max. number of players, default is 8 设置允许加入的最多玩家数,默认8

l -serverpassword // Set the server password, default is none 设置服务器密码,空着表示没有密码,默认无

l -serverpassword_admin // Set the server admin password, default is none 设置服务器管理员密码,空着表示没有。默认无

l -serversteamaccount // Set the steam account, blank means anonymous (see Steam serveraccount bellow) 设置Steam账号,空着表示匿名或无名(参考如下的Steam服务器账号)

l -enableVAC //Enable Valve Anti Cheat 设置是否允许作弊,必须设置on/开或off/关

l -serverautosaveinterval // Set the autosave interval in minutes, default is 15 设置自动保存的时间间隔,默认15分钟

l -difficulty // Set the game difficult level, default is Normal 设置游戏难度Peaceful/和平, Normal/一般或Hard/困难

l -inittype // Set the init type of game, default is New 设置每次进入服务器需要玩家新开/new还是继续游戏/continue,强烈建议设置为 continue

l -slot<1|2|3|4|5> // Set the save slot to use, default is 1 设置保存位置,默认1

l -showlogs //Enable server log window 设置事件记录日志,必设项

l -veganmode //Enable the vegan mode cheat (no enemies) 设置有/on 或无/off野人

l -vegetarianmode// Enable the vegetarian mode cheat (no enemies during daytime) 设置是否允许白天有无野人

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文档默认位置位于:

-------------------------------------

C:\Users\%USER%\AppData\LocalLow\SKS\TheForestDedicatedServer\ds\Server.cfg

-------------------------------------

当然,你也可以通过如下方法找到该文件夹。

同时按键盘左边的windows键+R键打开查找/搜索框,并输入 “%appdata%”回车。在弹出的文件夹栏里向上,找到Appdata 文件夹。一路向下:Appdata – LocalLow – SKS – TheForestDedicatedServer – DS - Server.cfg。

用记事本打开该文档,Server.cfg中的内容如下(注意括号及内的内容是我加的):

-------------------------------------

//Dedicated Server Settings.

// ServerIP address - Note: If you have a router, this address is the internal address,and you need to configure ports forwarding (设置服务器IP,注意,如果你使用路由器,这个IP就是你的内网IP,你还需要设置端口转发。)

serverIP192.168.1.***

// SteamCommunication Port - Note: If you have a router you will need to open thisport. (Steam 通讯端口,如果你有路由器,需要在路由器里面打开该端口。下两个端口设置相同步骤。)

serverSteamPort8766

// GameCommunication Port - Note: If you have a router you will need to open thisport. (同上)

serverGamePort27015

// QueryCommunication Port - Note: If you have a router you will need to open thisport. (同上)

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分钟)

serverAutoSaveInterval15

// Gamedifficulty mode. Must be set to Peaceful Normal or Hard(游戏难度,必须设置成和平/ Peaceful、一般/ Normal或困难/ Hard)

difficultyNormal

// New orcontinue a game. Must be set to New or Continue(玩家进入服务器后是新开/new还是继续/Continue,必须设置项,强烈建议设置为继续/continue)

initTypeContinue

// Slot tosave the game. Must be set 1 2 3 4 or 5 (设置保存位置,默认1)

slot 3

// Showevent log. Must be set off or on ( 事件记录日志,必设项)

showLogs on

// Contactemail for server admin (管理员电邮)

serverContact************@****.com

// Noenemies (设置有无野人)

veganModeoff

// Noenemies during day time (设置白天有无野人)

vegetarianModeoff

// Resetall structure holes when loading a save (加载存档时是否重设已有地板孔洞,不知道是不是我翻译的这意思)

resetHolesModeoff

// Regrow10% of cut down trees when sleeping(设置是否允许在玩家睡觉时被砍倒的树木生长10%)

treeRegrowModeoff

// Allowbuilding destruction(是否允许建筑物损毁)

allowBuildingDestructionon

// Allowenemies in creative games(创造模式下是否允许有野人)

allowEnemiesCreativeModeoff

-------------------------------------

以下几项是在配置文档里面可能有的内容,做补充。

-------------------------------------

// Allowsdefining a custom folder for save slots, leave empty to use the defaultlocation (允许自定义保存文档位置,空白为默认位置)

saveFolderPath

// Target FPS when no client is connected (服务器内没玩家的时候设置刷新率)

targetFpsIdle 5

// Target FPS when there is at least one client connected (服务器内至少1个玩家连线时服务器刷新率)

targetFpsActive 60

-------------------------------------

设置完成后,保存并关闭。

现在可以点击打开专用服务器了。

注意:

如果想在同一台机器上运行服务器,以及同时运行The Forest游戏,需要先点击The Forest运行,出现The Forest Configuration 小窗口后,别急着点击Play。先打开专用服务器运行。注意,别最小化专用服务器窗口,切换到The Forest Configuration窗口直接点击Play就是。

-----------------------------------------------------------------------------------------

三,Steam 服务器账户

为帮助玩家尽快定位曾玩过的你的游戏服务器,Steam提供了一种方法来识别服务器。

你首先需要在 SteamCommunity :: Steam Game Server Account Management(链接地址为:https://steamcommunity.com/dev/managegameservers)中为你的服务器创建一个账号。游戏The Forest 的appid是242760。注意,请勿向第三方透露游戏服务器的登录令牌。

一旦创建了你的游戏服务器账户,复制你的登录令牌到或者命令行

-------------------------------------

-serversteamaccount

-------------------------------------

或者添加到配置文件Server.cfg中的

-------------------------------------

serverSteamAccount

-------------------------------------

然后,重启服务器。

----------------------------------------------------------------------------

完毕。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
数字乡村和智慧农业的数字化转型是当前农业发展的新趋势,旨在通过应用数字技术,实现农业全流程的再造和全生命周期的管理服务。中国政府高度重视这一领域的发展,提出“数字中国”和“乡村振兴”战略,以提升国家治理能力,推动城乡融合发展。 数字乡村的建设面临乡村治理、基础设施、产业链条和公共服务等方面的问题,需要分阶段实施《数字乡村发展战略纲要》来解决。农业数字化转型的需求包括满足市民对优质农产品的需求、解决产销对接问题、形成优质优价机制、提高农业劳动力素质、打破信息孤岛、提高农业政策服务的精准度和有效性,以及解决农业融资难的问题。 数字乡村建设的关键在于构建“1+3+4+1”工程,即以新技术、新要素、新商业、新农民、新文化、新农村为核心,推进数据融合,强化农业大数据的汇集功能。数字农业大数据解决方案以农业数字底图和数据资源为基础,通过可视化监管,实现区域农业的全面数字化管理。 数字农业大数据架构基于大数据、区块链、GIS和物联网技术,构建农业大数据中心、农业物联网平台和农村综合服务指挥决策平台三大基础平台。农业大数据中心汇聚各类涉农信息资源和业务数据,支持大数据应用。信息采集系统覆盖市、县、乡、村多级,形成高效的农业大数据信息采集体系。 农业物联网平台包括环境监测系统、视频监控系统、预警预报系统和智能控制系统,通过收集和监测数据,实现对农业环境和生产过程的智能化管理。综合服务指挥决策平台利用数据分析和GIS技术,为农业决策提供支持。 数字乡村建设包括三大服务平台:治理服务平台、民生服务平台和产业服务平台。治理服务平台通过大数据和AI技术,实现乡村治理的数字化;民生服务平台利用互联网技术,提供各类民生服务;产业服务平台融合政企关系,支持农业产业发展。 数字乡村的应用场景广泛,包括农业生产过程、农产品流通、农业管理和农村社会服务。农业生产管理系统利用AIoT技术,实现农业生产的标准化和智能化。农产品智慧流通管理系统和溯源管理系统提高流通效率和产品追溯能力。智慧农业管理通过互联网+农业,提升农业管理的科学性和效率。农村社会服务则通过数字化手段,提高农村地区的公共服务水平。 总体而言,数字乡村和智慧农业的建设,不仅能够提升农业生产效率和管理水平,还能够促进农村地区的社会经济发展,实现城乡融合发展,是推动中国农业现代化的重要途径。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值