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

CS2D Command CS2D Console Commands

CS2D Command localport



  • port (0-65535): local port, 0 = auto detect


This settings is recommended for experienced users only! It forces the game to use a specific UDP port in client mode.
It is recommended to use 0 (auto detection). In this case CS2D will find a free UDP port automatically.

Note: Same as clientport!

Lua Hook Lua Hooks

Lua Command Lua Commands