View Single Post
Author Message
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 08-11-2016 , 16:33   [ANY] Basic Reserved Slots using Connect (11.08.2016)
Reply With Quote #1

Description:
This plugin provides basic "reserved slots" using Connect. No need to "reserve" slots when using this plugin, because you dont need them. Everyone can use all slots. If the server is full, an admin can connect through console. The plugin will kick someone(players without reservation flags, spectators selected first) out.

I needed a simple reserved slots plugin where all slots are available to everyone, but people with reservation flag could still connect, even if the server is full(through console). So, I just modified the plugin from https://forums.alliedmods.net/showthread.php?t=72322, because it could do exactly what I wanted, but it uses a different extension. I updated the plugin so it uses Connect, new syntax, added a cvar for kick reason and a couple of optimizations. I know about H-Reserved, but its outdated and not maintained anymore.

Connect is an extension, required for this plugin to function. It only supports a limited number of games. More info about the extension and games it supports, can be found in the main thread - here

Cvars:
PHP Code:
sm_brsc_version  //version cvar, dont touch
sm_brsc_enabled 1 //enables/disables this plugin
sm_brsc_type 1 //Who gets kicked out: 1 - Highest ping player, 2 - Longest connection time player, 3 - Random player
sm_brsc_reason "Kicked to make room for an admin" //Reason used when kicking players 
Installation:


Credits:
asherkin - for creating Connect
pRED - for the original plugin

Changelog:
Attached Files
File Type: sp Get Plugin or Get Source (basic_reserved_slots_using_connect.sp - 1640 views - 3.2 KB)
__________________

Last edited by luki1412; 10-03-2016 at 15:43. Reason: Explained how the plugin works better
luki1412 is offline