Raised This Month: $ Target: $400
 0% 

GAG


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 04-23-2006 , 14:32   GAG
Reply With Quote #1

GAG
A player get 3 warning for swearing before he get gagged
then he is gagged for 7 days(you can edit that with a cvar)

All bad words are saved in the badwords.ini file in the configs dir

Commands:
amx_reloadwords - reload the badwords.ini file
amx_gag <nick> - gag a player
amg_ungag <nick> - ungag a player

Cvars:
sv_gagtime - the time someone is gagged (default: 604800)

gag.txt is the language file put that in the data/lang dir
gag.sma is the source

If you use MYSQL as storage method it will automaticaly install the table in your database..

AMXX >= 1.75 required

Translations needed: http://forums.alliedmods.net/showthread.php?t=26800

Thanks to Chaosphere (not registered here)
Attached Files
File Type: sma Get Plugin or Get Source (gag.sma - 979 views - 15.8 KB)
File Type: txt gag.txt (2.3 KB, 277 views)
__________________
All you need to change the world is one good lie and a river of blood

Last edited by P34nut; 07-01-2006 at 11:03.
P34nut is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-23-2006 , 16:53  
Reply With Quote #2

seems like a waste of MySQL. Why not just use nvault or a file? I mean I would use this plugin, but I'm not going to go rent a MySQL server just to use this plugin.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
P34nut
AMX Mod X Beta Tester
Join Date: Feb 2006
Location: Netherlands
Old 04-23-2006 , 16:57  
Reply With Quote #3

ow ok im going to look for using nVault or a file
thanks
__________________
All you need to change the world is one good lie and a river of blood
P34nut is offline
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 04-23-2006 , 18:08  
Reply With Quote #4

Quote:
Originally Posted by GHW_Chronic
seems like a waste of MySQL. Why not just use nvault or a file? I mean I would use this plugin, but I'm not going to go rent a MySQL server just to use this plugin.
Why don't you just use SQLite?

Easy as hell!
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-23-2006 , 18:12  
Reply With Quote #5

because adding a .amxx file is EASIER. and what if I do not have a computer that is on 24/7?
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 04-24-2006 , 02:37  
Reply With Quote #6

* cough *

SQLite is perfect for servers that aren't on 24/7. Its just a module, no seperate SQL server.
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 04-24-2006 , 03:08  
Reply With Quote #7

why do I want to sacrifice my time and system resources and time to think about installing a new module just to use this plugin? I'm just trying to stress the point that it is impractical to use MySQL for this plugin.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
uTg | bigpapajiggs
Senior Member
Join Date: Sep 2005
Location: Bellingham, WA
Old 04-24-2006 , 05:03  
Reply With Quote #8

Sounds good, I would use it, but you should make the time length of gag a CVAR so people don't have to edit the script.
__________________
What's my confidence level? I do crossword puzzles with a pen.
uTg | bigpapajiggs is offline
Send a message via AIM to uTg | bigpapajiggs Send a message via MSN to uTg | bigpapajiggs Send a message via Yahoo to uTg | bigpapajiggs
MaximusBrood
Veteran Member
Join Date: Sep 2005
Location: The Netherlands
Old 04-24-2006 , 08:07  
Reply With Quote #9

Quote:
Originally Posted by GHW_Chronic
why do I want to sacrifice my time and system resources and time to think about installing a new module just to use this plugin?
Let me turn it around for you. Why should the author of this plugin want to sacrifice his time to think about implementing a vault?

Quote:
Originally Posted by GHW_Chronic
I'm just trying to stress the point that it is impractical to use MySQL for this plugin.
I'm and trying to stress the point that it is very easy and practical to implement SQLite (not MySQL, which is totally different)
It can be done in only 5 minutes using this tutorial.
__________________
Released six formerly private plugins. Not active here since ages.
MaximusBrood is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 04-24-2006 , 09:29  
Reply With Quote #10

I have to agree with Chronic. If you don't have root access to the server you're pretty much unable to use this (for most people that rent 1 or 2 servers).

SQL in general is a huge overkill for this. While it does allow you to communicate across servers, this plugin is way too minor to offer only SQL support.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
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 21:41.


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