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

[TF2] Free2BeRenamed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
2404
Plugin Version:
2.0.0
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    6 
    Plugin Description:
    Adds tags to player's names to distinguish between "Free2Play" and "Premium" players
    Old 06-29-2011 , 02:10   [TF2] Free2BeRenamed
    Reply With Quote #1

    [TF2] Free2BeRenamed
    Version 2.0.0


    If you are having an issue with SteamTools, post in the SteamTools section.

    Description:
    This plugin adds tags to player's names to distinguish between "Free2Play" and "Premium" players.
    The plugin will also re-add the tags if they change their name while in the server.

    Commands:
    • None

    Cvars:
    • sm_free2rename_version
      • Plugin Version
    • sm_free_prefix
      • The string to add to the front of free player's names.
      • Default: "[F2P]"
    • sm_free_suffix
      • The string to add to the end of free player's names.
      • Default: ""
    • sm_premium_prefix
      • The string to add to the front of premium player's names.
      • Default: ""
    • sm_premium_suffix
      • The string to add to the end of premium player's names.
      • Default: ""

    Install Instructions:

    1. Install SteamTools
    2. Place Free2BeRenamed.smx into your addons/sourcemod/plugins/ folder.

    Notes:
    • SteamTools only gets data on player's when they connect. For this reason, late-loading the extension will cause all players to read as premium until they reconnect.
    • Credits to asherkin's Free2BeKicked which this is based on.
    • Players who change their names while in-game will have the appropriate tags re-added 15 seconds later.
    • This plugin creates a config file located at cfg/sourcemod/Free2Rename.cfg


    Version History:
    • Pre-V2.0.0
      • Mucking about getting the rename event handling correct
    • V2.0.0
      • Initial release.
    Total downloads as prior to last edit: 9

    Plugin will not compile on the forums due to custom includes! Download the .smx or compile it yourself locally!
    Attached Files
    File Type: smx Free2BeRenamed.smx (4.6 KB, 2893 views)
    File Type: sp Get Plugin or Get Source (Free2BeRenamed.sp - 1420 views - 4.5 KB)
    __________________

    Last edited by DarthNinja; 03-02-2014 at 13:37.
    DarthNinja is offline
     


    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 18:28.


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