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

[TF2 (Possibly all)] Question about Server Favorites


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
MCCLELI
New Member
Join Date: Sep 2020
Old 09-28-2020 , 17:28   [TF2 (Possibly all)] Question about Server Favorites
Reply With Quote #1

Hello. I run a TF2 server and it's been gaining traction recently. I'm curious to see how many people have it in there favorites list. Is there a way to find that out?

Last edited by MCCLELI; 09-28-2020 at 17:29.
MCCLELI is offline
nosoop
Veteran Member
Join Date: Aug 2014
Old 09-28-2020 , 19:49   Re: [TF2 (Possibly all)] Question about Server Favorites
Reply With Quote #2

You can (at least, last I checked) query a connected player's cl_connectmethod convar to see if it reports the serverbrowser_favorites string, which indicates that they connected via the favorites tab in the server browser. There's no way to query an arbitrary Steam ID to see if they've added a server to their favorites.

Both the Player Analytics and Favorite Connections plugin (and probably others) can report that a player connected through via favorites; it's also not too difficult to implement it yourself.
__________________
I do TF2, TF2 servers, and TF2 plugins.
I don't do DMs over Discord -- PM me on the forums regarding inquiries.
AlliedModders Releases / Github / TF2 Server / Donate (BTC / BCH / coffee)
nosoop is offline
Reply



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 21:33.


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