Convars
In Rust, a "convar" (short for "console variable") is a variable that can be set and adjusted using the in-game console. Convars allow players and server administrators to change various settings and configurations in the game.
Convars can be used to adjust a wide range of game settings, including player movement speed, resource spawn rates, time of day, and many other settings. They can also be used to enable or disable certain features, such as player collision or the ability to build in certain areas.
Convars can be adjusted by entering the appropriate command in the console, typically in the format of "convar_name value", for example "server.hostname MyRustServer". Some convars have predefined values, such as "0" or "1" for off and on respectively, while others can accept a range of values.
Some examples of convars are:
- server.hostname: allows the server administrator to set the server's name
- server.seed: allows the server administrator to set the map seed
- server.maxplayers: allows the server administrator to set the maximum number of players that can join the server
- server.tickrate: allows the server administrator to set the tick rate of the server
It's worth noting that some convars are only available to server administrators, and some can only be executed on servers that have the appropriate plugins installed. Also, some convars can only be set at server startup and cannot be changed during runtime.