Page 1 of 1

Ban retry user in some minutes

Posted: Mon Nov 22, 2021 11:24 pm
by greenie
BAN RETRY PLAYER

Plugin by C@mp3R based on SYZo's AMX plugin

NEWS
*11 Jan 2006*
- Add 2 new cvars
amx_retrytimetoban
amx_retrycounttoban : (if you retry "amx_retrycounttoban" times in "amx_retrytimetoban" minute(s), you will be banned)
- Fixed ADMIN_IMMUNITY problem, now admin with access level a will not be banned

*10 Jan 2006*
- Rename the plugin from no_reconnect to banretryplayer
- Fixed the wrong spelling
----------------------------------------------------------------------
Usage :
Some players keep using command retry or reconnect to relogon to your server after died in game, it sometime makes the server being lag. This plugin will ban retry player in a period of time. (default is 3 minutes).
To disable this plugin, simply change the cvar amx_retryban to 0

ADMIN_IMMUNITY flag are not affected.

CVARS default)
* amx_retryban = 1
* amx_retrybanduration = 3
* amx_retrychat = 1
*
* amx_retrytimetoban = 10
* amx_retrycounttoban = 2 (if you retry 2 times in amx_retrytimetoban, default =10 minute(s), you will be banned)
*
* amx_retrybankmsg = "Ban %s %m min(s) because retry %d times in %m2 min(s)"
* amx_retrychatmsg = "You were using command RETRY %d time(s) in %d minute(s) so you has been banned from this server in %d minutes. Come back later please!"

----------------------------------------------------------------------
* NOTE:

%s = players name
%m = same as in amx_retrybanduration in minute

get plugin