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. |
Ah I see. REGEX was the way to do it.
|
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
|
well, you could just make sure they also dont say "come to my server"
|
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. |
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!
|
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? |
Could u make a version for amxban plz?
Cheers |
|
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! |
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 ;) |
Code:
server_cmd("amx_ban %d %s %s", minutes, authid, REASON)Confused.. :) But thx for helping out m8! Cheers Morpheus |
The second %s is to add the reason to the command.
|
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 :? |
THANK YOU i got tried of re-re-reenforceing the rule dont advertize your IPs in this server.
|
This is still a problem to me becasue nubs just put the ip as their NAME!! :evil:
|
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. |
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 ? |
It dosent ban ,when somone types a ip it says This server ROCKS :lol:
|
How do I get the REGEX module? I don't have it in my modules.ini
|
You should... it comes in the base package I believe.
|
Nice idea.
Is it possible to just replace the IP posted with one defined by cvar? |
Re: Don't say IPs
Could someone tweak that Plugin that also messages like:
Code:
ViSiT 63 . 36 . 23 . 149I'm talking about the Spaces between the numbers. |
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 |
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:
|
Re: Don't say IPs
1 Attachment(s)
Quote:
Seems to work acording to hcxx |
thx that seems to work:up:
|
Re: Don't say IPs
God are you, Very Good Idea !!!!:up:
|
Re: Don't say IPs
can I make the pattern like this:
"200, 190, 201, .com" |
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.. |
Re: Don't say IPs
Can sumone rewrite it to ban over IP ?!
|
Re: Don't say IPs
Quote:
|
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. |
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 ! |
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.
|
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: |
Re: Don't say IPs
And how far is it modified there?!
|
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? |
Re: Don't say IPs
no. it strickly has to be xxxx.xxxx.xxxx.xxxx or else plugin would just ignore it.
|
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.