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

Voicecomm ban


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   devicenull (200)
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-20-2004 , 21:45   Voicecomm ban
Reply With Quote #1

This plugin is used to restric access to voicecomm to the users that abuse it, it saves ppl who are banned from using voicecomm in a text file. Witch is loaded
on mapchange.

Usage:
amx_banvoice <nick/userid>
amx_unbanvoice <nick/userid>

Modules required:
Engine

FAQ)
Q) Can i use this plugin on a lan server?
A) No.

Credits:
Ops in #AMXmodx @ Quakenet for alot of help ( + AssKicR & CheesyPeteza )
SirTiger for idea of plugin

Beware that this plugin has not be heavly tested, and can easly have bugs. If someone installs it on their server let me know if it works

Changelog
Quote:
1.0.4
- Fixed: Runetime error when clients disconnects sometimes
Attached Files
File Type: sma Get Plugin or Get Source (voicecomm_ban.sma - 7684 views - 6.7 KB)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.

Last edited by EKS; 06-26-2006 at 10:21.
EKS is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 12-20-2004 , 23:36  
Reply With Quote #2

Works flawlessly.

One thing you might want to add however is console messages for the admin doing the command, I can add those myself but I have a feeling that might be requested by others.

Works great.

I love how it keeps people banned from voice comm even if they reconnect, thats just ownage.
__________________

BigBaller is offline
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-21-2004 , 12:59  
Reply With Quote #3

Good to hear.
Quote:
1.0.1
- Added: Console echo to the admin console when he bans/unbans the client
- Added: If the server reaches max voicecomm bans it also warns in amxx logs
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
Soloist
Senior Member
Join Date: Jun 2004
Location: New York
Old 12-21-2004 , 16:23  
Reply With Quote #4

EKS can u maybe add the option to have it save in a mysql db rather than txt file.
Soloist is offline
Send a message via ICQ to Soloist Send a message via AIM to Soloist Send a message via MSN to Soloist Send a message via Yahoo to Soloist
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 12-21-2004 , 16:55  
Reply With Quote #5

I dont realy know sql, so i dont think il do it. But if someone wants to help, they can help
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
BigBaller
Veteran Member
Join Date: Mar 2004
Location: Everett, WA
Old 12-21-2004 , 16:56  
Reply With Quote #6

I think adding MySQL if that did happen should be a whole "seprate" plugin in a sense, and not added into the one currently posted.

That would be enabling another module, I could see how it could be used but I think having it in a file is good enough, even if you use a mysql based server for your things.
__________________

BigBaller is offline
werty
Member
Join Date: Jul 2004
Old 02-28-2005 , 10:47  
Reply With Quote #7

Oh man! This would be so GOLD if you would add automaticly comming vote ("voiceban werty? Yes/No") when ppl uses mic more then (cvar) minutes in (cvar) minutes.

edit. this certainly was a feature suggestion.
werty is offline
TooL
Senior Member
Join Date: May 2004
Location: NC
Old 02-28-2005 , 13:25  
Reply With Quote #8

Quote:
Originally Posted by BigBaller
I think adding MySQL if that did happen should be a whole "seprate" plugin in a sense, and not added into the one currently posted.

That would be enabling another module, I could see how it could be used but I think having it in a file is good enough, even if you use a mysql based server for your things.
Separate - yes, and for those of us that use SQL that would be a bonus
__________________
TooL is offline
Send a message via ICQ to TooL Send a message via AIM to TooL Send a message via MSN to TooL Send a message via Yahoo to TooL
Toxicity
Guest
Old 03-06-2005 , 14:41  
Reply With Quote #9

A sql version would be awesome, ability to integrate into amxbans = total exxtasy..
ktrain
Senior Member
Join Date: Jul 2004
Old 03-06-2005 , 14:52   error handling
Reply With Quote #10

when using this, i get a lot of runtime errors, player not found, was just hoping you could add soome sort of error checking...
__________________
ktrain is offline
Send a message via MSN to ktrain
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 10:05.


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