This is a TF2 sourcemod plugin I wrote for the EOTL community.
This plugin provides a !teamswap command that allows a player force swap to the other team.
This plugin depends on eotl_vip_core plugin.
!teamswap
Makes the player swap to the other team
eotl_teamswap_viponly [0/1]
Restrict !teamswap command to vips only (1) or anyone (0)
Default: 1 (vip only)
eotl_teamswap_mintime [seconds]
Only allow the player to swap teams every [seconds] seconds
Default: 120
eotl_teamswap_deny_full [0/1]
Deny a teamswap if the target team is full (maxplayers / 2)
Default: 1 (deny)