-
Notifications
You must be signed in to change notification settings - Fork 18
Feature Request #8
Copy link
Copy link
Open
Description
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)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels