CustomGame.SetTeamName(PlayerTeam team, string name);
Syntax
public void SetTeamName(
    PlayerTeam team, 
    string name
)

team
Team to target.
Type: CustomGameOW.PlayerTeam

name
Name to change team name to.
Type: string

Changes a team's name.

using System;
using CustomGameOW;

...

static void Main(string[] args)
{
    CustomGame cg = new CustomGame();
    cg.SetTeamName(PlayerTeam.Blue, "The defenders");
    cg.SetTeamName(PlayerTeam.Red, "The attackers");
}