Weird Russian Counter-Strike links in player namesSolved
Do they get free skins or something by advertising those russian websites in their nickname?

At first I always ignored it but it seems like there is constantly some people online with all those russian counter strike trade links and it's getting a bit annoying. Also I think alot of those sites are sketchy so i'm thinking of maybe not allowing it anymore. Some servers already dont allow this as I can see so i'm wondering what their reasoning behind this might be.
I ban ip and player if they use advertising in their names, They cant complain as its in the "rules" page they have to agree to before they join the server.
I have sorted that with my plugin that just OnConnected detects if player's name contains any domain (.com, .ru, .money) and replace these characters with ".spam". Of course you must create a list of these domains

I'm happy with this solution :)
In response to Ultra ():
I have sorted that with my plugin that just OnConnected detects if player's name contains any domain...
Which plugin that is?
I have created my own. I can provide some code samples later when I'm home.
In response to Ultra ():
I have created my own. I can provide some code samples later when I'm home.
Why dont you submit the plugin to this site for approval ? it would help a lot of server owners.
In response to pookins ():
Why dont you submit the plugin to this site for approval ? it would help a lot of server owners.
Actually I can do if it's required. I just added the code to my custom AdminPlugin that manages many other features. So yes, I will.

Anyway I found the code if anybody wants to imlement before plugin hits uMod:

Merged post

 private void OnUserConnected(IPlayer player) { RenameSpamPlayers(player); } private void RenameSpamPlayers(IPlayer player) { List spamKeywords = new List() { ".money", ".com", ".pl", ".gg", ".ru", ".net" }; string newName = player.Name; foreach (string spamKeyword in spamKeywords) { if (player.Name.ToLower().Contains(spamKeyword.ToLower())) { newName = newName.ToLower().Replace(spamKeyword.ToLower(), "crap"); } } }​ if (player.Name.ToLower() != newName.ToLower()) { player.Rename(newName); }
Honestly i dont care what they have in their names or what other servers they came from or play on.
Makes no diff to me at all.
In response to SlyStone ():
Honestly i dont care what they have in their names or what other servers they came from or play on.<...
Well first of this is Rust, not counter Stikr
Second they are using your server to advertise
Third is those .ru sites are usually phishing/virusses

so I think it's logical that alot of servers dont allow it
Done. This plugin is awaiting approval!
Locked automatically