Skip to content

TianxSky/BetterBalance

Repository files navigation

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 1 1
  2. css_scramble: requires 1 arguments(scramble mode)
    • Usage: !scramble 2

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

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

Scramble Mode:

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

Plugin Config

{
  "AutoBalance": true,
  "PermissionRequired": "@css/generic",
  "ChatPrefix": "[BetterBalance]",
  "BalanceCommand": "css_balance",
  "ScrambleCommand": "css_scramble",
  "ImBalanceMessage": "{red} Teams are imbalanced, balancing now!",
  "BalanceMode": 1,
  "MoveMode": 1,
  "KillPlayerOnBalance": false,
  "MaxDifference": 1,
  "Max_CT_Players": 1,
  "Max_T_Players": 1,
  "ConfigVersion": 2
}

Roadmap

  • Custom Commands
  • Custom Perms
  • Custom Message
  • Custom max diff per team
  • Schedule balance on round end

(back to top)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages