Learn to read. The method is supposed to have 4 times int value (int, int, int, int) while you have (loc, int, int, int). You have to get rip of location and use Integer.parseInt directly*. Most likely it's (x, y, z, offset) method.
* - teleToLocation(Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), Integer.parseInt(st.nextToken()), 20);
Warning, last int may even be a instanceId. No idea what pack are ya using. So simply go to the method and see what are these.