Raised This Month: $51 Target: $400
 12% 

[ANY] Basic Reserved Slots using Connect (11.08.2016)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Plugin ID:
5312
Plugin Version:
1.00
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Basic reserved slots using Connect
    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 - 1643 views - 3.2 KB)
    __________________

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



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 09:05.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode