ozzyfant/minephpquery
Composer 安装命令:
composer require ozzyfant/minephpquery
包简介
Simple to use library to fetch and check the status of Minecraft servers.
README 文档
README
This library is a utility to query Minecraft servers and get their status. It is possible to fetch these status values:
- Current number of players playing
- Maximum number of players
- All names of currently playing players
- Plugins (if any)
- Port and current server IP
- Name of the server (MOTD)
- Name of the modification used (if any)
- Is the server online?
Before starting
This library uses Minecraft's query protocol, which isn't activated by default. You need to change the configuration if necessary.
enable-query=false
needs to be changed to
enable-query=true
query.port=25565
To get started, take a look at example.php for basic usage.
统计信息
- 总下载量: 64
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2013-07-20