Makes N teams of M players based on given attributes
Arch:
sudo pacman -S ncurses sqlite3
Ubuntu/Debian:
sudo apt-get install libncurses5-dev libncursesw5-dev libsqlite3-dev
Output binary in bin/
git clone https://github.com/lepton9/vbdist.git && cd vbdist
make dep
make
vbdist [options]
Options:
-d, --database <path> Path to SQLite database
-f, --file <path> Path to textfile
-t, --teams <int> Set number of teams
-p, --players <int> Set number of players in a team
-c, --config Print config location
-l, --log <path> Set custom log file path
-v, --viewlog <?int> Print the latest lines in the log (default: 10)
-h, --help Print this help
vbdist -d sql/database.db
List of players IDs in the database.
1000
1001
...
1010
# Line starting with '#' is a comment
# Name | Defence Spike Serve Setting Saving Consistency
name1 | 1 2 3 4 5 5
name2 | 5 5 5 5 5 5
...
nameN | 1 1 1 1 1 1
Ban player combinations using !.
All the players with names on the same line are banned with the first player on
the line.
Use IDs if using a database; otherwise, use names.
!p1 - p2
!p3 - p4 - p5
Using ?, you can ban all the player combinations on the line.
Every player on the line will be in different teams if possible.
?p1 - p2 - p3
You can force teammates to be on the same team using +.
All the players connected are in the same team. Given TEAM_SIZE is the maximum
amount of connected players.
+p6 - p7
+p7 - p8
+p9 - p10 - p11