particle99/gats-custom
GitHub: particle99/gats-custom
一个基于TypeScript的Gats.io游戏自定义服务器模板,用于快速部署和配置私人游戏服务器。
Stars: 1 | Forks: 0
# ing gats-custom" or similar, but here it's just "gats-custom", which could be the name itself.
基于TypeScript编写的Gats.io自定义服务器模板
# 安装说明
克隆仓库后运行:
```
npm install
npm run start
```
# 服务器配置
要修改服务器配置,请查看 [`config.ts`](./src/config.ts) 中的所有生效配置;如需查看所有可配置项,请参阅 [`Config.ts`](./src/Enums/Config.ts)
若某项配置存在限制,将在 [`Config.ts`](./src/Enums/Config.ts) 中该配置上方的注释里注明
# 客户端
为gats.io创建新的Tampermonkey脚本,粘贴 [`userscript.js`](./src/Client/scripts/userscript.js) 内容并保存。请确保端口与服务器端口一致,且重新加载网站前服务器已启动运行。
如需更多配置选项(如叠加消息、自定义游戏模式等),现在也可使用**自定义客户端**。将 [`2.1.3-custom.js`](./src/Client/public/2.1.3-custom.js) 保存为Chrome对gats.io 2.1.3.js的覆盖文件。若使用自定义客户端,请确保 `customClient` 配置已设为true。
# 游戏模式
gats-custom当前支持以下游戏模式:
```
- FFA
- CTF
```
标签:CTF模式, FFA模式, Gats.io, GNU通用公共许可证, MITM代理, Node.js, npm, Tampermonkey, TypeScript, 多人游戏, 安全插件, 客户端定制, 暗色界面, 服务器开发, 模板项目, 模组开发, 游戏开发, 游戏服务器, 用户脚本, 网络编程, 自定义服务器, 自定义脚本