Thread: move to trash
View Single Post
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 12-05-2019 , 05:11   Re: [L4D2] Block black-listed groups members join
Reply With Quote #3

A couple of things you need to keep on your mind regarding this:

The TF2 / related stuff that uses SteamWorks and/or SteamTools; you will count as being a member of the group as soon as you have been invited.

So if e.g. I invite you into a toxic group, and you simply click "ignore", you would still be counted as being a member, and be banned by a such plugin (using SteamWorks/SteamTools).


1. You can reliably check each individual user via the Steam API; but that option goes away if the profile you are checking isn't 100% public.

And of course, a caveat with this one would likewise be that you can only check one user at a time, meaning a massive amount of calls, which could cause complications somehow else (being blocked by the CDN that Steam uses, or blocked by Steam itself, ... et cetera).

2. You can use the memberslistxml (e.g. https://steamcommunity.com/groups/valve/memberslistxml?xml=1 ) of the relevant group, although this also become very unreliable, especially when you have multiple pages to parse. If you are counting the shown member count column vs. actual members you receive, you will see often end up on different numbers. The larger the group is, the worse it will be.


You can obviously get somewhat close to what you want, but as always, nothing gets better than the quality of the source, and if the source is (can be) providing bad quality occasionally, the results will be so too.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL is offline