Poobah Posted April 3, 2017 Content Count: 418 Joined: 01/15/17 Status: Offline Share Posted April 3, 2017 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 Oops, what I meant was whether or not something similar to this, with regex, could be created, separately or within this plugin, that could do as mentioned. Or would that be too many plugins for one server (assuming they can't be merged)? I've only used a regex fiddle for simple e-mail validation so I'm not very knowledgeable on this topic. Link to comment
Zaraki Posted April 3, 2017 Content Count: 4960 Joined: 10/28/09 Status: Offline Share Posted April 3, 2017 My monthly ban quota is going to be low after this, many admins will be laid off, what about feeding my family!? We were so close to getting minimum wage Link to comment
Esoteric Posted April 4, 2017 Content Count: 171 Joined: 02/03/16 Status: Offline Share Posted April 4, 2017 My player complaints will be slashed in half now Link to comment
QuanVJuan Posted April 4, 2017 Content Count: 149 Joined: 01/29/16 Status: Offline Share Posted April 4, 2017 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 I read down on the forum, that he implemented a bit of code that allowed you to whitelist and blacklist different words anyways, so you could probs be able to do that. Link to comment
Black Rain Posted April 4, 2017 Content Count: 6759 Joined: 06/23/13 Status: Offline Share Posted April 4, 2017 (edited) Works but has limitations Works when there is only one (.) in a link and removes the link completely like Wesker said for example: csskins.net or cs.money does not work for these examples: http://csskins.net http://www.csskins.net Soooo in the end admins will still have to enforce protocol for no advertising since this plugin doesn't completely relive us from having to monitor advertisements. I read down on the forum, that he implemented a bit of code that allowed you to whitelist and blacklist different words anyways, so you could probs be able to do that. yeah, it's something we're going to have to wait for in the next plugin update. couldn't find a config for this plugin to access the ability to whitelist words. I'm still keeping this on ZE for the time being and hopefully he rolls out an update soon for whitelisting. If people really want this version on other servers then me or any AO will add it. @Kitti was the test dummy (YOU HAPPY NOW??? GAWD) 2 Edited April 4, 2017 by Black Rain Link to comment
Wesker Posted April 4, 2017 Content Count: 1534 Joined: 07/27/09 Status: Offline Share Posted April 4, 2017 Works but has limitations Works when there is only one (.) in a link and removes the link completely like Wesker said for example: csskins.net or cs.money does not work for these examples: http://csskins.net http://www.csskins.net I'll attempt to modify the regex tomorrow to accommodate those examples, don't cross this out just yet. Link to comment
Wesker Posted April 4, 2017 Content Count: 1534 Joined: 07/27/09 Status: Offline Share Posted April 4, 2017 Bump, I've updated the regex to the following: ((http:[/]{2}|https:[/]{2}|www[.])?[-a-zA-Z0-9]{2,}[.][a-zA-Z]{2,5}) Which shows matches below: Also updated the source code to check for multiple URL's in one name. https://drive.google.com/open?id=0B6zqC87-o7h-UWJ0U0FkV0tYXzQ 4 Link to comment
Black Rain Posted April 4, 2017 Content Count: 6759 Joined: 06/23/13 Status: Offline Share Posted April 4, 2017 Bump, I've updated the regex to the following: ((http:[/]{2}|https:[/]{2}|www[.])?[-a-zA-Z0-9]{2,}[.][a-zA-Z]{2,5}) Which shows matches below: Also updated the source code to check for multiple URL's in one name. https://drive.google.com/open?id=0B6zqC87-o7h-UWJ0U0FkV0tYXzQ added to ZE 3 Link to comment
Four Posted April 4, 2017 Content Count: 1403 Joined: 09/15/16 Status: Offline Share Posted April 4, 2017 added to ZE Could we add this to all of the servers? Link to comment
Black Rain Posted April 4, 2017 Content Count: 6759 Joined: 06/23/13 Status: Offline Share Posted April 4, 2017 Could we add this to all of the servers? It's still under testing phase and I haven't checked to see how it works atm. If it goes well then I intend to add it to every server 2 Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now