/BetterBalance

Primary LanguageC#MIT LicenseMIT

Contributors Forks Stargazers Issues MIT License


Better Balance

Auto Balance Plugin for CS2 using CounterStrikeSharp

Table of Contents
  1. Commands
  2. Balance Mode
  3. Move Mode
  4. Plugin Config
  5. Todo

About The Project

Here's a plugin for CounterStrikeSharp that automatically balances teams based on different modes. It provides various commands and configurations for efficient team balancing.

Commands

  1. css_balance: requires 2 arguments(balance mode, move mode)
    • Usage: !balance 3 2
      • I use !balance 3 2 all the time to create a fair and balanced team

Balance Mode

  • 1 - Max Difference: Based on team's difference in numbers of players, auto balanced if difference > Config.MaxDifference
  • 2 - Team Limits: Based on max players can be on each team, defined in config
  • 3 - Scramble: This will affect all players

Move Mode

Balance Mode 1/2:

  • 1 - Move Recent: Move the last player that joins the server
  • 2 - Move Random: Move a random player

Balance Mode 3:

  • 1 - Scramble Random: Randomly putting each player on both teams
  • 2 - Scramble Based On Kills: Putting players even only to both teams and will put the extra player(if any) on the opposite team of player with highest kill

Plugin Config

{
  "BalanceMode": 1,
  "MoveMode": 1,
  "KillPlayerOnBalance": true,
  "MaxDifference": 1,
  "Max_CT_Players": 1,
  "Max_T_Players": 1,
  "ConfigVersion": 1
}

Roadmap

  • Schedule balance on round end

(back to top)