Purpose and Function:
This plugin is designed for large web communities whose members would like to be able to access their server when it is full without having to ask an admin to kick a random public player.
The plugin will hold one slot of the server open at all times as a connection slot. Whenever a player joins their SteamID is checked against a cached list of IDs and their are either authenticated or not authenticated.
When the final player in the server joins, if they are not authenticated, they will be booted. If they are authenticated, the player with the least connection time who is not authenticated will be booted, thus keeping the connection slot open for another community member.
Installation:
This plugin requires the file cReservedList.ini be created in the /sourcemod/configs/ folder. SteamIDs are listed one per line, and comment lines may be used to denote corresponding names.
CVARS:
This plugin currently modifies no in game cvars, nor does it create any of its own.
Commands:
This plugin does not create any additional commands, all work is done passively.
Version:
1.0.1.2 - Plugin Now Updates list on Map Changes
1.0.1.1 - Revised Handling of SteamID Array
1.0.1.0 - Public Release
Future Plans:
- Creation of a Cvar to turn the plugin on and off
- Ability to update admin list and refresh the cached array without unloading the plugin
- Ability to use the final connection slot if all players including connecting player are authenticated.
Known Bugs:
- Reserve list must end with a newline in order to calculate the number of lines correctly, failure to do so will result in a server crash.
Special thanks for SMFrog and FlyingMongoose for all the help on this one.