Commands/Lua

Reference for console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

CS2D Command bot_keepfreeslots

Categories

Parameters

  • keep free slots (0/1): automatically keep 1-2 slots free (1) or not (0)

Info

This setting affects auto filling (bot_autofill). The server will try to keep 1-2 free slots to allow players to join if it is enabled. It will automatically kick bots to achieve this.

bot_keepfreeslots kicks just one bot if the server is full but it also tries to keep the game balanced. So if kicking one bot leads to an imbalanced game it may also kick another one to keep the team sizes equal. This leads to the fact that this command may keep 1 or 2 player slots free.

Note: bot_keepfreeslots has no effect unless bot_autofill is enabled

Attention: bot_keepfreeslots does not affect bot_count

Lua Hook Lua Hooks

Lua Command Lua Commands