Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command bot_autofill

Categories

Parameters

  • auto fill (0/1): automatically keep server filled with bots (1) or not (0)

Info

Automatically fill the server with bots. bot_count will be ignored if you enable auto fill. Bots will only join the team(s) you specify with bot_jointeam. Moreover auto fill is affected by the setting bot_keepfreeslots. All slots will be filled if bot_keepfreeslots is 0. The server will try to keep 1-2 free slots to allow players to join if bot_keepfreeslots is 1.

Note: bot_jointeam affects auto filling

Note: bot_keepfreeslots affects auto filling

Attention: bot_count will be ignored if bot_autofill is enabled!

Lua Hook Lua Hooks

Lua Command Lua Commands