You may use this repo as way to learn on how to prevent players from falling inside the void.
Anti Void prevents players from falling into the void. When a player is saved it will send a message and title to the player informing them they have been saved. All messages are configurable through the config.yml!