Skip to content

Commit

Permalink
fix link
Browse files Browse the repository at this point in the history
  • Loading branch information
jgniecki committed Jul 28, 2024
1 parent ac2106b commit 8ef42c3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Minecraft Rcon
==================
![](https://img.shields.io/packagist/l/jgniecki/minecraft-rcon?style=for-the-badge)
![](https://img.shields.io/packagist/dt/jgniecki/minecraft-rcon?style=for-the-badge)
![](https://img.shields.io/packagist/l/dev-lancer/minecraft-rcon?style=for-the-badge)
![](https://img.shields.io/packagist/dt/dev-lancer/minecraft-rcon?style=for-the-badge)
![](https://img.shields.io/github/v/release/jgniecki/MinecraftRcon?style=for-the-badge)
![](https://img.shields.io/packagist/php-v/jgniecki/minecraft-rcon?style=for-the-badge)
![](https://img.shields.io/packagist/php-v/dev-lancer/minecraft-rcon?style=for-the-badge)

PHP library to request RCON for Minecraft servers
## Installation
Expand All @@ -26,8 +26,7 @@ use DevLancer\MinecraftRcon;

$rcon = new Rcon($host, $port, $password, $timeout);

if ($rcon->connect())
{
if ($rcon->connect()) {
if ($rcon->sendCommand("say Hello World!") === false) {
//bad request
} else {
Expand Down

0 comments on commit 8ef42c3

Please sign in to comment.