Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command mp_natholepunching

Categories

Parameters

  • allow punching (0-1): allow NAT hole punching?

Info

Allow or disallow NAT hole punching. This technique makes use of the U.S.G.N. to increase the accessibility of servers behind NAT routers. It is enabled by default.

Set it to 0 to ignore NAT hole punching requests from the U.S.G.N.

Lua Hook Lua Hooks

Lua Command Lua Commands