Raised This Month: $32 Target: $400
 8% 

[ANY] Smart Link Remover


Post New Thread Reply   
 
Thread Tools Display Modes
BloodJkeee
Member
Join Date: Aug 2015
Old 04-07-2017 , 13:25   Re: [ANY] Smart Link Remover
Reply With Quote #21

Quote:
Originally Posted by Totenfluch View Post
Hey0,

This is a small Plugin that removes all links from a Players name

Install
- Drag 'n' drop the .smx


And you're done.

Github: https://github.com/Totenfluch/SmartLinkRemover

Note: I released this to get input from other developers on how to remove advertisements in names completly and smart.
If you have any ideas how to improve this further let me know!

Download count ~156
Thanks to AgentWesker for the code improvements!
I have a very big gripe to this plugin. Why do people not admit to the server if it has a link in a nickname? after all, the goal of the plugin to remove the link if it is present in a nickname, but not to block entry to the server with a link.


Last edited by BloodJkeee; 04-07-2017 at 13:31.
BloodJkeee is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-07-2017 , 13:45   Re: [ANY] Smart Link Remover
Reply With Quote #22

This shouldn't be kicking players. are you running another plugin that monitors player's names?
Mitchell is offline
BloodJkeee
Member
Join Date: Aug 2015
Old 04-07-2017 , 13:57   Re: [ANY] Smart Link Remover
Reply With Quote #23

Quote:
Originally Posted by Mitchell View Post
This shouldn't be kicking players. are you running another plugin that monitors player's names?
Yes, actually, I found the problem. Never install this shit: smac_client.smx
I apologize for the anxiety and remove my top 2 messages.

Last edited by BloodJkeee; 04-07-2017 at 13:58.
BloodJkeee is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-07-2017 , 14:24   Re: [ANY] Smart Link Remover
Reply With Quote #24

Next time just edit your post instead of posting new replies three times in a row.
Mitchell is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 04-07-2017 , 14:52   Re: [ANY] Smart Link Remover
Reply With Quote #25

Quote:
Originally Posted by altair540 View Post
Plugin version 1.5.3
Error log
Fixes in newest version by @AgentWesker
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 04-07-2017 , 22:03   Re: [ANY] Smart Link Remover
Reply With Quote #26

It would be possible to add immunity flags for selected players.

Ex:
Whoever has the flag "b" is immune and can put link in the nick.
paulo_crash is offline
altair540
Member
Join Date: Dec 2012
Old 04-07-2017 , 22:13   Re: [ANY] Smart Link Remover
Reply With Quote #27

If there is a link in the nickname does not allow the server
Quote:
Console:
Disconnect: Malformed player name (control chars, zero length, ...)
Sorry for my bad English.
altair540 is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 04-07-2017 , 23:07   Re: [ANY] Smart Link Remover
Reply With Quote #28

Quote:
Originally Posted by paulo_crash View Post
It would be possible to add immunity flags for selected players.

Ex:
Whoever has the flag "b" is immune and can put link in the nick.
Yes use the latest version of the plugin and sourcemod overrides with "sm_smartlinkremover" to set it to any flag you like.

Quote:
Originally Posted by altair540 View Post
If there is a link in the nickname does not allow the server

Sorry for my bad English.
That's not this plugin doing that, please check other plugins that might be checking player's names

Last edited by Mitchell; 04-07-2017 at 23:08.
Mitchell is offline
Agent Wesker
Senior Member
Join Date: Apr 2012
Old 04-11-2017 , 11:28   Re: [ANY] Smart Link Remover
Reply With Quote #29

Quote:
Originally Posted by Mitchell View Post
Yes use the latest version of the plugin and sourcemod overrides with "sm_smartlinkremover" to set it to any flag you like.
@Mitchell

I check the code and see CheckCommandAccess(client, "sm_smartlinkremover", ADMFLAG_ROOT, false)

but there is no such command, is this broken or I just don't understand how it works?

(I'm coding another plugin and need to check for VIPs)
Agent Wesker is offline
Totenfluch
AlliedModders Donor
Join Date: Jan 2012
Location: Germany
Old 04-11-2017 , 12:20   Re: [ANY] Smart Link Remover
Reply With Quote #30

Quote:
Originally Posted by Agent Wesker View Post
@Mitchell

I check the code and see CheckCommandAccess(client, "sm_smartlinkremover", ADMFLAG_ROOT, false)

but there is no such command, is this broken or I just don't understand how it works?

(I'm coding another plugin and need to check for VIPs)
https://sm.alliedmods.net/new-api/co...kCommandAccess

bool CheckCommandAccess(int client, const char[] command, int flags, bool override_only)
bool override_only
PHP Code:
If trueSourceMod will not attempt to find a matching command, and it will only use the default flags specifiedOtherwiseSourceMod will ignore the default flags if there is a matching admin command
that basically means that it doesn't matter what command in there it will just check the flag that is written there regardless of the command
__________________
Notable Projects:
Event Item Spawner | Scissors, Rock, Paper for ZephStore
tVip | Smart Link Remover
PLG & GGC - CS:GO Roleplay

and countless more...

I can make a helicopter shoot missles if you want me to...
Totenfluch is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:05.


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