TeamChange UnlimitedVersion 1.2.0Table of Contents----------------------------------------------------DescriptionCommands and CvarsInstallationDependenciesCommand OverridesCreditsChangelogTo DoNotesDownloadDescription----------------------------------------------------Tired of seeing "Only 1 team change is allowed"? This is the no-hassle solutionto your problems. Once installed, players have unlimited access to team changes.This plugin is responsive to mp_limitteams. Use mp_limitteams 0 to ignore team size limits.Server administrators can fine-tune settings, such as limits on how many team changesplayers can use per round/map, whether players receive a suicide penalty for swappingteams, and admin/donor immunities.Commands and Cvars----------------------------------------------------Cvarssm_teamchange_unlimited_auto_update (Default 1) Automatically update plugin (requires Updater)sm_teamchange_unlimited_version - Plugin version.sm_teamchange_unlimited_chat (Default 1) Give plugin feedback to players in chat (1 - verbose, 0 - silent)sm_teamchange_unlimited_suicide (Default 1) Force suicide on alive players who switch teams (1 - force suicide, 0 - no suicide)sm_teamchange_unlimited_suicide_admin (Default 1) Force suicide on alive admins who switch teams (admin override: teamchange_unlimited_suicide_admin)sm_teamchange_unlimited_maplimit (Default 0) Number of times a client can change teams per map (0 - disable)sm_teamchange_unlimited_roundlimit (Default 0) Number of times a client can change teams per round (0 - disable)sm_teamchange_unlimited_autopenalty (Default 1) Include swaps to auto-assign team in a client's team change count (1 - count, 0 - don't count)sm_teamchange_unlimited_specpenalty (Default 1) Include swaps to spectator team in a client's team change count (1 - count, 0 - don't count)sm_teamchange_unlimited_tpenalty (Default 1) Include swaps to terrorist team in a client's team change count (1 - count, 0 - don't count)sm_teamchange_unlimited_ctpenalty (Default 1) Include swaps to counter-terrorist team in a client's team change count (1 - count, 0 - don't count)sm_teamchange_unlimited_immunity (Default 0) Admins receive team change count immunity (admin override: teamchange_unlimited_immunity)Installation----------------------------------------------------Place teamchange_unlimited.smx into the /addons/sourcemod/plugins directory.Set convars in /cfg/sourcemod/teamchange_unlimited.cfg.You can use /addons/sourcemod/configs/admin_overrides.cfg to change admin/donor benefits (see below)Dependencies----------------------------------------------------Updater optional, with updater.inc required to compile.Command Overrides----------------------------------------------------teamchange_unlimited_immunity - Admins in this command group receive team change immunity and can change teams an unlimited amount of times, regardless of map and round limits.teamchange_unlimited_suicide_admin - Force suicide on alive admins who switch teams. Admins in this command group will have suicide rules determined by cvar sm_teamchange_unlimited_suicide_admin instead of sm_teamchange_unlimited_suicide.You can use admin_groups.cfg or admin_overrides.cfg to change command permissions.Example admin_overrides.cfg: Code: Overrides{ "teamchange_unlimited_immunity" "bo" "teamchange_unlimited_suicide_admin" "z"}In this example, only admins/donors that have both "b" and "o" admin flags ignore map/round team change limits, and admins that have the "z" flag abide by different suicide rules when changing teams.Credits----------------------------------------------------
- Despirator for supplying the base code in this thread.
- tnarocks for requesting the plugin and supplying ideas.
- 1.0 (7 December 2012)-Initial version by Despirator.
- 1.1.0 (19 January 2013) [unreleased]-Added support for using auto-assign and spectate freely.
- 1.2.0 (20 December 2013)-Release version-Added responsiveness to mp_limitteams.-Added convars for controlling admin/donor benefits, suicide penalties, and map/round limits.
- None at the moment.
- While tested on CS:GO, it should, in theory, work on any mod.
- The plugin won't move players or count it against them if they switch to the team they're already on (even through auto-assign).
- Use mp_limitteams 0 for unrestricted team sizes, otherwise set it to your liking.
- They say life is a battlefield...


Wyświetl pełny artykuł