Method |
Description |
|
__construct ( Server $server ) |
|
|
addStatistics ( $upload, $download ) |
|
|
blockAddress ( string $address, integer $timeout = 300 ) |
Blocks an IP address from the main interface. Setting timeout to -1 will block it forever |
|
getDownload ( ) |
|
|
getInterfaces ( ) : pocketmine\network\SourceInterface[] |
|
|
getName ( ) |
|
|
getPacket ( $id ) : DataPacket |
|
|
getServer ( ) |
|
|
getUpload ( ) |
|
|
processBatch ( BatchPacket $packet, Player $p ) |
|
|
processInterfaces ( ) |
|
|
registerInterface ( pocketmine\network\SourceInterface $interface ) |
|
|
registerPacket ( integer $id, DataPacket $class ) |
|
|
resetStatistics ( ) |
|
|
sendPacket ( string $address, integer $port, string $payload ) |
|
|
setName ( string $name ) |
Sets the server name shown on each interface Query |
|
unblockAddress ( string $address ) |
Unblocks an IP address from the main interface. |
|
unregisterInterface ( pocketmine\network\SourceInterface $interface ) |
|
|
updateName ( ) |
|
|