View Single Post
Author Message
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
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, 2901 views)
File Type: sp Get Plugin or Get Source (Free2BeRenamed.sp - 1426 views - 4.5 KB)
__________________

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