Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 1.98 KB

README.md

File metadata and controls

51 lines (36 loc) · 1.98 KB

MultiPlayerCounter


Lint PHPStan Discord

NOTICE: This plugin branch is for PocketMine-MP 5.
Combine players of multiple servers

Features

  • Combine players of multiple servers
  • Easy to set up
  • API For Developers

How to Install

  1. Download the latest version
  2. Place the MultiPlayerCounter.phar file into the plugins folder.
  3. Restart the server.
  4. Done!

API

Check server is online

use davidglitch04\MultiPlayerCounter\api\ServerAPI;

$status = ServerAPI::isOnline(ip: $ip, port: $port); // Return bool
var_dump($status);

Get ServerInfo

use davidglitch04\MultiPlayerCounter\api\ServerAPI;

$status = ServerAPI::getServerInfo(ip: $ip, port: $port); // Return ServerInfo
var_dump($status);

Credits

Logo Description
IDE for this project is supported by Jetbrains

Additional Notes

  • If you found bugs or want to give suggestions, please visit here or join our Discord server.
  • We accept all contributions! If you want to contribute, please make a pull request in here.