Skip to content

Feature Request #8

@ghost

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions