A plugin that kicks players based on whether they are a member of a group
- Install The SteamWorks extension
- Put
steamgrouprestrict.smx
in thesourcemod/plugins
folder - Load the plugin
- Configure it
The plugin creates a plugin.steamgrouprestrict.cfg
in the cfg/sourcemod
folder when its loaded where you can configure these variables.
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 groupID64 % (1 << 32)
You can get a group's groupID64 by visiting
https://steamcommunity.com/groups/ADDYOURGROUPSNAMEHERE/memberslistxml/?xml=1
To convert the groupID64 you can use the python
console.
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
Kick reason displayed to client