View Single Post
Author Message
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 05-28-2015 , 18:45   [CSGO] Client limiter
Reply With Quote #1

Description:
Client limiter is a simple plugin to deal with players connecting to a theoretically full server. It doesn't allow clients to connect beyond sv_visiblemaxplayers value, but of course it also supports reserved flags.

Installation:
Just put it in the /plugins folder and load.

Reserved slots:
By default this plugin assumes there are no reserved slots. If you want to change that behavior, use cvar sm_admin_slots to set hidden slots.

Also, the plugin dynamically grants flags to clients based on the configs/admin_slots.txt file. It's handy when you want to give a reserved slot to a non-admin player, but SourceBans overwrite your config every day.

Client limiter doesn't kick clients to make a room for a player with reserved slot access. If the server is completely full, then it's full.

Changelog:
HTML Code:
v. 0.6.1
- Bugfixes (thanks irepz and Foskitox)

v. 0.6
- Syntax updated to SM 1.7
- renamed variables to better illustrate what data they hold
- dropped dependency of sv_visiblemaxplayers
- added an autocreation of admin_slots.txt file

Known bugs:

Clients with dynamically granted flags are treated like admins, therefore their actions aren't stored in a general log file (L20150529.log etc.), but new file admin_nickname_steamid.log is created. I really don't know how to fix that.
Attached Files
File Type: sp Get Plugin or Get Source (clientlimiter061.sp - 2247 views - 3.7 KB)
__________________

Last edited by Wilczek; 12-08-2015 at 05:40. Reason: Update
Wilczek is offline