Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Register
Advertisement

Temporarily registers a custom console variable.

C_CVar.RegisterCVar(name [, value])
       RegisterCVar

Arguments[]

name
string - Name of the custom CVar to set.
value
string|number? = "0" - Initial value of the CVar.

Details[]

  • You can register your own CVars. They are set game-wide and will persist after relogging/reloading but not after closing the game.

Patch changes[]

Dragonflight Patch 10.0.7 (2023-03-21): Registered CVars were written to disk, which conflicted with another issue, this was fixed in build 10.0.7.48838.[1]
Battle for Azeroth Patch 8.1.5 (2019-03-12): Namespaced to C_CVar.RegisterCVar().
WoW Icon update Patch 1.0.0 (2004-10-08): Added.

Advertisement