Raised This Month: $12 Target: $400
 3% 

Ban retry user in some minutes


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Server Management        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 - 7790 views - 4.5 KB)
C@mp3R is offline
XeNo
Member
Join Date: Aug 2005
Old 01-06-2006 , 11:03  
Reply With Quote #2

Some people retry for other reasons...Though, I do understand the purpose of it.
XeNo is offline
C@mp3R
Junior Member
Join Date: Jan 2006
Old 01-06-2006 , 12:23  
Reply With Quote #3

Quote:
Originally Posted by XeNo
Some people retry for other reasons...Though, I do understand the purpose of it.
1/ If someone died in very early at a round, and then he use retry command he can log in as a new player, pick up his droped weapon and continue to play in this round.

2/ If someone die and his money lest than $800, he use retry command and get the default start money , ussually $800.

3/ And if someone's frag is too bad like kill/death ~ 1/10 , he uses retry command to relogin and his frag becomes better

AND if you dont allow this kind of players who keep retrying in game, use this plugin!!!
C@mp3R is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-06-2006 , 12:25  
Reply With Quote #4

Does it count how many times they use it in a set amount of time?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
C@mp3R
Junior Member
Join Date: Jan 2006
Old 01-06-2006 , 12:29  
Reply With Quote #5

Quote:
Originally Posted by SweatyBanana
Does it count how many times they use it in a set amount of time?
No, it just ban players in a given time in minute everytime they RETRY or RECONNECT for any reason and it is the purpose of this small plugin!
C@mp3R is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-06-2006 , 12:35  
Reply With Quote #6

Add a cvar to make it so they have to retry 2 times or more in 10 minutes to get banned.
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 01-06-2006 , 21:54  
Reply With Quote #7

I believe this has already been ported also. But nice work
__________________
bmann_420 is offline
C@mp3R
Junior Member
Join Date: Jan 2006
Old 01-08-2006 , 02:44  
Reply With Quote #8

Quote:
Originally Posted by SweatyBanana
Add a cvar to make it so they have to retry 2 times or more in 10 minutes to get banned.
Good idea, i will update soon
C@mp3R is offline
Nalled
Junior Member
Join Date: Mar 2004
Old 01-09-2006 , 10:12  
Reply With Quote #9

Does it detect reconnect to ?
Nalled is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 01-09-2006 , 11:12  
Reply With Quote #10

Can you clean up your code and not have it in endless lines?
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode