CVars: Difference between revisions

19 bytes added ,  18 March 2021
no edit summary
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:CVars}}
{{DISPLAYTITLE:CVars}}
CVars are values that affect specific game features. For example, the "Traffic" cvar will toggle the server traffic on/off, depending on the value provided. See the "Settings" section above to see how to add a cvar to a server configuration. Below is a list of built in cvars and values for each. You can also add custom cvars and access them with server.getCVar. CVars added to server config are not case sensitive.
CVars are values that affect specific game features. For example, the "Traffic" cvar will toggle the server traffic on/off, depending on the value provided. See the "Settings" section above to see how to add a cvar to a server configuration. Below is a list of built in cvars and values for each. You can also add custom cvars and access them with [[server.getCVar|server.getCVar]]. CVars added to server config are not case sensitive.


'''All CVars set in server config are sent to clients, so don't use any sensitive info in them!'''
'''All CVars set in server config are sent to clients, so don't use any sensitive info in them!'''
2,591

edits