By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.
OK, Don't show this again
stopon your server, then start it again.
This plugin is very simple that the only thing you need is one command:
/monitor entity [ticking: bool]
/monitor tile [ticking: bool]
It returns every world with a chunk XY and the amount of entities/tiles and if they are ticking. This could be used as an anti-grief plugin so you can see where players are making lag machines or summoning too many entities to save your server performance.
If you want to access this plugin api you can do the following:
use JavierLeon9966\EntityMonitor\EntityMonitor; use pocketmine\world\World; /** * @var ?int $chunkHash * @var int $count */ [$chunkHash, $count] = EntityMonitor::getChunkWithEntities(World $world, bool $ticking): array; /** * @var ?int $chunkHash * @var int $count */ [$chunkHash, $count] = EntityMonitor::getChunkWithTiles(World $world, bool $ticking): array;
Reply to review by :
You can leave one review per plugin release, and delete or update your review at any time
This Release will be permanently deleted and cannot be recovered. Are you sure?