Question how do I use the transfer method of the Player class?

FREULIGG_

New member
Jan 15, 2022
2
0
1
I have such a problem: in the documentation for PaperMC, the class (or interface, I don't quite understand) has a transfer method that accepts the ip and port of the server, and should transfer the player to another server. But he doesn't do it. Who knows, please tell me how to fix it? Maybe there is another option to transfer the player to another server?

org.bukkit.entity.Player.transfer1000013808.png
 
Last edited: