Closed tunikakeks closed 3 years ago
I do not understand your idea. Can you describe it more?
I think, if you run thought nether portal be like
I do not understand your idea. Can you describe it more?
That you can also use portals to transfer on Waterdog Servers. Just search yesdog/Waterdog
That must be ServerSide>StarGate Atlantis/Universe
PocketMine:
/**
* @var \pocketmine\plugin\Plugin $this
* @var \pocketmine\Player $player
* @var string $server
* @var alemiz\sga\client\Client $client
*/
$this->getScheduler()->scheduleRepeatingTask(new \pocketmine\scheduler\ClosureTask(int $currentTick): void{
if ($player->getLevel()->getBlock($player->asVector3())->getId() == BlockIds::PORTAL) {
\alemiz\sga\StarGateAtlantis::getInstance()->transferPlayer($player, $server, $client)
}
}, 20 /2); //NOTE: half second.
Can you May add Portals dir Waterdog Transfers?