项目介绍

C0nw0nk/SteamCMD-AutoUpdate-Any-Gameserver 是一个托管在 GitHub 上的开源项目,主要使用 Batchfile 编写,目前获得 157 个 Star、30 次 Fork。

仓库全名
C0nw0nk/SteamCMD-AutoUpdate-Any-Gameserver
Star 数
157
Fork 数
30
未关闭 Issue
18

README 摘要

SteamCMD-AutoUpdate-Any-Gameserver Windows SteamCMD to automaticly update and install any game server I am sure all of you on windows have been seeking for this for a long time. This will work for all game servers and keep them all automaticly updated. You may also use this to freshly and easly install game servers too. Inside my script i have written a little a detail on each function and what it is executing and…

完整内容见 GitHub 原始 README 或本页 。

常见问题

SteamCMD-AutoUpdate-Any-Gameserver 用什么语言开发?

主要使用 Batchfile 编写,目前有 157 个 Star。

如何获取 SteamCMD-AutoUpdate-Any-Gameserver 的源码?

可以直接克隆仓库:git clone https://github.com/C0nw0nk/SteamCMD-AutoUpdate-Any-Gameserver.git,默认分支为 master;安装与运行步骤见仓库 README。

SteamCMD-AutoUpdate-Any-Gameserver 最近还在维护吗?

仓库最近一次更新为 2023年3月22日,当前有 18 个未关闭 Issue;Star 数为 157,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Windows SteamCMD to autoupdate and install any game server steam cmd settings configurable lots of useful features. This batch script will keep your game servers automaticly updated updating intervals announce the server is shutting down for updates etc all configurable.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
229
价值分
103
活跃状态
活跃

语言占比

Batchfile

贡献者

README

SteamCMD-AutoUpdate-Any-Gameserver

Windows SteamCMD to automaticly update and install any game server

I am sure all of you on windows have been seeking for this for a long time.

This will work for all game servers and keep them all automaticly updated. You may also use this to freshly and easly install game servers too. Inside my script i have written a little a detail on each function and what it is executing and the result. For those of you who are command line enthusiasts like myself.

Why did i bother to make this ?

I got borred and when i get borred i have to do something productive this being the result. (I am a workaholic)

It is a command line file what you should replace your existing .bat / .cmd scripts with, One automatic updater per each game server you wish to run.

Features :

steam.cmd is only dependant upon VBScript.

steam-curl.cmd is dependant upon CURL, VBScript and Windows Powershell.

Will download extract and install steamcmd.exe if it does not exist in the directory specified from http://media.steampowered.com/installer/steamcmd.zip

Works with both 32bit and 64bit architecture.

Install game server.

Keep server updated on a interval (interval of updates is defined in seconds).

Should work with both Normal versions of Windows and Server versions.

Suppress application hung messages to prevent server crash problems.

Announces to players ingame that the server is shutting down/restarting for updates.

Requirements :

You need to have a SteamDEV API key you can obtain one from the following link :

http://steamcommunity.com/dev/apikey

Certain servers for specific games require you to use a login on SteamCMD so specify your login in the script.

SteamCMD.exe downloaded from :

http://media.steampowered.com/installer/steamcmd.zip

F.A.Q

I edited beyond the “Do not edit” point and now it does not work ? I told you in the file not to touch anything beyond that point. (Just redownload the script to get a default working version.)

Known bugs / issues :

If your game server is to crash you may have to wait for the next automatic update check as defined by the interval so the script checks if the game server is infact running or not. (Current soloution is to keep the update interval to a max of 10-15mins so if your server crashes it is not offline for long) set interval=60 (1 minute)

Certain Appid’s for installation of game server will be different to the update id due to Steam’s DEV API not containing the latest avaliable server version (yet!?)

Example :

http://api.steampowered.com/ISteamUserStats/GetSchemaForGame/v2/?key=YOURKEYHERE&appid=740&format=json

How to use :

Choose either steam.cmd or steam-CURL.cmd

The steam.cmd file uses VBScript and steam-curl.cmd is dependant on CURL and Windows Powershell.

Both will automaticly download and install game servers upon running either script.

There are two different appid’s you might have to specify for your game server to automaticly update. Since some games for example CS:GO has a seperate appid for the updater url than the appid you would use to install the game server as show below.

Install CS:GO server appid = 740

set appid=740

Auto Update URL appid = 730

set update_appid=730

You will know if you have to set a different appid for the update url if the contents of your latest-version.txt show this.

{
    "game": {

    }
}

To get the correct Auto Updater APPID just go to the store page for the game in question and it will be at the end of the URL link.

http://store.steampowered.com/app/730/

Configuration : (EDIT | steam.cmd file)

In order to configure the script just edit the “*.cmd” file and define your install directory and server type.

Please drop a reply if you have a question / issue i shall try to help you as much as i can.

CURL (Generic) 32bit and 64bit executable from | http://curl.haxx.se/download.html#Win32

评论

暂无评论