AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Don't say IPs (https://forums.alliedmods.net/showthread.php?t=9949)

Johnny got his gun 02-04-2005 17:21

Don't say IPs
 
1 Attachment(s)
Messages like "hey join my server 213.34.231.23" are automatically blocked... and another message is printed instead. :-P
Or, you can choose to just ban violators by setting cvar ip_banviolators to 1 and ip_banminutes to how many minutes the violator should be banned. 0 is permanent, 5 is default.

Requested by lord_inuyasha88.

Requires the REGEX module.

Twilight Suzuka 02-04-2005 19:07

Ah I see. REGEX was the way to do it.

f1del1ty.oXi 02-04-2005 19:47

This won't remove the IPs that are web addresses, correct? Yuo can just say "come to my server: v3xtra.no-ip.com" and it would be fine, and I wouldn't get banned. Which is why I said in the port request it wouldn't help stop them in some sense. But very good plugin JGHG

manorastroman 02-04-2005 20:22

well, you could just make sure they also dont say "come to my server"

Johnny got his gun 02-05-2005 06:12

Yes, true. It won't stop domain names, only IPs.
Should work if a port is specified though. Regex seems to find stuff wherever it is on a line.

Blocking domain names is probably.... very hard to do.

NiGHTFiRE 02-12-2005 16:07

I'm
 
I'm just wondering if this is possible. If you remake this plugin alittle and the results will be. Like if some one says You noob the printed will be I'm the most noob in the server!

knocker 03-11-2005 07:15

well back on amx there was a plugin made by sniperbeamer which was named advertising filter.

but they deleted it ...


it basically removed any advertising (ips, web adresses, irc etc) by reading a blacklist and a whitelist from two files. you could add any phrase to the blacklist which caused any message using these phrases would be removed and the guy trying to advertise his crap got a message not to do this. the whitelist was introduced to allow server admins to advertise their own clanpage etc.

i asked sniperbeamer some weeks after installing amxx (so some weeks after amxx appeared ;)) to rewrite it or port it to amxx but he never answered. i use my old amx plugin all the time but i really would love to have a new one since my old version is much too old with hardcoded phrases (without a blacklist file).

could you eventually think about adding this to your plugin?

Morpheus 03-11-2005 07:29

Could u make a version for amxban plz?

Cheers

Isobold 03-11-2005 07:59

lol
http://forums.alliedmods.net/showthread.php?t=1186

Morpheus 03-11-2005 09:39

Ehh maybe u didnt read my post..

PORT this plugin to work for amxban.. I have this working u know.. I just need the plugin to use amxban instead of banid.. since im not a scripter.. im asking for help!

knocker 03-11-2005 09:57

look at this line:

server_cmd("kick #%d ^"%s (%s %s)^";wait;banid ^"%d^" ^"%s^";wait;writeid", userid, REASON, banned, temp, minutes, authid)


and now just do what we have done at the other thread:

server_cmd("amx_ban %d %s %s", minutes, authid, REASON)


try if this is working, im in a hurry to get home by now ... couldnt much think about it or test it ;)

Morpheus 03-11-2005 13:59

Code:

server_cmd("amx_ban %d %s %s", minutes, authid, REASON)
Two times %s ??? Isnt it steamid x 2??

Confused.. :) But thx for helping out m8!

Cheers

Morpheus

twistedeuphoria 03-12-2005 13:54

The second %s is to add the reason to the command.

knocker 03-13-2005 03:49

thanks, didnt see his question yet.


johnny did you think about expanding your plugin into an universal anti advertising plugin? i am tired of all the kiddies who use my servers to advertise their pages and other crappy stuff :?

Vampire Hunter X 03-19-2005 22:20

THANK YOU i got tried of re-re-reenforceing the rule dont advertize your IPs in this server.

onfirenburnin420 04-10-2005 08:26

This is still a problem to me becasue nubs just put the ip as their NAME!! :evil:

Lord_Destros 06-27-2005 19:30

OH NO, MY WORST NIGHTMARE HAS COME TRUE, I KNEW IT WAS A MATTER OF TIME BEFORE I GET BANNED FOR THIS WHILE TRYING TO ADVERTISE, RECRUIT, AND ABUSE SERVER ADMINS!!!!!!!!!!!! :!: :!: :!: :!: :evil: :evil: :twisted: :twisted:

lmao, j/k :D, not a bad idea, i didn't know they made this kind of stuff. Just wondering, will admins get punished for this also, cause sometimes clan members like to go to different servers for different plugins (wc3), or if we tell other members to go to someiphere:27015 so we can scrim them.

Sounds good, just wondering the above.

