https://github.com/javierleon9966/entitymonitor
Plugin that monitors every chunk for potential amount of entities and tiles
https://github.com/javierleon9966/entitymonitor
pmmp-plugin pocketmine-plugin pocketmine-plugins
Last synced: 12 days ago
JSON representation
Plugin that monitors every chunk for potential amount of entities and tiles
- Host: GitHub
- URL: https://github.com/javierleon9966/entitymonitor
- Owner: JavierLeon9966
- License: gpl-3.0
- Created: 2021-07-01T19:23:22.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T18:58:43.000Z (about 1 year ago)
- Last Synced: 2025-06-22T04:05:26.851Z (12 days ago)
- Topics: pmmp-plugin, pocketmine-plugin, pocketmine-plugins
- Language: PHP
- Homepage:
- Size: 89.8 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EntityMonitor
Plugin that monitors every chunk with potential amount of entities and tilesThis plugin is very simple that the only thing you need is one command:
/monitor [entity|tile] [ticking: bool]
## API
```php
use JavierLeon9966\EntityMonitor\EntityMonitor;
use pocketmine\world\World;[$chunkHash, $entityCount] = EntityMonitor::getChunkWithMostEntities(World $world, bool $ticking): array{?int, int};
[$chunkHash, $entityCount] = EntityMonitor::getChunkWithMostTiles(World $world, bool $ticking): array{?int, int};
```