The alternative may be to create an add-on using the init_dependencies hook that checks visiting IPs and redirects them.
Something like this you may wish to do on a server level though, that way the IP is redirected immediately, before even coming into contact with XenForo.