To combat these attacks, I blocked the rest of the world from accessing my server except my country from where most players are. but then I started getting DDoS from IPs from my own country. So with the help of my friend we created a simple python script that utilizes Linux’s UFW firewall (Basically a simple version of IPTables) to block IPs making more than N number of connections every N seconds (You can configure the number of connections and timeout for script)
This way the scripts automatically ban bad IPs or proxies attacking your server.
So, if your FXServer runs on Linux, this script can be useful for you. If you need any help to set it up on your server, I can answer your issues in the comment section.