Skip to content

Impact123/SteamGroupRestrict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Steam Group Restrict

A plugin that kicks players based on whether they are a member of a group

Build plugin

Installation

  1. Install The SteamWorks extension
  2. Put steamgrouprestrict.smx in the sourcemod/plugins folder
  3. Load the plugin
  4. Configure it

ConVars

The plugin creates a plugin.steamgrouprestrict.cfg in the cfg/sourcemod folder when its 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 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.

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

About

A sourcemod plugin that kicks players based on whether they are a member of a group

Resources

License

Stars

Watchers

Forks

Packages

No packages published