ProxyMessageReceiveEvent 5.46.0
Extends ServerEvent
Called when another server of the pm-proxy network sent this server a plugin message with \pocketmine\network\proxy\ProxyNetwork::sendMessage(). Plugins tell their messages apart by the channel.
Methods
__construct()
php
public function __construct(string $sourceServer, string $channel, string $data)getChannel()
php
public function getChannel() : stringgetData()
php
public function getData() : stringgetSourceServer()
php
public function getSourceServer() : stringName of the server that sent the message.
