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

Request a Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
faKe91
Member
Join Date: Jan 2012
Location: Moldova, Chisinau
Old 03-24-2013 , 15:19   Request a Plugin
Reply With Quote #1

Hello to everyone. I got an ideea and hope you like it. The plugin is for mix servers and it's basic function is to ban those who disconnects from the server. Server give 5 minute to those player to reconnect. In chat will appear some like this
Player <nickname> has left the game and must return within 4:00 to avoid match drop violation.
Remaining players must continue the match until the match is free to drop.

If the player reconnect to the server in chat will appear some like this:
Drop violation for player <nickname> has been canceled.

But if he didn't reconnect to the server, he will take a ban for 1 day. In chat will appear the message:
Drop violation for player <nickname> has been reported. Banned for 1 day.

Thank you! And sorry for my english.

Last edited by faKe91; 03-25-2013 at 07:06.
faKe91 is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 03-24-2013 , 15:22   Re: Request a Plugin
Reply With Quote #2

why will you want to do that to your server?
sami_spt is offline
faKe91
Member
Join Date: Jan 2012
Location: Moldova, Chisinau
Old 03-24-2013 , 15:31   Re: Request a Plugin
Reply With Quote #3

If you started to play a match, you must play till the end. The plugin will be for those players who don't like to accept losing, and leave the server during a match.

Last edited by faKe91; 03-24-2013 at 15:33.
faKe91 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 03-24-2013 , 17:30   Re: Request a Plugin
Reply With Quote #4

If server is yours, probably you play in match so you can ban who do that.
And match server shouldnt have amxmodx it just need cfg file to restart round and maps...
__________________

Last edited by Jhob94; 03-24-2013 at 17:30. Reason: fix word
Jhob94 is offline
faKe91
Member
Join Date: Jan 2012
Location: Moldova, Chisinau
Old 03-25-2013 , 06:07   Re: Request a Plugin
Reply With Quote #5

I use automix plugin on my server.
faKe91 is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 03-25-2013 , 12:40   Re: Request a Plugin
Reply With Quote #6

There are a few plugins that will do this. Search this section of the forums.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
faKe91
Member
Join Date: Jan 2012
Location: Moldova, Chisinau
Old 05-14-2013 , 05:44   Re: Request a Plugin
Reply With Quote #7

public client_disconnect(id) {

if ( g_IsStarted )
{
new szReason[64], szUserIP[23], szNamePlayer[50];
get_pcvar_string(cvar_pReason, szReason, charsmax(szReason));
get_user_name(id, szNamePlayer, 49);
get_user_ip(id, szUserIP, 22,1);
client_print(0, print_chat, "%s %L", PREFIX, LANG_PLAYER, "LEAVE_BAN", szNamePlayer)
server_cmd("amx_addban ^"%s^" ^"%d^" ^"%s^"", szUserIP, get_pcvar_num(cvar_pBanTime), szReason)
}

return PLUGIN_HANDLED
}

Hello I'll make a function that ban player if he leave the PUG. It works, but I want that the leaver take the ban, for example after 2 minutes, and if he reconnect to the server within 2 minutes, he will don't take the ban. Can someone help me? Thanks.
faKe91 is offline
joshknifer
Veteran Member
Join Date: Jun 2011
Location: Denver, CO
Old 05-14-2013 , 11:58   Re: Request a Plugin
Reply With Quote #8

Quote:
Originally Posted by joshknifer View Post
There are a few plugins that will do this. Search this section of the forums.
__________________
joshknifer is offline
Send a message via Skype™ to joshknifer
4ever16
Veteran Member
Join Date: Apr 2015
Old 11-18-2015 , 02:02   Re: Request a Plugin
Reply With Quote #9

Quote:
Originally Posted by joshknifer View Post
There are a few plugins that will do this. Search this section of the forums.
Which ones?
4ever16 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 09:04.


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