Raised This Month: $99 Target: $400

TOGs Cvar Checker

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Veteran Member
Join Date: Jul 2012
Location: Oregon, USA
Plugin ID:
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Allows admins to check cvar settings for a player using either of two methods
    Old 05-17-2014 , 18:34   TOGs Cvar Checker
    Reply With Quote #1

    This plugin allows you to check cvar settings for a player using either of two methods (QueryClientConVar and GetClientInfo). It also has a command for checking a lot of typical rates settings for a given player.

    • Some cvars are protected by valve (e.g. "password") and cannot be retrieved.
    • Method 1 (QueryClientConVar, sm_checkcvar) is the best for most any CVar, and some (e.g. fps_max) can only be retrieved using method 1. If I remember correctly, there were a few CVars that method 2 (GetClientInfo, sm_checkinfo) worked better...
    • THIS ONLY LISTS THE VALUE THEY SET THE CVAR AS. If the server overrides it, that will not show. e.g. if the server enforces 66-tick, and they have cl_updaterate set to 101, it will return 101, although in reality the server is forcing them to 66.
    • Commands can be accessed by any player with the flags defined from CVar togcvar_accessflag.

    Admin Commands:
    sm_checkcvar <target> <cvar> - Check CVar value of a player.
    sm_checkinfo <target> <cvar> - Check replicated CVar info of a player.
    sm_cvarlist <target> - Check list of CVar values for a player.
    Attached Files
    File Type: sp Get Plugin or Get Source (togcvarchecker.sp - 102 views - 9.9 KB)
    File Type: smx togcvarchecker.smx (12.4 KB, 86 views)

    Last edited by ThatOneGuy; 08-12-2017 at 11:17. Reason: Updated to combine with another CVar Checking plugin of mine, and change to new syntax, update code, etc.
    ThatOneGuy is offline

    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump

    All times are GMT -4. The time now is 20:45.

    Powered by vBulletin®
    Copyright ©2000 - 2019, vBulletin Solutions, Inc.
    Theme made by Freecode