Raised This Month: $32 Target: $400
 8% 

Admin Super Gag


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 11-28-2007 , 16:11   Admin Super Gag
Reply With Quote #1

Admin Super Gag v1.5


Description:

Blocks player communication with the server.
Gags player by ip (if player reconnects or mapchanges - he dosn't get ungaged).
Usages:

Gag:
amx_gag <name or #userid> <time (1m/60)> <flags abcd> [reason]
Flags: a = say, b = say_team, c = voice, d = namechange.
You can enter only <name or #userid> - time will be setted by amx_defaut_gag_time cvar & all flags will be given.

UnGag:
amx_ungag <name or #userid / ip or authid> <ip/authid=1> [reason]
If in ip/authid you write positive number - ungags by ip/authid (good when player isn't connected).


Cvars:

amx_defaut_gag_time "20" - gag time when entered just amx_gag <name or #userid>

amx_gag_by_authid "1" - if set to positive number gags are by authid (good for steam server, else i recommend you to use value "0")


Requirements:
  • Amx Mod X
  • Engine module
Attached Files
File Type: sma Get Plugin or Get Source (admin_super_gag.sma - 4765 views - 18.0 KB)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 12-30-2007 at 00:32.
MPNumB is offline
Send a message via Skype™ to MPNumB
hugz`
Veteran Member
Join Date: Jul 2007
Location: In a house
Old 11-28-2007 , 21:16   Re: Admin Gag Ip
Reply With Quote #2

Cool. Good job! Really useful.
__________________
hugz` is offline
Send a message via AIM to hugz`
adidas
BANNED
Join Date: Jan 2007
Old 11-29-2007 , 04:24   Re: Admin Gag Ip
Reply With Quote #3

hmm dynamic ip player
adidas is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 11-29-2007 , 05:25   Re: Admin Gag Ip
Reply With Quote #4

Quote:
Originally Posted by adidas View Post
hmm dynamic ip player
Yes, I know this problem, but most of ppl have normal ip addresses. Plus it takes time to quit cs, reconnect to internet & connect again. & then you gag player again. First I was thinking obout maping a gag by steam_id, but as I know there are more non-steam servers then steam servers (althow i can try to make a cvar to it).
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
Zenith77
Veteran Member
Join Date: Aug 2005
Old 11-29-2007 , 08:16   Re: Admin Gag Ip
Reply With Quote #5

Quote:
Originally Posted by MPNumB View Post
Yes, I know this problem, but most of ppl have normal ip addresses. Plus it takes time to quit cs, reconnect to internet & connect again. & then you gag player again. First I was thinking obout maping a gag by steam_id, but as I know there are more non-steam servers then steam servers (althow i can try to make a cvar to it).
Um, no. Don't know where you get your stats from. Unapproved for being too simple and not providing adequate features (this plugin has already been done anyways).
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 11-29-2007 , 12:58   Re: Admin Gag Ip
Reply With Quote #6

Quote:
Originally Posted by Zenith77 View Post
this plugin has already been done anyways.
When player disconnects/map changes gag still is active? oO Show me such a plugin & i'll agree with you thet ppl don't need such a plugin.

Quote:
Originally Posted by Zenith77 View Post
Unapproved for being too simple
Simple? oO I can post ljs-xm plugin (second post in thet forum), but I bet it won't be aproved for being too hard.

OFFTOPIC:
Just kidding. Anyway, it's your choise, but I realy wanna know wold ljs-xm be accepted.
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.

Last edited by MPNumB; 11-29-2007 at 13:07.
MPNumB is offline
Send a message via Skype™ to MPNumB
hoboman
Senior Member
Join Date: Jul 2007
Old 11-29-2007 , 17:27   Re: Admin Gag Ip
Reply With Quote #7

Quote:
Originally Posted by MPNumB View Post
When player disconnects/map changes gag still is active? oO Show me such a plugin & i'll agree with you thet ppl don't need such a plugin.
look in the code for amx_super...it uses amx_gag ( dunno if they recoded it though ), which gags ppl when they leave, although i never checked if the gag still lasts after a map change
__________________
hoboman is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 11-29-2007 , 19:18   Re: Admin Gag Ip
Reply With Quote #8

Quote:
Originally Posted by MPNumB View Post
When player disconnects/map changes gag still is active? oO Show me such a plugin & i'll agree with you thet ppl don't need such a plugin.


Simple? oO I can post ljs-xm plugin (second post in thet forum), but I bet it won't be aproved for being too hard.

OFFTOPIC:
Just kidding. Anyway, it's your choise, but I realy wanna know wold ljs-xm be accepted.
Add an option for steam ID (or in your case WON2 ID or w/e they call it now), then I'll reconsider (as long as I am sure there are still no other plugins that provide this).

And I didn't approve/unapprove the other plugin, so you can't really argue that way (unless of course you did show me a plugin that I approved, then it would be valid).
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred

Last edited by Zenith77; 11-29-2007 at 19:20.
Zenith77 is offline
MPNumB
Veteran Member
Join Date: Feb 2007
Location: Lithuania
Old 11-30-2007 , 05:41   Re: Admin Gag Ip
Reply With Quote #9

Quote:
Originally Posted by Zenith77 View Post
Add an option for steam ID (or in your case WON2 ID or w/e they call it now), then I'll reconsider (as long as I am sure there are still no other plugins that provide this).

And I didn't approve/unapprove the other plugin, so you can't really argue that way (unless of course you did show me a plugin that I approved, then it would be valid).
Ok. =)

No, I'm just wondering: wold it be aproved if i'll post it? (just interest). =)
__________________
Skill and no annoying bugs with fixed balance issues is my goal!
My approved plugins what don't show up in Approved List:
* Bomb/Death/CSS Radar
* HotVision
___
Need help? Please check this documentation first.
MPNumB is offline
Send a message via Skype™ to MPNumB
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 11-30-2007 , 16:05   Re: Admin Gag Ip
Reply With Quote #10

Quote:
Originally Posted by MPNumB View Post
Ok. =)

No, I'm just wondering: wold it be aproved if i'll post it? (just interest). =)
Reconsidered, THEN approved, it the approver believes that is the right choice.
__________________
M249-M4A1 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 00:20.


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