Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luca28pet/multiservercounter

A PocketMine-MP plugin that combines online players counts of multiple servers
https://github.com/luca28pet/multiservercounter

pmmp pmmp-plugin pmmp-plugins pocketmine pocketmine-mp pocketmine-mp-plugins pocketmine-plugin pocketmine-plugins

Last synced: about 18 hours ago
JSON representation

A PocketMine-MP plugin that combines online players counts of multiple servers

Awesome Lists containing this project

README

        

# MultiServerCounter
A PocketMine-MP plugin that combines online players counts of multiple servers.

*Latest development phars: https://poggit.pmmp.io/ci/luca28pet/MultiServerCounter/MultiServerCounter*

This is useful e.g. when you have a lobby server and other gamemodes on different servers, and you want the lobby server to display the number of players of all the servers, combined, when queried from a server list or the menu in the MCBE client.

**How to use:**
- Drop the phar in the plugins folder
- Restart the server
- Edit the config.yml found in plugins_data/MultiServerCounter and add the server you want to query
- Save the file and restart the server

**config.yml**

```
---
#Time in seconds
update-players-interval: 30

#Format: "ip:port"
servers-to-query:
- "127.0.0.1:19133"
- "127.0.0.1:19134"
...
```