team-reflex/rcon-php

此包已被废弃,不再维护。未建议替代包。

使用PHP编写的CS:GO Rcon客户端。

v1.0.0 2016-01-22 09:59 UTC

This package is not auto-updated.

Last update: 2020-05-29 18:40:50 UTC


README

使用PHP编写的CS:GO Rcon客户端。

使用方法

<?php

use Reflex\Rcon\Rcon;

$rcon = new Rcon(':ip_address', :port, ':rcon_password');
$rcon->connect();

// Set the socket timeout if you want to, defaults to 2 seconds.
$rcon->setTimeout(:seconds);

// Execute a rcon command
$rcon->exec('say PHP!');

许可证

本存储库中的代码受MIT许可证的约束,可在本存储库中的LICENSE文件中找到。

致谢