Jump to content

? servers

? players online

Advertisement / Link remover

Recommended Posts


  • Content Count:  1534
  • Joined:  07/27/09
  • Status:  Offline

This plugin removes any links contained in a players name, if their name is only a link it's changed to "NoName"

 

Example:

CSSKINS.NET xDWeon MordecaixD

Upon joining changed to:

xDWeon MordecaixD

 

https://forums.alliedmods.net/showthread.php?t=295634

 

Uses regex to match the link as follows:

Any letter or number (excluding spaces) + dot (.) + any suffix (length 2 to 5 characters)

([-a-zA-Z0-9]*(([.])([a-zA-Z]){2,5}))

  • Like 23
Edited by Wesker
Link to comment

  • Content Count:  3052
  • Joined:  08/30/09
  • Status:  Offline

Could this also be used to change names with racial slurs or anything not allowed?

 

I don't believe so. If I read it right, it searches for the .(period) in a name and uses that to know where it needs to cut off

  • Like 1
Link to comment

  • Content Count:  3401
  • Joined:  07/25/11
  • Status:  Offline

You'd be taking away a major source of racking up server bans for our admins if you implement this :bird:

 

My monthly ban quota is going to be low after this, many admins will be laid off, what about feeding my family!?

Link to comment

Reply to Thread

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...