Commands/Lua

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

CS2D Command CS2D Console Commands

Category: server (201)

CS2D Command mp_reservations

Categories

Parameters

  • reservations (text): a list of U.S.G.N. ID

Info

High Security Relevance
This setting is important for the security of your server!
Use it carefully! Wrong settings may make your server vulnerable or limit its functionality or accessibility!

Define which U.S.G.N. users are allowed to join the server always - even if it is already full. The server will then kick a player if necessary to make room for a player with reservation.

Example:
mp_reservations "" (no reservations)
mp_reservations "1,2,3" (reservations for the U.S.G.N. users 1, 2 and 3)

Note: It is recommended to add reservations for all users which have the RCon password or which are specified as RCon users with sv_rconusers!

Attention: Make sure that sv_checkusgnlogin is enabled (default) when using this setting. Disabling sv_checkusgnlogin while using mp_reservations is a security risk. People might use hacks to fake their U.S.G.N. IDs in order to kick players by simply joining full servers.

Lua Hook Lua Hooks

Lua Command Lua Commands