[ANY] Steam Group Restrict
2 Attachment(s)
A plugin that kicks players based on whether they are a member of a group.
Please take note of potential false detection problems of this plugin in the post below Installation
ConVars The plugin creates a plugin.steamgrouprestrict.cfg in the cfg/sourcemod folder when it's loaded where you can configure these variables. sm_steamgrouprestrict_groupids (default: "") List of group ids separated by a comma. Spaces between the value and the comma are trimmed off so feel free to use them for better visibility. The expected input is the result of Code:
groupID64 % 4294967296 Code:
https://steamcommunity.com/groups/ADDYOURGROUPSNAMEHERE/memberslistxml/?xml=1 I wrote a little web tool where you can convert your group64 ids This isn't too user friendly so if you have a better idea on how to do this, please let me know! sm_steamgrouprestrict_notify (default: 1) Whether or not admins should be notified about kicks. By default, admins with the BAN flag are considered admins but you can override this with sm_steamgrouprestrict_admin sm_steamgrouprestrict_reason (default: You are a member of a restricted group) Kick reason displayed to client Github source |
Re: [ANY] Steam Group Restrict
You can also find the ID by inspecting the discussion page, you will find multiple references to the short id such as `General_29292279`
|
Re: [ANY] Steam Group Restrict
SteamWorks (including SteamTools) will respond that people are a member of your group as soon as they have been invited to that group.
People clicking "ignore" on your invitation will also count as members. So if I invite you into a restricted group, and you simply click "ignore" on my group invitation; you will unfortunately still be thrown away by this plugin. |
Re: [ANY] Steam Group Restrict
Didn't know that. Thanks! I guess there isn't much that i can do about that besides using another method like parsing the memberslistxml?
|
Re: [ANY] Steam Group Restrict
Quote:
As I mentioned over on (Post #4) [L4D2] Block black-listed groups members join, you can do the memberslistxml one - however, if you got a multi thousand user group with several pages, it appears to become unreliable. E.g. memberCount column does not match amount of steamID64's retrieved via e.g. a for each loop on the members data group. |
Re: [ANY] Steam Group Restrict
wanna modify kick reason but i can't compile and there is no cvar for this.
|
Re: [ANY] Steam Group Restrict
I've added a new ConVar for it
|
Re: [ANY] Steam Group Restrict
is that correct usage?
sm_steamgrouprestrict_groupids "4294967296" |
Re: [ANY] Steam Group Restrict
No. Put your group id(s) here and use the result(s) of it as value(s)
|
Re: [ANY] Steam Group Restrict
like this?
sm_steamgrouprestrict_groupids "32814240" and why is that Code:
147 <Bad Load> steamgrouprestrict.smx |
All times are GMT -4. The time now is 09:45. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.