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 (binaries are included in the release zip)
- the gamedata file is also copied to
gamedata/custom/connect.games.txt
because the extension's gamedata autoupdater is out of date lol
- the gamedata file is also copied to
- the connect extension (binaries are included in the release zip)