sending packets to move is generally one of the harder things to do in a single plugin.
a way I made a simple auto-follow plugin was target a player and check his coordinates, compare them to mine, and send continuous key presses depending on how far away I am from the target, if I am x=5 and he is x=7 (assuming right adds to the x coordinate) I would make it hold the "D" button until my x (rounded) was the same as my targets, etc.
other than that, moving with packets isn't that easy in just a plugin afaik.