AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2] Free2BeRenamed (https://forums.alliedmods.net/showthread.php?t=160658)

DarthNinja 06-29-2011 02:10

[TF2] Free2BeRenamed
 
2 Attachment(s)
[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!

Sillium 06-29-2011 02:47

Re: [TF2] Free2BeRenamed
 
Good idea!
edit:
Code:

CreateConVar("sm_free2rename_version", PLUGIN_VERSION, "Free2BeMuted", FCVAR_DONTRECORD|FCVAR_SPONLY|FCVAR_REPLICATED|FCVAR_NOTIFY);
Shouldn't "Free2BeMuted" be "Free2BeRenamed"?

DarthNinja 06-29-2011 06:55

Re: [TF2] Free2BeRenamed
 
Quote:

Originally Posted by Sillium (Post 1499271)
Shouldn't "Free2BeMuted" be "Free2BeRenamed"?

Er, yes.
That was left from something else. It's fixed now. :3

napalm00 06-29-2011 06:59

Re: [TF2] Free2BeRenamed
 
Quote:

Originally Posted by DarthNinja (Post 1499378)
Er, yes.
That was left from something else. It's fixed now. :3

hmmm i smell a f2p player muter plugin coming.. :wink:

DarthNinja 06-29-2011 18:04

Re: [TF2] Free2BeRenamed
 
Quote:

Originally Posted by napalm00 (Post 1499384)
hmmm i smell a f2p player muter plugin coming.. :wink:

It's already done, with several other features as well, but I'm not sure I want to release it.

Swixel 06-29-2011 19:04

Re: [TF2] Free2BeRenamed
 
While I can see the merit in restricting their access, and possibly even muting them, I'm not sure I agree with tagging them with a scarlet letter.

B!PP 06-30-2011 14:10

Re: [TF2] Free2BeRenamed
 
Dude <3 thanks a lot

B!PP 07-02-2011 09:53

Re: [TF2] Free2BeRenamed
 
Mhh. Since the last update I don't have any suffix anymore. Does anyone has the same problem ?

DarthNinja 07-02-2011 18:28

Re: [TF2] Free2BeRenamed
 
Is the cvar set correctly, and is your name short enough?

Alucardbsm 07-03-2011 00:02

Re: [TF2] Free2BeRenamed
 
I've been using this but I seem to have a problem. I can manually change sm_free_prefix to |, but it always resets to [F2P] after a map change, even with the cvar change in server.cfg and autoexec.cfg. I even changed the sourcecode to be default | instead and it still gives me [F2P]. Any idea what's going on here?


All times are GMT -4. The time now is 11:59.

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