Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 18 hours 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 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-25T18:58:43.000Z (5 months ago)
- Last Synced: 2024-09-26T10:20:28.629Z (about 18 hours 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};
```