hi, if possible, add a API to know from where the player are comming to the server...
an example of plugin implementation:
public function comeFromWhere(PlayerJoinEvent $e){
$this-ft->getPluginManager()->getPlugin("FastTransfer");
$player = $event->getPlayer();
$port = "19133"; //config get
$ip = "127.0.0.1"; //config get
if($this->ft->comeFrom($player, $ip, $port);
$player->teleport($x, $y, $z); //whatever
}
}
this would be great... (since there's no "Feature Request" option on github I posted that here, fell free to close that)
hi, if possible, add a API to know from where the player are comming to the server...
an example of plugin implementation:
this would be great... (since there's no "Feature Request" option on github I posted that here, fell free to close that)