This script was derived from wojons/cloudflare-lb and barneygale's ping gist. This acts as a Minecraft proxy load balancer. It will ping a set of IPs repeatedely (configurable interval) and add or remove nodes based on if the IP is accessible to a Minecraft client. Most of the details regarding requirements and configuration options found here apply to this script.
$ python cloudflare-mc.py