国王的统治 服务器每隔一段时间自动重启, 或者关闭服务器重启的设置

国王的统治 服务器每隔一段时间自动重启, 或者关闭服务器重启的设置

启动游戏服务器的时候会在其目录生成一个 Configuration 文件夹,此文件夹下面有好多文件,今天就来给大家注释ConsoleSettings.txt  会的朋友看到错误请指正     这是控制台设置的文件打开如下

# — Code}{atch Console Settings —
consoleTitle = ‘Console’
lastProcessId = ‘4912’                   最后一个进程Id = ‘ 4912 ‘
lastConsolePort = ‘11075’              最后控制端口= ‘ 11075 ‘

connectionTimeOut = ‘180’           连接时间= ‘ 180 ‘ #的时间,以秒为单位,在控制台将重启服务器没有响应。
shutdownTimeout = ’60’                关闭时间= 60 #的时间,以秒为单位,在服务器被迫退出。
shutdownCommand = ‘/shutdown’    关闭命令= ‘ /关闭’ #必须匹配游戏关闭命令。
restartCommand = ‘/restart’        重启命令= ‘ /重启”#必须匹配游戏的重启命令。

# — Auto Restart —                   自动重启
autoRestartTime = ‘0’                 自动重启时间= ‘ 0 ‘ #之间的秒自动重启。(0禁用)
restartMessage = ‘/notice Server is restarting in %timeLeft%.’   启动消息= ‘ % timeLeft % /通知服务器重新启动。“#变量:% timeLeft %           

Warning Times {   # The time in seconds remaining to warn the players that the server is shutting down.          警告* { #剩余的时间间隔,以秒为单位提醒玩家,服务器是关闭的。

– ‘3600’
– ‘1800’
– ‘600’
– ‘300’
– ’30’
– ‘3600’
– ‘1800’
– ‘600’
– ‘300’
– ’30’
}

# — Auto-Update —
autoUpdate = ‘False’   # If true, the console will use SteamCMD to automatically update the server.
updateCheckInterval = ‘0’   # If greater then 0 seconds, it will check for updates while the server is running, then shutdown and perform the update.
steamAppId = ‘344760’
userName = ‘anonymous’   # The username used when downloading the build from steam.
beta = ”   # The name of the beta branch.
betaPass = ”   # The password for the beta branch.
updateMessage = ‘/notice Shutting down for an update…’   # This message will be sent to the server before it shuts down for an update.
validate = ‘False’   # If true, steam will validate the server files when the console launches.

# — Remote Console —
enableRCon = ‘False’
rConPort = ‘9350’
rConPassword = ”

# — Logs —
showDebugLogs = ‘True’
showInfoLogs = ‘True’
showWarningLogs = ‘False’
showErrorLogs = ‘True’
showExceptionLogs = ‘True’

# — Finding the Steam App Id —
# Navigate to the game’s community hub page on steams website.
# You will find the game’s app id in the website address. (URL)
# Ex: http://steamcommunity.com/app/344760
# 344760 is the app id for Reign Of Kings

# — Downloading without Logging In —
# Some games will have a dedicated server app id.
# Using this app enables anonymous download of the server.
# So you can download the files without logging in.
# 381690 is the dedicated server app id for Reign Of Kings.

# — Scripting Files —
# Place these files next to Server.exe and they will be run when specified.
# OnStart.bat – Runs before the game server is about to start.
# OnRestart.bat – Runs after the server has shut down but only when the restart command was used.
# OnShutdown.bat – Runs after the game server has shut down.
# OnPreUpdate.bat – Runs before an update is performed.
# OnPostUpdate.bat – Runs after an update is performed.

1.jpg

声明:该资源仅供学习和研究传播,大家请在下载后24小时内删除,一切关于该资源商业行为与www.pzmai.com无关。 请勿将该软件进行商业交易、转载等行为,该软件只为研究、学习所提供,该软件使用后发生的一切问题与本站无关。 若本源码侵犯了您的权益,请联系我们予以删除!(E-mail:362030374@qq.com)
胖子买资源站,一个免费的传奇脚本,手游开服外网教程的资源站。 » 国王的统治 服务器每隔一段时间自动重启, 或者关闭服务器重启的设置

发表评论