Skip to content

Add ConVar.PluginHandle property #1492

@dragokas

Description

@dragokas

Could you, please, add the new field in ConVar struct to know which plugin is created the specific ConVar?

There was many use cases for this time.

  • The last one was an ability to find what "... _version" Cvar name has the specific plugin and vice versa (used in planned "Plugin updater" to search updated version by cvar name in a database).
  • Also, e.g. for [ANY] ConVars Anomaly Fixer to indicate in log which plugin the concrete ConVar "belongs" to.

I know that ConVar objects are global, but the ability to know its creator would be very useful.

Thank you.

Metadata

Metadata

Assignees

Labels

Feature Requestuser requested featureGood First IssueIssues that are suitable for first-time contributors.Help Wantedup for grabs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions