EntityMonitor

EntityMonitor

por poggit-archive
No disponible

Incompatible con la versión actual de PocketMine-MP — Could not load plugin 'EntityMonitor': Incompatible network protocol version (plugin requires one of: 594, 618, 622, 630, 649, 662, 671) · Probado en PocketMine-MP 5.50.0 (PHP 8.4.27).

AdministraciónHerramientaspocketmine
2visitas
0descargas

Overview

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.

API

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∗/[count */ [chunkHash, count]=EntityMonitor::getChunkWithEntities(Worldcount] = EntityMonitor::getChunkWithEntities(World world, bool $ticking): array;

/**

  • @var ?int $chunkHash
  • @var int count∗/[count */ [chunkHash, count]=EntityMonitor::getChunkWithTiles(Worldcount] = EntityMonitor::getChunkWithTiles(World world, bool $ticking): array;