Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 18s ago· Viewing build 6745 (Oct 02 2026)

server_cvar

game event

Declared in core.gameevents

Named in the code or data of server, client.

Deadworks (C#), as ServerCvarEvent
[GameEventHandler("server_cvar")]
public HookResult OnServerCvar(ServerCvarEvent args) {
	// args.Cvarname, args.Cvarvalue
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
cvarnamestring
Cvarname string
cvar name, eg "mp_roundtime"
cvarvaluestring
Cvarvalue string
new cvar value

History

  1. 6696–6745first dumped