Raised This Month: $51 Target: $400
 12% 

[Any] Target Name Changers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
ddhoward
Veteran Member
Join Date: May 2012
Location: California
Plugin ID:
3729
Plugin Version:
18.0114.0
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    4 
    Plugin Description:
    Allows easier targeting of players who rapidly change their names, and gives information on them.
    Old 07-05-2013 , 06:44   [Any] Target Name Changers
    Reply With Quote #1

    This plugin has two simple functions:
    1. Displays Information:
      Whenever a client changes his/her name, other clients are given certain information through the console. This can help in targeting hackers who rapidly change their names to mimic other users. Information includes:
      • The old name
      • The new name
      • The user's Steam ID
      • The user's userID, which can be used to target the player through commands (sm_kick #213, for example)
      • The user's IP address

      Clients who have access to the override "sm_namechangeinfo_seeip" will see all the information, including the IP address. If the override does not exist, the BAN flag is used instead.

      If a client does not have access to that override (or the BAN flag), he will be given all information other than the IP address. The information can be blocked to clients entirely through the override sm_namechangeinfo.
    2. Facilitates Targeting:
      The plugin generates two new targeting filters, similar to @all, @alive, @humans, @me, etc. These can be used with almost any Sourcemod command that supports targeting.
      • @namechanger - Targets the last player who changed his/her name. If the player who occupies this label leaves the game, this filter will not target anyone until someone else changes their name.
      • @namechangers - Targets players who have changed their names X times, with each rename being no more than Y seconds apart, and the most recent rename being within the past Y seconds. (X = sm_namechangeinfo_count, Y = sm_namechangeinfo_time)
      • @recentnamechangers - Targets players who have changed their names within the past X seconds, where X is defined by the cvar sm_namechangeinfo_time

      FOR EXAMPLE:
      • sm_kick @namechanger "don't hack on my server" - Kicks the player who last changed his name with the reason "don't hack on my server"
      • sm_slay @recentnamechangers - slays players who've changed names recently
      • sm_slay @namechangers - slays players who've been changing their names a lot very recently
      • sm_ban @namechanger 0 "hacker douchebag" - Permabans the player who last changed his name.
        etc, etc, etc

      Please note that plugins that rename players (such as Free2BeRenamed, SteamRep Checker, the stock sm_rename command, etc.) will also trigger the functions of this plugin. The plugin is unable to distinguish between actual Steam name changes, hacked name changes, or name changes triggered by another plugin. Please keep this in mind when using the targeting filters. You don't want to accidentally punish the wrong user.


    CVARS
    • sm_namechangeinfo_update 2 - Controls Updater compatibility
      • 0 : Completely disables Updater integration
      • 1 : Updater will notify you in Updater.log if an update becomes available.
      • 2 : Updater will automatically download any updates. They will be installed on the next server start or map change.
      • 3 : Updater will automatically download and immediately install any updates. This WILL cause the plugin to restart, meaning that all targeting filters will be "reset" as if no one has yet changed their name.

    • sm_namechangeinfo_destination 1 : (0/1/2/3) Where should the information be printed to?
      • 0 : Nowhere, the information is only used in the target filters.
      • 1 : Print the information to players' consoles.
      • 2 : Print the information to players' chat.
      • 3 : Print the information to both the console and the chat.
      Please note that on some games/mods, that which is sent to the chat also shows up in the console. On these games, setting this CVAR to 2 makes it seem like it was set to 3, and actually setting it to 3 causes the information to show up twice in the console.

    • sm_namechangeinfo_time 60.0 : (Any positive value) How many seconds since a player's last name change is he considered a name changer to be included in @recentnamechangers?

    • sm_namechangeinfo_count 3 : (Any positive value) How many times must a player change his name (with each time being no more than sm_namechangeinfo_time seconds apart) to be included in @namechangers ?



    The plugin requires the updater.inc and ddhoward_updater.inc includes. As such, it does not compile here on the forums. You can either download and install the attached SMX, or download the SP and compile it yourself.




    Downloads:

    If you like what you see here, please consider donating~
    __________________

    Last edited by ddhoward; 01-15-2018 at 02:35.
    ddhoward is offline
     



    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 07:06.


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