Commands/Lua

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

CS2D Command CS2D Console Commands

CS2D Command sv_maptransfer

Categories

Parameters

  • transfer (0/1): allow the server to send maps?

Info

Allow (1) or disallow (0) the server to send maps to clients/players who don't have these maps.

Note: This setting controls transfer of all files belonging to a map (map file itself, map briefing, map Lua script, tileset, sprites and sounds used in the map).
Attention: Enabled map transfer can cause additional traffic and higher pings while the server is sending maps!
Attention: With disabled map transfer people not having the right map won't be able to join the server!

Lua Hook Lua Hooks

Lua Command Lua Commands