I need a spam refreshing script for my phpbb forum.
Users refreshing more than x times in a row within a minute would get blocked for x amount of minutes, or would not be able to refresh anymore.
Then if they start refreshing again once the block is over, they would get blocked from the site for x amount of time.
I have some users spamming the site, and this causes unnecessary lags, so this needs to be handled somehow.
Our forum is custom phpbb.