View Single Post
Author Message
Skyy
AlliedModders Donor
Join Date: Jan 2010
Location: Toronto, Canada
Old 02-08-2013 , 11:25   [ L4D2 ] Team Manager 2.3.4c
Reply With Quote #1

Plugin Out of Date, Please instead use http://forums.alliedmods.net/showthread.php?t=207929



Donations
If you're interested in donating to support plugin development, I greatly appreciate your patronage.
You can donate by clicking here -> PayPal




Installation
Please upload the contents of each folder to its equivalent on your server; /configs/ to /sourcemod/configs/ etc.
The only folder to the exception of this is the /scripting/ folder. Instead, open /scripting/compiled/ and upload its contents to your /sourcemod/plugins/ folder.
You are responsible for downloading the dependencies that this plugin requires; This is because after the time of a new version of this plugin being posted, it is possible that its dependencies may be update, and this decision has been made to reduce confusion and compatibility issues.




This plugin is designed to provide a suite of features. Several of the modules can be completely disabled. Most importantly, it does not support other 4+ player unlock plugins like super versus or multi slots as it provides the same functionality (but in a stable environment with more configuration options!)


The functionalities provided are:
Code:
Dynamic slot management					The amount of slots on the server will change based on the spectator player count.
Superversus/Multislots Replacement			This plugin handles survivor bot creation and management. When a new player connects, if
							there are no available survivor bots, one is created for the player. If the player leaves, the
							survivor bot is removed.
Team Maintenance					When a new map loads, it remembers which team the players were on. Once all clients have
							loaded and ready up begins, it places the players who are on the incorrect teams onto their
							appropriate teams.
Smart Team Scramble					In versus, a team scramble will occur on the first map of every campaign, as well as if the
							teams are a configurable amount of points apart, but not two maps in a row.
Custom Team Scoring					All Survivors earn team score for their team, and all maps are worth 400 total points. When a
							round ends, the scores are displayed in chat, as well as in a panel that is displayed to all
							players. The actual scoreboard is not modified, but its values are ignored by this plugin.
							If/when a mod is released that performs this functionality, but displays it properly in the
							scoreboard, this feature will be removed.
Campaign Rotation					When a campaign is complete, the next campaign in the series will be selected and load after
							a configurable time period.
Reserve Slots						Players with the reserve flag can connect to the server even if the maximum capacity is
							reached, assuming there are reserve slots configured in the settings.
Server-Wide Rankings					Players develop a ranking through statistics gathered over several areas, and are matched up
							against every player who has played in the server. Once a player has played a sufficient amount
							of rounds as survivor and infected (combined) they will also be eligible to be calculated against
							the top 10 rankings list. If Smart Team Scramble is enabled in the configuration, player ranks are
							used to determine which team they are assigned to. Keep in mind that a player with few rounds
							played will be less likely to be accurately assigned as they will not have enough statistics collected
							to provide an accurate assessment.

Revision history:
Code:
v2.3.4c
	-	A few minor updates, prior to the release of the major update, 2.4.
	-	Game types that can be voted on are now set in the /sourcemod/configs/teammanager/config.cfg.
		A sample config.cfg is included. As many game types as configs you have can be added.
		When using !gametypevote, any listed will display to players.
		v2.4 will see the release of the ability to dictate which campaigns are available to vote as well as which
		days they can be voted for (an example is if you have a campaign that you want only playable on Mondays.)
		When v2.4 releases, a sample config of how to set that up will be added.
v2.3.4
	-	Director-spawned Tanks spawn again. Director tanks were not allowed to spawn because
		go_away_from_keyboard was hooked. How strange?
v2.3.3
	-	The plugin will now properly execute the start up config and lock in the game type.

v2.3.1
	-	Latency: Ping and Packetloss restrictions can now be set on clients. It is advised that
		server owners wipe their current configs and allow the new config to generate.

v2.2.5
	-	A lot of things were fixed. I forget what they were, but it was a lot of important stuff!

v2.2.3
	-	AutoTeamBalance now checks to see what the scores are of the team that needs player(s) and based on the result
		sends a player of a low/high-ranking value to the other team. If the team in need of players is the survivor team, any
		infected players currently controlling a tank will not be applicable for transfer.
	-	Corrected a curious bug which would continually spawn/kick bots (until the end of time) if a player timed out or disconnected
		while connecting to the server.
	-	Corrected a bug that sometimes placed players in spectator instead of on their correct team when a new map loaded.
	-	Corrected a bug that sometimes placed players in spectator instead of onto a team when a smart team scramble occurred.
	-	Corrected a bug where survivor bots would not be removed, regardless of the server settings, in versus games.
	-	Corrected a few other bugs and made a few other changes that I can't remember.

v2.1.5
	-	Corrected a long-standing issue where the extra survivor bot spawned on map load wasn't always removed when ready up starts.
	-	Survivor bots are now displayed in the teams panel, denoted by (b)
	-	Survivors who are switched to spectator because they are idle will now properly trigger the survivor bot check.
	
v2.1.4
	-	Added the eavesdrop module:
		!eavesdrop <name> | <all>
		Opens a listening channel with the target player and displays it to you when you open the channel. If <all> is used, it suppresses the message
		to negate spam. Listen channels are closed when the round ends and the feature can be used only by admins. Use the command to toggle
		eavesdrop on/off.


v2.1.3
	-	Added support for requiring a minimum number of survivor players, where survivor bots will make the difference if not enough human players.
		This can be set to require at least one human player on either the survivor or infected team for survivor bots to be created. This is useful
		for server owners who do not want survivor bots active if there are no human players in the game, to prevent map progression in empty
		servers.
		Bold values are the default values
		teammanager_survivorbots_requirehumans			0/1		If set to 1, survivor bots won't fill the remaining required survivor
											slots if there are no human players in non-spectator slots.
		teammanager_survivorbots_playersrequired		0/4		The minimum players required on the survivor team at all times.
											This is enforced if requirehumans is 0.

v2.1.2
	-	Added support for team auto-balance. Occurs when all clients have loaded on maps not eligible for scramble, and when a player disconnects.
		Teams are eligible for auto balance if anyteam + 1 > otherteam.
		teammanager_survivorbots_kickondisconnect added to dictate whether a disconnecting players' survivor bot is kicked, and a new bot is
		created if a player is pushed to the survivor team. If enabled, this occurs, otherwise if a player is pushed to the survivor team, they take
		control of the existing bot whether it's alive or dead.
This plugin requires Left 4 Downtown 2 (No Playerslots), L4DToolZ, SDKHooks, L4D2 Direct, and Ready Up 2.1. A database is also required; the prefix can be found in the included databases.cfg file.
Please make sure to read the included readme.first file. <- Very important!!
I have included a set of sample server config files to show server owners how I set my configs up to work with team manager.

If you wish to unlock the maximum specials that can be spawned by the director, use the additional compressed file.
Attached Files
File Type: zip left4dead2_dlc1.zip (4.5 KB, 532 views)
File Type: zip SampleConfig.zip (8.3 KB, 543 views)
File Type: zip tm2.3.4c.zip (93.3 KB, 472 views)

Last edited by RedSword; 09-08-2015 at 12:21. Reason: added parser.sp ; 09/08/2015 changing from "Ready for review" to "(none)"
Skyy is offline