View Single Post
Plugin Info:     Modification:          Category:          Approver:   EKS (166)
C@mp3R
Junior Member
Join Date: Jan 2006
Old 01-06-2006 , 03:13   Ban retry user in some minutes
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (banretryplayer.sma - 7796 views - 4.5 KB)
C@mp3R is offline