fabito/sof2rcon 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固