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

[TF2] MvM Auto-lock Server (v1.2)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
FlaminSarge
Veteran Member
Join Date: Jul 2010
Plugin ID:
3170
Plugin Version:
1.2
Plugin Category:
Server Management
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Passwords the server when there's 6 people connected.
    Old 08-16-2012 , 23:06   [TF2] MvM Auto-lock Server (v1.2)
    Reply With Quote #1

    As in the description, once 6 people are connected, a password is set on the server (a message is printed to chat saying so).

    There's also a steamtools/connect plugin in there, but it is untested and so disabled (it's not even in the .smx when you click Get Plugin). To enable it you'll have to recompile with //#define USE_STEAMTOOLSCONNECT uncommented.

    Convars:
    mvmautolock_version 1.2 - don't touch
    mvm_password - Password to set once the server has 6 or more people. If unset, the plugin will not be enabled.

    Code:
    August 20, 2012 (v1.2)
    *Fixed a bug where a password would be set even if <6 players
    
    August 16, 2012 (v1.1)
    *Revised so that password is only removed if sv_password matches mvm_password
    *If mvm_password is changed and sv_password is the same as mvm_password, sv_password is changed to match the new value as well.
    
    August 16, 2012 (v1.0)
    *Initial release.
    Previous plugin views - 240
    Attached Files
    File Type: sp Get Plugin or Get Source (mvmautolock.sp - 1112 views - 4.3 KB)
    __________________
    Bread EOTL GunMettle Invasion Jungle Inferno will break everything. Don't even ask.

    All plugins: Randomizer/GiveWeapon, ModelManager, etc.
    Post in plugin threads with questions.
    Steam is for playing games.
    You will be fed to javalia otherwise.
    Psyduck likes replays.

    Last edited by FlaminSarge; 08-20-2012 at 21:37.
    FlaminSarge is offline
     


    Thread Tools
    Display Modes

    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 10:09.


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