This Plugin allow you to lock your bungeecord server on custom domains.
If they are connecting with a non valid hostname they will be kicked from the server with a custom message.
Code (YAML):
hostnames: - play.exemple.com
- mc.exemple.com
ignoreCase: true
kickMessage: '&7
[&6Server&7
] &7You are connecting with a &cwrong &7IP address, pleace
&aconnect &7with &3play.exemple.com'