I will share the experience of how to do a block at the end of the bot.
Where this feature can make a scampage become more durable and durable.
Source code for blocking (blockers.php / blocker.php) :
https://ghostbin.co/paste/v6psa
If you want to make a shortlink with the domain and private hosting, you just need to install the Killbot Shortlink:
https://files.killbot.org
What I like about Killbot is that they provide fairly complete information from existing visitors such as Device, OS, Browser, User-Agent and IP information.
Killbot also claims that they use Artificial Intelligence (AI) in their products, and also provides protection from OWASP Top 10 types of attacks.
Screenshot:
https://prnt.sc/t5xjyo - Visitor records from Killbot Shortlink with nice information for analysis
I hope this can help those of you who are looking for solutions to block bots from your scampage.