Alemiz112 / StarGate

StarGate is plugin for WaterDog (mcbe and mcpc proxy) that allows commuinication between servers/clients.
Apache License 2.0
44 stars 11 forks source link

Idea #5

Closed tunikakeks closed 3 years ago

tunikakeks commented 4 years ago

Can you May add Portals dir Waterdog Transfers?

Alemiz112 commented 4 years ago

I do not understand your idea. Can you describe it more?

xxAROX commented 3 years ago

I think, if you run thought nether portal be like

tunikakeks commented 3 years ago

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

xxAROX commented 3 years ago

That must be ServerSide>StarGate Atlantis/Universe

xxAROX commented 3 years ago

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.
xxAROX commented 3 years ago

create an issue here for more help lol.