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

[L4D] Co-op Difficulty Blocker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
crazydog
AlliedModders Donor
Join Date: Jan 2006
Plugin ID:
1169
Plugin Version:
1.1
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Blocks specified difficulties from being played on server
    Unapprover:
    Reason for Unapproving:
    requested
    Old 09-19-2009 , 14:30   [L4D] Co-op Difficulty Blocker
    Reply With Quote #1

    Description:

    Valve lets you limit which gamemodes can be played on your server, but not which difficulties for the coop gamemode. This plugin lets you do that!

    Because we can not hide the server from the lobby based on difficulty, this plugin does the next best thing (which is still rather crude). If it detects a disallowed difficulty, it simply kicks everyone before they connect to the server with a message similar to "Easy mode is disallowed on this server".

    Cvars: l4d_difficulty.cfg is created in cfg/sourcemod/

    l4d_difficulty_version - Shows the version
    l4d_allow_easy - Allow easy games? Default=1(yes)
    l4d_allow_normal - Allow normal games? Default=1(yes)
    l4d_allow_advanced - Allow advanced games? Default=1(yes)
    l4d_allow_expert - Allow expert games? Default=1(yes)

    Changelog:

    Code:
    1.1
     - Fixed Advanced + Expert restrictions not working
    1.0
     - Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (l4d_difficulty.sp - 936 views - 2.5 KB)

    Last edited by crazydog; 09-19-2009 at 14:56.
    crazydog 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 12:49.


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