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

Spam Kick v1.4


Post New Thread Reply   
 
Thread Tools Display Modes
sovik
BANNED
Join Date: Jul 2014
Location: I'm live in India
Old 07-13-2014 , 08:12   Re: Spam Kick v1.4
Reply With Quote #101

Quote:
Originally Posted by schmurgel1983 View Post
change lang file coding from UTF-8 to UTF-8 without BOM
I'm new admin in my server, I installed some plugins ans some plugins are working and some plugins are not working some times. please tell me step by step.

1. I copied SpamKick.amxx and pasted to C:\Program Files (x86)\Counter-Strike 1.6\cstrike\addons\amxmodx\plugins

2. I copied plugin name (SpamKick.amxx) and pasted to C:\Program Files (x86)\Counter-Strike 1.6\cstrike\addons\amxmodx\configs\plugins.in i

after that what I will do ??

where I will paste spam.txt & spam.ini ??

and how to configure spam.ini ??

http
www
:
.org
.com
.tl
;

and how to configure spam.txt
[en]
SK_NOT_ALLOWED = Spam is not allowed here!
SK_SERVER_KICK = You are kicked, spam is not allowed here! Spam: %i/%i
SK_SERVER_BAN = You are banned for %i minute(s), spam is not allowed here! Spam: %i/%i
SK_LOG_KICK = kick %s - %s for %i/%i spamming.
SK_LOG_BAN = ban %s - %s, %i minute/s for %i/%i spamming.

Last edited by sovik; 07-13-2014 at 08:21.
sovik is offline
Send a message via Skype™ to sovik
wickedd
Veteran Member
Join Date: Nov 2009
Old 07-13-2014 , 10:48   Re: Spam Kick v1.4
Reply With Quote #102

Quote:
Originally Posted by sovik View Post

where I will paste spam.txt
amxmodx/data/lang

Quote:
Originally Posted by sovik View Post

where I will paste spam.ini
amxmodx/configs

Quote:
Originally Posted by sovik View Post
and how to configure spam.ini ??

http
www
:
.org
.com
.tl
;
You add words that you consider as spam here.
Quote:
Originally Posted by sovik View Post

and how to configure spam.txt
[en]
SK_NOT_ALLOWED = Spam is not allowed here!
SK_SERVER_KICK = You are kicked, spam is not allowed here! Spam: %i/%i
SK_SERVER_BAN = You are banned for %i minute(s), spam is not allowed here! Spam: %i/%i
SK_LOG_KICK = kick %s - %s for %i/%i spamming.
SK_LOG_BAN = ban %s - %s, %i minute/s for %i/%i spamming.
You don't have to, It translate the plugins messages to other languages.
__________________
Just buy the fucking game!!!!
I hate No-Steamers and lazy ass people.
wickedd is offline
sovik
BANNED
Join Date: Jul 2014
Location: I'm live in India
Old 07-20-2014 , 05:31   Re: Spam Kick v1.4
Reply With Quote #103

okie...

but I don't want to kick him or ban him, I want if anyone will spam in our server then he will be mute for 10-20 sec.
what I will do ?
sovik is offline
Send a message via Skype™ to sovik
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-29-2019 , 08:42   Re: Spam Kick v1.4
Reply With Quote #104

Ban by IP works fine. By ID does not work. I tried reworking the code. Has anybody already been working on this sort of thing successfully?
__________________
DJEarthQuake is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-29-2019 , 22:00   Re: Spam Kick v1.4
Reply With Quote #105

Quote:
Originally Posted by DJEarthQuake View Post
Ban by IP works fine. By ID does not work. I tried reworking the code. Has anybody already been working on this sort of thing successfully?
Code:
server_cmd("banid ^"%i.0^" ^"%s^";wait;writeid", get_pcvar_num(cvar_spam_ban), authid)


Code:
server_cmd("banid ^"%i.0^" %s;wait;writeid", get_pcvar_num(cvar_spam_ban), authid)
__________________
fysiks is offline
DJEarthQuake
Veteran Member
Join Date: Jan 2014
Location: Astral planes
Old 01-30-2019 , 12:05   Re: Spam Kick v1.4
Reply With Quote #106

Thank you for your response. After checking further every GoldSrc server I have cannot write bans even after erasing file and reviewing permissions.

Usage: banid <minutes> <uniqueid or #userid> { kick }

banid 15.0 STEAM_0:0:000001 kick
Reason: Kicked and banned
writeid
Writing banned.cfg.
DMC and CS 1.6 both generate a blank file.
OP4 leaves banid 0.0 VALVE_ID_PENDING

That many servers I am starting to overlap stuff I forgot about years ago just playing with this word filter. What a refresher! Does it work on Windows?
__________________
DJEarthQuake is offline
Reply


Thread Tools
Display Modes

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:26.


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