饥荒联机版服务器查询 dstserverlist.top
从Klei服务器下载所有服务器数据进行查询
运行publish-win.bat
发布项目
然后打开Ilyfairy.DstServerQuery.Web.exe
接下载访问http://127.0.0.1:3000/api/list
配置文件是appsettings.json
可以使用SqlServer或者MySql
并且数据库的排序规则Collation
需要区分大小写
如果是MySql,则首次需要执行SET GLOBAL local_infile = true;
需要开服的Token, 否则是不能获取详细信息的, 比如玩家信息
DstDetailsProxyUrl 是一个批量请求详细数据的代理服务器的Url
它相当于https://lobby-v2-cdn.klei.com
的代理, 可以自己搭建代理服务器
body
将会传入[{"RowId":"KU_XXXXXXXX","Region":"v2-ap-east-1"}]
这样的的列表, 并返回{"GET":[xxx]}
不使用代理则请求非常慢
/api/server/version
获取饥荒联机版最新版本号/api/list
服务器列表/api/details/{id}
通过RowId服务器详细信息