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

[L4D2] Helms Deep Sourcemod Enabler


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
canadianjeff
BANNED
Join Date: Sep 2016
Plugin ID:
6301
Plugin Version:
1.0.0
Plugin Category:
General Purpose
Plugin Game:
Left 4 Dead
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    DELETE
    Unapprover:
    Reason for Unapproving:
    No plugin.
    Old 10-16-2018 , 01:19   [L4D2] Helms Deep Sourcemod Enabler
    #1

    Description:
    Allows for the running of the helms deep reborn map on a sourcemod server and responds to built in commands

    Installation:
    put l4d2_helmsdeep.smx into /addons/sourcemod/plugins

    Credits:
    everyone who helped me in the sourcemod discord server

    The author of the map placed code inside the .vpk in a .nut file with the following code that would check if sourcemod was running and kick everyone who tried to join
    Code:
    	if ( !HelmsServerInfo.checked_plugins )
    	{
    		local metamodVersion = Convars.GetStr("metamod_version");
    		local sourcemodVersion = Convars.GetStr("sourcemod_version");
    	
    		if ( !metamodVersion && !sourcemodVersion )
    			HelmsServerInfo.has_plugins = false;
    		else
    			HelmsServerInfo.has_plugins = true;
    		
    		HelmsServerInfo.checked_plugins = true;
    	}
    	
    	if ( HelmsServerInfo.has_plugins )
    	{
    		foreach( player in Players.Humans() )
    		{
    			SendToServerConsole( "kickid " + player.GetSteamID() + " " + "This server is using plugins, please join a different server" );
    		}
    	}
    what this plugin does is intercept the kickid command (with that matching string) and stop it from being used and allowing all players to join

    Updates:
    Now has better map detection (by request)
    Psyk0tik (discord) has improved the donator command
    Now it is menu driven to get the item you want
    Has the cvar to enable or disable the donator menu
    Updated Syntax (by request)
    Now has spawn limits to prevent spamming

    Last edited by asherkin; 03-07-2022 at 03:43. Reason: Restore to previous version.
    canadianjeff 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 16:39.


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