Skip to content

PacketRateLimiter ​

final class · pocketmine\network\mcpe\PacketRateLimiter · source

Methods ​

__construct() ​

php
public function __construct(string $name, int $averagePerTick, int $maxBufferTicks, int $updateFrequencyNs = 50000000)

decrement() ​

php
public function decrement(int $amount = 1) : void

update() ​

php
public function update() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.