Post: Clan tags issue
07-04-2016, 02:22 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hello NGU. I have been working on a functioning and easily configurable white and black list to filter out unwanted players automatically. I have found a big problem ... clan tags. I am hoping someone with more GSC know how has an answer to this.
The following code is a segment of the white list config. When the player "IlostmyVCR1" joins the game with out a clan tag and the white list is enabled, he is allowed in. If the same player leaves the game, adds a clan tag, and rejoins. He will get auto-kicked or banned from the game as if he is not on the white list.
    
if (player.name == "IlostmyVCR1")
{
player.whitelistcheck = 1;
}


I'm wondering if there is a way add something to the filter to allow for ANY clan tags to be not considered when players compare their names to that on the white and black lists.
Thanks for all your help NGU community.
(adsbygoogle = window.adsbygoogle || []).push({});
07-05-2016, 12:42 AM #2
HiddenHour
I defeated!
Originally posted by Nothingbutbread View Post
Hello NGU. I have been working on a functioning and easily configurable white and black list to filter out unwanted players automatically. I have found a big problem ... clan tags. I am hoping someone with more GSC know how has an answer to this.
The following code is a segment of the white list config. When the player "IlostmyVCR1" joins the game with out a clan tag and the white list is enabled, he is allowed in. If the same player leaves the game, adds a clan tag, and rejoins. He will get auto-kicked or banned from the game as if he is not on the white list.
    
if (player.name == "IlostmyVCR1")
{
player.whitelistcheck = 1;
}


I'm wondering if there is a way add something to the filter to allow for ANY clan tags to be not considered when players compare their names to that on the white and black lists.
Thanks for all your help NGU community.


    hasName(name)
{
if(isSubStr(self.name, name))
return true;
else
return false;
}


    if (player hasName("name here"))
{
player.whitelistcheck = 1;
}

This will look for just their base name. If someone is "[3arc]named" then the function will only look for "named".

The following user thanked HiddenHour for this useful post:

Nothingbutbread

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo