PocketMine proxy plugin
✔️Latest PocketMine API support
- Download plugin phar from releases
- Restart the server
- Use /transferserver command or Player->transfer() funcion
- 1.0.0
- not released
- RakNet communication with server
- Handle packets from server
- Send login to the server
- Implement mtu size more properly
- Stable Builds:
Version | Download (PHAR) | Download (ZIP) |
---|---|---|
1.0.0 | was not released | was not released |
- Other released versions here
- Transferring player using Vooky
plugin.yml:
name: ...
api: ...
depend: [Vooky]
version: ...
Main class:
/**
* @param \pocketmine\Player $player
* @param string $adress
* @param int $port
*/
public function transferPlayerUsingVooky(\pocketmine\Player $player, string $adress, int $port): void {
$player->transfer($adress, $port);
}
- Transferring player without Vooky
NOTE: 'replace-transfer' must be set to 'false' in config.yml.
Main class:
/**
* @param \pocketmine\Player $player
* @param string $adress
* @param int $port
*/
public function transferPlayerWithoutVooky(\pocketmine\Player $player, string $adress, int $port): void {
$pk = new TransferPacket;
$pk->address = $adress;
$pk->port = $port;
$player->dataPacket($pk);
}