How to lock player to platform jumps?

How do you lock the player on a first person platform game to only a series of platforms.

I mean from each platform allow the player to jump (without falling) to a set of other platforms without falling off into the world space?