2019-04-23, 09:35 AM
(This post was last modified: 2019-04-23, 09:37 AM by RajatAsthana.)
~ANTI BOT V.1~
Why This?
This is Made for the servers which are getting attacked by Massive Connections ( Bot's) . Since i was requested To make this in my discord DM So, I have made this.
What This Contains?
A filterscript :p.
How is this helpful?
It bans the IP once there are 2/More connections from a IP (default. You can change it in the script)
What is IP? (Beginner's Question)
[font=sans-serif]An Internet Protocol address (IP address) is a numerical label assigned to each device connected to a computer network that uses the Internet Protocol for communication.[1][2] An IP address serves two principal functions: host or network interface identification and location addressing.[/font]
[font=sans-serif]How to install?[/font]
[font=sans-serif]1) Download the script from the link below.[/font]
[font=sans-serif]2) Add the AntiBot.amx into your filterscript folder[/font]
[font=sans-serif]3) Add this line into your server.cfg
Code:
filterscripts AntiBot
[font=sans-serif]4) Run Your server.[/font]
Where Da links at?
1) PasteBin - https://pastebin.com/JEewZh9v
2) GitHub - https://github.com/RyderAsthana/Anti-Bot
=========REP ME IF IT HELPED YOU.========
Code:
OnPlayerConnect(playerid)
{
new PlayerName[25];
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
Ban(playerid);
printf("%s was Banned :p", PlayerName);
return 1;
}