Skip to content

ericwong3/l4d2-plugins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

L4D2 Plugins

This repository holds the plugins sourced or developed for the Survival Buds community L4D2 survival servers, we aim to provide enhanced L4D2 survival game experience while respecting the original game design as much as possible.

You are welcome to use the original plugins on your server, the other plugins belongs to the respective authors and developers.

Original Plugins

Allow player to trigger a vote to change to a random map. The plugin is built on NativeVotes to allow player to vote using F1 and F2 keys (similar to vote-kick).

Requires NativeVotes to be installed (including the include files and installed as a plugin).

Command: !randommap

Commands to break glasses and graves.

Commands: !breakglass, !breakgraves

Reset all survivors health to 100 when a survival round starts

Adapted Plugins

Enable players to load presets of gas cans / propane tanks / ammo boxes locations created by admins.

Command: !gasmenu

Based on khan's GasConfig. Modified for latest SM compiler and fixed file permission issue. See // Modified tags.

Displays how much friendly fire damage you have dealt/received (!ff), and how much friendly fire has each survivor dealt (!ffe).

Commands: !ff, !ffe

Note: SM's built-in basetrigger plugin also uses "ff" as a command to allow player to check whether FF is enabled. To avoid conflict, edit plugins/basetriggger.sp, comment out the line RegConsoleCmd("ff", Command_FriendlyFire);, recompile the plugin and replace plugins/basetrigger.smx. The "ff" command will still work because the plugin also listens for "ff" using "OnClientSayCommand_Post".

Based on Gravity's Friendly Fire Report. Modified for latest SM compiler. See // Modified tags.

Kill all bots (non-human survivors).

Command: !slaybots

Based on ozzy's Slay bots. Modified for latest SM compiler. See // Modified tags.

Other Plugins

Generate connection and disconnection message when player enters or leaves the server.

Our servers use the following message templates for better privacy (default setting prints location down to city level as well as the player's IP).

data/cannounce_settings.txt
"CountryShow"
{
	"messages"
	{
		"playerjoin"		"{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT} connected from {LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}"
		"playerdisc"		"{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT} disconnected {GREEN}reason: {DEFAULT}{DISC_REASON}"
	}
	"messages_admin"
	{
		"playerjoin"		"{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT} connected from {LIGHTGREEN}{PLAYERCOUNTRYSHORT}{DEFAULT}"
		"playerdisc"		"{PLAYERTYPE} {GREEN}{PLAYERNAME} {DEFAULT} disconnected {GREEN}reason: {DEFAULT}{DISC_REASON}"
	}
}

Tank damage announcement during the game, various damage stats commands, and extensive damage report / friendly fire stats when survival round ends.

Commands: !td, !stats, !stats2, !estats, !dstats, !istats, !sicount, !acc

Allow players to switch to spectator, used in conjunction with L4DToolz to unlock server slots limit.

Commands: !spec, !join

List of includes

By exvel, Popoklopsi, Powerlord, Bara

Origin unknown. Modified for latest SM compiler

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published