Senior Member
|
11-26-2012
, 07:27
[TOOLS] Cvarlist & Cmdlist - List all cvar/cmd, value, flags and description.
|
#1
|
Server Command:
Dump file path:
PHP Code:
addons/sourcemod/logs/tools_cmdlist_XXXXXXXXX.cfg
addons/sourcemod/logs/tools_cvarlist_XXXXXXXX.cfg
Flagslist
PHP Code:
new g_FlagsList[]=
{
FCVAR_NONE,// 0 /**< The default, no flags at all */
FCVAR_UNREGISTERED,// (1<<0) /**< If this is set, don't add to linked list, etc. */
//FCVAR_LAUNCHER,// (1<<1) /**< Defined by launcher. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_DEVELOPMENTONLY */
FCVAR_DEVELOPMENTONLY,// (1<<1) // Hidden in released products.
FCVAR_GAMEDLL,// (1<<2) /**< Defined by the game DLL. */
FCVAR_CLIENTDLL,// (1<<3) /**< Defined by the client DLL. */
FCVAR_MATERIAL_SYSTEM,// (1<<4) /**< Defined by the material system. */
FCVAR_PROTECTED,// (1<<5) /**< It's a server cvar, but we don't send the data since it's a password, etc. Sends 1 if it's not bland/zero, 0 otherwise as value. */
FCVAR_SPONLY,// (1<<6) /**< This cvar cannot be changed by clients connected to a multiplayer server. */
FCVAR_ARCHIVE,// (1<<7) /**< Set to cause it to be saved to vars.rc */
FCVAR_NOTIFY,// (1<<8) /**< Notifies players when changed. */
FCVAR_USERINFO,// (1<<9) /**< Changes the client's info string. */
FCVAR_PRINTABLEONLY,// (1<<10) /**< This cvar's string cannot contain unprintable characters (e.g., used for player name, etc.) */
FCVAR_UNLOGGED,// (1<<11) /**< If this is a FCVAR_SERVER, don't log changes to the log file / console if we are creating a log */
FCVAR_NEVER_AS_STRING,// (1<<12) /**< Never try to print that cvar. */
FCVAR_REPLICATED,// (1<<13) /**< Server setting enforced on clients. */
FCVAR_CHEAT,// (1<<14) /**< Only useable in singleplayer / debug / multiplayer & sv_cheats */
//FCVAR_STUDIORENDER,// (1<<15) /**< Defined by the studiorender system. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_SS */
FCVAR_SS,// (1<<15) // causes varnameN where N == 2 through max splitscreen slots for mod to be autogenerated
FCVAR_DEMO,// (1<<16) /**< Record this cvar when starting a demo file. */
FCVAR_DONTRECORD,// (1<<17) /**< Don't record these command in demo files. */
//FCVAR_PLUGIN,// (1<<18) /**< Defined by a 3rd party plugin. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_SS_ADDED */
FCVAR_SS_ADDED,// (1<<18) // This is one of the "added" FCVAR_SS variables for the splitscreen players
//FCVAR_DATACACHE,// (1<<19) /**< Defined by the datacache system. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_RELEASE */
FCVAR_RELEASE,// (1<<19) // Cvars tagged with this are the only cvars avaliable to customers
//FCVAR_TOOLSYSTEM,// (1<<20) /**< Defined by an IToolSystem library. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_RELOAD_MATERIALS */
FCVAR_RELOAD_MATERIALS,// (1<<20) // If this cvar changes, it forces a material reload
//FCVAR_FILESYSTEM,// (1<<21) /**< Defined by the file system. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_RELOAD_TEXTURES */
FCVAR_RELOAD_TEXTURES,// (1<<21) // If this cvar changes, if forces a texture reload
FCVAR_NOT_CONNECTED,// (1<<22) /**< Cvar cannot be changed by a client that is connected to a server. */
//FCVAR_SOUNDSYSTEM,// (1<<23) /**< Defined by the soundsystem library. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_MATERIAL_SYSTEM_THREAD */
FCVAR_MATERIAL_SYSTEM_THREAD,// (1<<23) // Indicates this cvar is read from the material system thread
FCVAR_ARCHIVE_XBOX,// (1<<24) /**< Cvar written to config.cfg on the Xbox. */
//FCVAR_INPUTSYSTEM,// (1<<25) /**< Defined by the inputsystem DLL. SDKVersion > SOURCE_SDK_EPISODE1 use FCVAR_ACCESSIBLE_FROM_THREADS */
FCVAR_ACCESSIBLE_FROM_THREADS,// (1<<25) // used as a debugging tool necessary to check material system thread convars
FCVAR_NETWORKSYSTEM,// (1<<26) /**< Defined by the network system. */
FCVAR_VPHYSICS,// (1<<27) /**< Defined by vphysics. */
FCVAR_SERVER_CAN_EXECUTE,// (1<<28)// the server is allowed to execute this command on clients via ClientCommand/NET_StringCmd/CBaseClientState::ProcessStringCmd.
FCVAR_SERVER_CANNOT_QUERY,// (1<<29)// If this is set, then the server is not allowed to query this cvar's value (via IServerPluginHelpers::StartQueryCvarValue).
FCVAR_CLIENTCMD_CAN_EXECUTE // (1<<30) // IVEngineClient::ClientCmd is allowed to execute this command.
// Note: IVEngineClient::ClientCmd_Unrestricted can run any client command.
};
__________________
sorry, for my poor english.
Last edited by mcpan313; 12-10-2012 at 06:03.
|
|