This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

Community Reserved Slots


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
CaffeinePowered
Junior Member
Join Date: Dec 2007
Location: Illinois
Plugin ID:
234
Plugin Version:
1.0.1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Reserved slots of large communities with busy servers
    Old 12-23-2007 , 14:52   Community Reserved Slots
    Reply With Quote #1

    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.
    Attached Files
    File Type: ini cReservedList.ini (30 Bytes, 1685 views)
    File Type: sp Get Plugin or Get Source (CSlots.sp - 2987 views - 9.9 KB)

    Last edited by CaffeinePowered; 12-27-2007 at 21:20. Reason: Update
    CaffeinePowered is offline
    Send a message via AIM to CaffeinePowered
     



    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 17:11.


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