cvars.tags module

Provides an easy way to add/remove values from sv_tags.

class cvars.tags._SVTags[source]

Bases: _cvars.ConVar

Class used to interact wit the sv_tags ConVar.

add(tag)[source]

Add the given tag to sv_tags.

Parameters:tag (str) – The tag to add to the sv_tags ConVar value.
remove(tag)[source]

Remove the given tag from sv_tags.

Parameters:tag (str) – The tag to remove from the sv_tags ConVar value.
cvars.tags.sv_tags

The singleton object of the _SVTags class