TeamChange Unlimited
Version 1.2.2
Table of Contents
----------------------------------------------------
Description
Commands and Cvars
Installation
Dependencies
Command Overrides
Credits
Changelog
To Do
Notes
Download
Description
----------------------------------------------------
Tired of seeing "
Only 1 team change is allowed"? This is the no-hassle solution
to 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 changes
players can use per round/map, whether players receive a suicide penalty for swapping
teams, and admin/donor immunities.
Commands and Cvars
----------------------------------------------------
Cvars
sm_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_restrict_auto (Default 0) Restrict players from auto-assigning (1 - restrict, 0 - allow)
sm_teamchange_unlimited_restrict_spec (Default 0) Restrict players from joining spectate (1 - restrict, 0 - allow)
sm_teamchange_unlimited_restrict_t (Default 0) Restrict players from joining terrorists (1 - restrict, 0 - allow)
sm_teamchange_unlimited_restrict_ct (Default 0) Restrict players from joining counter-terrorists (1 - restrict, 0 - allow)
sm_teamchange_unlimited_penalty (Default "011111101101") How to count team changes (
see notes)
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
----------------------------------------------------
Changelog
----------------------------------------------------
- 1.2.2 (22 January 2013)
-Added convars to restrict joining specific teams.
To Do
----------------------------------------------------
Notes
----------------------------------------------------
sm_teamchange_unlimited_penalty
- 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...
Download
----------------------------------------------------