Server Whitelist
This plugin gives you a simple way to limit access to the server to a list of SteamIDs in a text file. It's an alternative to using a password that can be leaked. The intent is to make this task easier without having to use reserved slots.
Check out RedSword's
Server Whitelist Advanced for an alternative with more more features.
Console Commands
- sm_whitelist_reload - Reloads server whitelist
- sm_whitelist_list - List all SteamIDs in whitelist
- sm_whitelist_add <steamid> - Adds a SteamID to the whitelist
Console Variables
Code:
// Enable server whitelist
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_whitelist_enable "1"
// Automatically grant admins access
// -
// Default: "1"
// Minimum: "0.000000"
// Maximum: "1.000000"
sm_whitelist_immunity "1"
Installation
- Copy whitelist.smx to sourcemod/plugins
- Copy whitelist.txt to sourcemod/configs
- List SteamIDs in whitelist.txt, one per line (or use the add command)
Changelog
- 1.0 - 11/17/2008
- 1.1 - 8/8/2010
- Added check for fake clients