This page contains a useful reference with console commands, Lua hooks and Lua commands in CS2D.

CS2D Command CS2D Console Commands

CS2D Command banusgn



  • id (number): U.S.G.N. account id
  • [duration] (-1 - 1440)(optional): Temporary ban duration in minutes (or 0 for infinite ban, or -1 for default temp ban time mp_tempbantime)
  • [reason] (text)(optional): A ban reason (optional)


Bans an U.S.G.N. account. The player with this account will not be able to join if he is logged in.

You can also specify a duration if you want the ban to be temporary only. Use -1 if you want to use the value of mp_tempbantime as duration or use a value >0 to specify the ban duration in minutes. 0 means that the ban will be infinite (default).

Use reason to specify a ban reason. This will be displayed when affected players are removed from the server or when they try to join.

Lua Hook Lua Hooks

Lua Command Lua Commands