mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Add network-wide API to filter raw packets by regex, stricter validation for Query
This commit is contained in:
@ -169,6 +169,10 @@ class RakLibInterface implements ServerInstance, AdvancedNetworkInterface{
|
||||
$this->interface->sendRaw($address, $port, $payload);
|
||||
}
|
||||
|
||||
public function addRawPacketFilter(string $regex) : void{
|
||||
$this->interface->addRawPacketFilter($regex);
|
||||
}
|
||||
|
||||
public function notifyACK(string $identifier, int $identifierACK) : void{
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user