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

[REQ] Leave System SQL


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 02-14-2012 , 13:45   [REQ] Leave System SQL
Reply With Quote #1

I need a plugin that when the player disconnects (and not back in five minutes), it will take a 10 minute ban, if it is disconnected two times, it takes a 1 hour ban, and if he disconnected 3 times, it takes ban of 24 hours. With SQL System.

It is reset on a 24 hour period.

ty
__________________
kramesa is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-14-2012 , 14:38   Re: [REQ] Leave System SQL
Reply With Quote #2

Try this. You will need to edit your SQL information in the top of the plugin.
Attached Files
File Type: sma Get Plugin or Get Source (disconnect_ban.sma - 638 views - 7.4 KB)
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 02-14-2012, 14:47
kramesa
This message has been deleted by kramesa.
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 02-14-2012 , 15:20   Re: [REQ] Leave System SQL
Reply With Quote #3

Ok, thanks. But, there a version for advanced bans? Example:

If user disconnected 1 time:

amx_addban name steamid 10 "your diconnected 1 times"

If user disconnected 2 times:

amx_addban name steamid 60 "your diconnected 2 times"

And If user disconnected 3 times:

amx_addban name steamid 600 "your diconnected 3 times"
__________________

Last edited by kramesa; 02-14-2012 at 15:20.
kramesa is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 02-14-2012 , 16:32   Re: [REQ] Leave System SQL
Reply With Quote #4

The problem with that is Advanced Bans waits for the users to be in the server before it kicks them out.
This would result in them disconnecting, and the disconnect plugin would think they left again.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Old 04-08-2012, 15:22
kramesa
This message has been deleted by kramesa.
kramesa
Veteran Member
Join Date: Feb 2011
Location: Brazil
Old 05-21-2012 , 14:26   Re: [REQ] Leave System SQL
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
The problem with that is Advanced Bans waits for the users to be in the server before it kicks them out.
This would result in them disconnecting, and the disconnect plugin would think they left again.
But if possible check is user already banned?
__________________
kramesa is offline
Jamesas007
Member
Join Date: Nov 2012
Old 07-13-2013 , 05:47   Re: [REQ] Leave System SQL
Reply With Quote #6

hi can add CVARS in this plugin ? thanks ;) . disconect_ban 1 - On 0 - Of ?
Jamesas007 is offline
Old 07-23-2013, 03:07
Jamesas007
This message has been deleted by YamiKaitou. Reason: wait 14 days before you bump
vcxa
Junior Member
Join Date: May 2015
Old 06-17-2015 , 06:32   Re: [REQ] Leave System SQL
Reply With Quote #7

is it work with amxbans ? I put this plugin in my server but is not working... i use amxbans
vcxa is offline
Reply



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 05:14.


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