Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Clan-Tag Kicker with a Whitelist?

    Hi,could anyone make a Clan-Tag Kicker with Whitelist? i noticed in BF3 alot of platoons are using the same clan tags when they come into your server you have set up they get all the perks of youe whitelists set up for your clan,would be nice to have a plugin that you could set up with a list of clan members on it so only members on the list could wear the tag in the servers,thank you

  2. #2
    The one and only Bassyboy
    Join Date
    Jul 2010
    Location
    Netherlands
    Posts
    3,273
    You can do this with Insane Limits:
    http://www.phogue.net/forumvb/showth...ll=1#post60265
    I won't do support via PM: if you need help, make a topic on the public forums.

  3. #3
    Quote Originally Posted by EBastard View Post
    You can do this with Insane Limits:
    http://www.phogue.net/forumvb/showth...ll=1#post60265
    What if you don't use the Insane limits plugin but only proconRulz, how is it possible to add some sort of a whitelist.
    Let me ask it this way, is it possible to use those two plugins at the same time so it would be easier to control?
    inthegame.nl, the site for your games & prices, we also provide Dutch coverage of game reviews & previews.. and.. much more!






  4. #4
    The one and only Bassyboy
    Join Date
    Jul 2010
    Location
    Netherlands
    Posts
    3,273
    I don't think it's possible with ProconRulz, because ProconRulz does not fetch the clantags from Battlelog.

    But I'm using ProconRulz & InsaneLimits at the same time without issues.
    Last edited by EBassie; 05-01-2013 at 16:11.
    I won't do support via PM: if you need help, make a topic on the public forums.

  5. #5
    Quote Originally Posted by EBastard View Post
    I don't think it's possible with ProconRulz, because ProconRulz does not fetch the clantags from Battlelog.

    But I'm using ProconRulz & InsaneLimits at the same time without issues.
    Thanks for the info EBasterd, much appreciated. Wil try that plugin.
    inthegame.nl, the site for your games & prices, we also provide Dutch coverage of game reviews & previews.. and.. much more!






  6. #6
    Quote Originally Posted by EBastard View Post
    You can do this with Insane Limits:
    http://www.phogue.net/forumvb/showth...ll=1#post60265
    Thanks, but i a little lost on hoe to set this up,from reading the posts some things was changed are the changes it the code in the post? also does this use a custom list? sorry not real good setting up these plugins,thank you

  7. #7
    The one and only Bassyboy
    Join Date
    Jul 2010
    Location
    Netherlands
    Posts
    3,273
    My InsaneLimits has 2 custom lists: admins & admin_tags

    The "admins" list contains all my members who may ware the clantag
    The "admin_tags" list contains the tags our clan uses: 11 & 11T

    So, when you have the lists, you can make this "ClanTag Protector" limit.

    Set Evaluation: OnSpawn
    First Check: Code
    Action: None

    Code:
    String adminList = "admins"; // Name of custom list for admin names
    String adminTags = "admin_tags"; // Name of custom list for admin tags
    
    String ClanWarning = player.Name + "_ClanNameWarning";
    String KickMessage = plugin.R("%p_n%, please change your ClanTag");
    String BanMessage = plugin.R("%p_n%, you have been banned for using a reserved ClanTag");
    int CWarning = 0;
    if (server.Data.issetInt(ClanWarning)) CWarning = server.Data.getInt(ClanWarning);
    
    
    if (!plugin.isInList(player.Name, adminList) && plugin.isInList(player.Tag, adminTags)) {
    	if (CWarning == 0) {
    		plugin.KickPlayerWithMessage(player.Name, KickMessage);
    	}
    	if (CWarning == 1) {
    		plugin.KickPlayerWithMessage(player.Name, KickMessage);
    	}
    	if (CWarning >= 2) {
    		plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, BanMessage);
    	}
    	server.Data.setInt(ClanWarning, CWarning+1);
    	return false;
    }
    I won't do support via PM: if you need help, make a topic on the public forums.

  8. #8
    Hi,thank you very much

  9. #9
    Quote Originally Posted by EBassie View Post
    My InsaneLimits has 2 custom lists: admins & admin_tags

    The "admins" list contains all my members who may ware the clantag
    The "admin_tags" list contains the tags our clan uses: 11 & 11T

    So, when you have the lists, you can make this "ClanTag Protector" limit.

    Set Evaluation: OnSpawn
    First Check: Code
    Action: None

    Code:
    String adminList = "admins"; // Name of custom list for admin names
    String adminTags = "admin_tags"; // Name of custom list for admin tags
    
    String ClanWarning = player.Name + "_ClanNameWarning";
    String KickMessage = plugin.R("%p_n%, please change your ClanTag");
    String BanMessage = plugin.R("%p_n%, you have been banned for using a reserved ClanTag");
    int CWarning = 0;
    if (server.Data.issetInt(ClanWarning)) CWarning = server.Data.getInt(ClanWarning);
    
    
    if (!plugin.isInList(player.Name, adminList) && plugin.isInList(player.Tag, adminTags)) {
    	if (CWarning == 0) {
    		plugin.KickPlayerWithMessage(player.Name, KickMessage);
    	}
    	if (CWarning == 1) {
    		plugin.KickPlayerWithMessage(player.Name, KickMessage);
    	}
    	if (CWarning >= 2) {
    		plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, BanMessage);
    	}
    	server.Data.setInt(ClanWarning, CWarning+1);
    	return false;
    }
    If I just wanted to ban a clans tags would this work?
    I made a custom list named "BannedClanTags" and added the tags to the "list_1_data" that I don't want on the server.

    Code:
    String adminList = "admins"; // Name of custom list for admin names --------->>(could I remove this?)
    String adminTags = "BannedClanTags"; // Name of custom list for admin tags
    
    String ClanWarning = player.Name + "_ClanNameWarning";
    String KickMessage = plugin.R("%p_n%, Your Clan is not welcome in our servers");
    String BanMessage = plugin.R("%p_n%, Your clan is banned from our servers");
    int CWarning = 0;
    if (server.Data.issetInt(ClanWarning)) CWarning = server.Data.getInt(ClanWarning);
    
    
    if (!plugin.isInList(player.Name, adminList) && plugin.isInList(player.Tag, adminTags)) {
    	if (CWarning == 0) {
    		plugin.KickPlayerWithMessage(player.Name, KickMessage);
    	}
    	if (CWarning == 1) {
    		plugin.KickPlayerWithMessage(player.Name, KickMessage);
    	}
    	if (CWarning >= 2) {
    		plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, BanMessage);
    	}
    	server.Data.setInt(ClanWarning, CWarning+0);
    	return false;
    }

  10. #10
    Senior Member
    Join Date
    Apr 2012
    Location
    Manhester UK
    Posts
    169
    keep the names the same, just make the admin_list contain the tags you want to ban.

    this is the code i use, i have removed a few bits

    Code:
    String adminList = "admins"; // Name of custom list for admin names
    String adminTags = "admin_tags"; // Name of custom list for admin tags
    
    String ClanWarning = player.Name + "_ClanNameWarning";
    String KickMessage = plugin.R("%p_n%, Stay Away");
    String BanMessage = plugin.R("%p_n%, you have been banned Have a Nice Day");
    int CWarning = 0;
    if (server.Data.issetInt(ClanWarning)) CWarning = server.Data.getInt(ClanWarning);
    
    
    if (!plugin.isInList(player.Name, adminList) && plugin.isInList(player.Tag, adminTags)) {
    	if (CWarning >= 0) {
    		plugin.EABanPlayerWithMessage(EABanType.EA_GUID, EABanDuration.Permanent, player.Name, 0, BanMessage);
    	}
    	server.Data.setInt(ClanWarning, CWarning+1);
    	return false;
    }

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •