public static void teleportPlayerToLocation( BSPlayer p, Location t ) {

        ByteArrayOutputStream b = new ByteArrayOutputStream();
        DataOutputStream out = new DataOutputStream( b );
        try {
            out.writeUTF( "TeleportToLocation" );
            out.writeUTF( p.getName() );
            out.writeUTF( t.serialise() );
        } catch ( IOException e ) {
            e.printStackTrace();
        }
        sendPluginMessageTaskTP( t.getServer(), b );
        if ( !p.getServer().getInfo().equals( t.getServer() ) ) {
            p.getProxiedPlayer().connect( t.getServer() );
        }
    }