fabito/sof2rcon
Composer 安装命令:
composer require fabito/sof2rcon
包简介
Connects to SoF2 game servers via custom UDP RCON protocol
README 文档
README
Connect to your SoF2 game server within seconds! SoF2 uses a custom RCON protocol over UDP.
Thanks to Janno for a lot of the insight!
Usage
Use composer to install it into your project composer install astinox/sof2rcon
Initialize the server connection
use Astinox\Sof2rcon\Sof2Rcon; // RCON is optionally if you just want to read status/info lists from servers $sof2rcon = new Sof2rcon($ip, $port = 20100, $rcon = null); // Print the server status (hostname, gametype, scorelimit, ...) $status = $sof2rcon->status(); // Get a list of current players $players = $sof2rcon->players(); // Run any RCON command $sof2rcon->rcon('map mp_shop');
Security Vulnerabilities
If you discover a security vulnerability within Sof2RCON, please email me at fabian@fabito.media!
License
SoF2RCON is open source software licensed under the MIT license.
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-10-04