V I R U S 09-24-2005 20:20

Will it ban ppl over ID or IP?
If over ID can anyone help me to remake it so that it will ban over ip ?

joka69 09-24-2005 20:29

It dosent ban ,when somone types a ip it says This server ROCKS :lol:

Kill3r24 06-07-2006 00:36

How do I get the REGEX module? I don't have it in my modules.ini

ô¿ô 06-07-2006 07:11

You should... it comes in the base package I believe.

Guenhwyvar 06-10-2006 11:13

Nice idea.

Is it possible to just replace the IP posted with one defined by cvar?

AllMassive 07-07-2006 07:44

Re: Don't say IPs
 
Could someone tweak that Plugin that also messages like:
Code:

ViSiT 63 . 36 . 23 . 149
are filtered ?

I'm talking about the Spaces between the numbers.

G u i l l e 11-05-2006 19:35

Re: Don't say IPs
 
how can i define more than one pattern???, example:

#define PATTERN "www.google.com" and other web or ips

thnks

hcxx 03-10-2007 07:04

Re: Don't say IPs
 
Nice plugin, but it dosent work when some1 advertise IP in say_team.. maybe some1 can fix this problem?:wink:

Ramono 03-10-2007 11:20

Re: Don't say IPs
 
1 Attachment(s)
Quote:

Originally Posted by hcxx (Post 450900)
Nice plugin, but it dosent work when some1 advertise IP in say_team.. maybe some1 can fix this problem?:wink:

Not tested.

Seems to work acording to hcxx

hcxx 03-10-2007 14:19

thx that seems to work:up:

Teniente 06-26-2007 12:37

Re: Don't say IPs
 
God are you, Very Good Idea !!!!:up:

NeWy 06-26-2007 17:09

Re: Don't say IPs
 
can I make the pattern like this:
"200, 190, 201, .com"

IneedHelp 09-28-2007 16:02

Re: Don't say IPs
 
can you do the plugin for the say_team ?

Like

say_team ip 200.***.***.** etc..

i have in my server this one but they say_team for the ip and didnt say nothing..

V I R U S 11-13-2007 06:29

Re: Don't say IPs
 
Can sumone rewrite it to ban over IP ?!

dangerix 11-13-2007 07:23

Re: Don't say IPs
 
Quote:

Originally Posted by V I R U S (Post 552348)
Can sumone rewrite it to ban over IP ?!

You don't like the default amx_banmenu?

V I R U S 11-13-2007 18:56

Re: Don't say IPs
 
I mean just to do this plugin to ban the idiots over IP.

Ich meine so damit der plugin alle idioten über IP bannt.

IneedHelp 11-13-2007 20:17

Re: Don't say IPs
 
I want it too..
Like virus say..

When a player is going to say ip bla bla..

example:

say 200.40.100.100

the ip doesn't appears and the player is banned permanently
and i like this ..for say_team too !

V I R U S 11-14-2007 01:13

Re: Don't say IPs
 
This is already there, just few modifications needed, but on lan, every third asshole come to you servers to advertise their own, and if it bans him with STEAM_ID:0 , the whole steam community is banned, and this makes me angry to unban them every hour.

IneedHelp 11-14-2007 16:55

Re: Don't say IPs
 
So..

This plugin will be more perfect if the player who say ip 200.40.100.100 bla bla..the message doesn't appear and the player is banned.. i see a server with this thing modified i can have the .amxx but the .sma no xD:down:

V I R U S 11-14-2007 23:43

Re: Don't say IPs
 
And how far is it modified there?!

niFe 04-24-2008 18:25

Re: Don't say IPs
 
Does this plugin block every ip spams?
if someone says it in a different way like..

"55.333.5..... COME JOIN!" or
"fun server 44.535...3.3" or

some other ways that we can't think of... does it ban all ip spam?
It's not limited to certain words.. right?

spiderbites 04-24-2008 23:04

Re: Don't say IPs
 
no. it strickly has to be xxxx.xxxx.xxxx.xxxx or else plugin would just ignore it.

AdaskoMX 04-25-2008 08:43

Re: Don't say IPs
 
3 Attachment(s)
I wrote plugin like that for my use a long time ago, but it wasn't replace all the message, just the fragment with ip / host, so if someone say

Join my server at 123.456.7.89
or
Join my server at myname.no-ip.com

it will be replaced with addresses from amx_adsip and amx_adsaddress, for ex.:

Join my server at 90.80.70.60
or
Join my server at this_server.com:27015

I didn't add ban feature because I don't really need it, but if someone want to see it, here you are


All times are GMT -4. The time now is 10:17.

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