this was created because serverwhitelistadvanced checks steam groups & ids very late. sometimes it never checks so players can join even though they're not in a whitelist group. great plugin.
this uses the connect extension (or PTaH on CS:GO) & also caches steamids from steam groups so we can check before the client actually joins the game and before the OnClientAuthorized forward triggers
create sourcemod/configs/whitelist.txt & fill it with steamids, ips, and group ids (an example exists at addons/sourcemod/configs/whitelist.txt
)
you need
-
SteamWorks https://github.com/KyleSanderson/SteamWorks/releases (link to linux latest)
- Windows builds: https://users.alliedmods.net/~kyles/builds/SteamWorks/ (link to latest)
-
CS:GO:
-
CS:S
- the connect extension (builds at https://builds.limetech.io/?project=connect)