Quantcast
Channel: BungeeCord Discussion
Viewing all articles
Browse latest Browse all 3776

How comes my plugin doesnt teleport me to another server?

$
0
0
My code to send a player to another server is this:

Code (text):
    public static void sendToServer(Player player, String servername){
        try{
            out.writeUTF("ConnectOther");
            out.writeUTF(player.getName());
            out.writeUTF(servername);
        }catch(Exception ex){
            ex.printStackTrace();
        }
    }
But is not doing anything... please help!

Viewing all articles
Browse latest Browse all 3776

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>