This plugin handles bot_quota depending on playercount on the server. It has english language available for now, but if you want you can translate it to any language. Tested on Windows, but should work on Linux aswell.
Caution
This is WIP. Tested alone & for sure not perfect
- Install CounterStrike Sharp & Metamod:Source
- Download the latest release from the releases tab and copy it into the counterstrikesharp plugins folder. The config is generated after the first start of the plugin.
To edit permission and database settings please edit config file.
Located in the folder counterstrikesharp/configs/plugins/BotQuotaManager
You can either use automatic botquota option or manage bots manually via management menu.
Example config(Automatic):
{
"EnableAutoQuota": true, // Automatic bot quota depending on "MaxPlayersWithBots"
"MaxPlayersWithBots": 1, // if playercount goes above this number, bots will be kicked (When EnableAutoQuota = true)
"BotQuota": "6", // How many bots (When EnableAutoQuota = true)
"BalanceTeams": true, // Should teams be balanced
"LimitTeams": true,
"MenuFlag": "@css/generic", // Flag for management menu
"MenuCommand": "css_bqm", // Command for management menu
"ConfigVersion": 1
}
Example config(Manual):
{
"EnableAutoQuota": false, // This will totally disable automatic botquota
"MaxPlayersWithBots": 1,
"BotQuota": "6",
"BalanceTeams": false,
"LimitTeams": false,
"MenuFlag": "@css/generic",
"MenuCommand": "css_bqm",
"ConfigVersion": 1
}