LOX Quake 2 Server Console Variables
For LOX version 1.12.8
written by: QwazyWabbit
This is a list of the console variables (CVARS) available to LOX server administrators for LOX versions 1.12.8 and higher. At the time this document is being completed LOX is at version 1.12.8. You should make sure this list is the correct one for your version of LOX since earlier versions use different values for some of the weapon and feature bans and you will get unexpected results if you use the wrong values. The current list of weapon ban constants is found in the server_readme.txt accompanying the LOX binary you downloaded. Not all constants are available in all versions of the mod. Not all server variables are listed here. See the original Quake 2 CVAR list and any special lists for custom game engines like r1q2 for variables beyond the scope of this list.
To test the existence of a CVAR, type its name in the console or RCON. For example, type loxweaponban in the console to get the current value of the loxweaponban CVAR. If you type loxtest in the console the server will respond with Unknown command loxtest. You would normally type the constants without quotes. If you use quotes around the CVAR the server will respond just as well as without quotes. When the CVAR is setting a string value that string MUST be in quotes. CVAR set commands are always preceded with the word set. Typing set loxweaponban 0 sets the value to zero. Some values can be set while the server is running and some must be set before the server begins, either by setting them on the command line that starts the server or else in the server.cfg file.
Numeric values can be expressed in decimal, hexadecimal or octal bases by following the C Language syntax: Numbers beginning with 1 through 9 are interpreted as decimal as in 1234, or 9500. The range of decimal digits is 0 through 9. Numbers beginning with 0 are interpreted as octal as in 01777 or 064377. The range of octal digits is 0 thru 7. Numbers beginning with 0x are interpreted as hexadecimal numbers as in 0x8AFF or 0x1EE8 or 0xDEADBEEF. The range of hexadecimal digits is 0 through 9 and A through F which represents the 16 values a hexadecimal digit can contain. Sometimes its more convenient to represent very large decimal numbers as an 8-digit hexadecimal string. For example the decimal number 3735928559 is the hexadecimal 0xDEADBEEF.
Each CVAR in the server.cfg file should be entered in a line by itself. Comments can be added by using the C++ comment delimiter //. Examples of this can be found in the sample server.cfg files as well as this document. Blank lines are permitted in the server.cfg file but if the line is not blank and not controlling a CVAR, it must be a comment line. The format of this document outlines the name of the CVAR, the default value the server will set, the range of values the CVAR can assume and what feature the CVAR controls and whether the CVAR can be modified while the game is running.
When changing cvars with RCON or through the console on an active server its important to know that if you ban a weapon the effect of the ban may not become immediately apparent. The weapon and feature bans do not apply once a player has that item in his inventory. If a player already has the banned weapon he will be able to continue to use it until hes fragged. Once he re-spawns he will be denied the weapon or feature that was banned.