Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden Tags by default #52

Open
Prefix opened this issue Jan 22, 2020 · 2 comments
Open

Hidden Tags by default #52

Prefix opened this issue Jan 22, 2020 · 2 comments
Labels

Comments

@Prefix
Copy link

Prefix commented Jan 22, 2020

Is your feature request related to a problem? Please describe.
Since commit 31f5c5c there is possibility to save hidden tags in clientprefs.

Describe the solution you'd like
It would be nice if there would be convars to hide tags by default (Something like enabling only when needed - etc admin on duty have tags only).
Also maybe some kind of control who can have hidden by default? In my case I would need everyone who has e flag (ADMFLAG_UNBAN)
Also I haven't tried yet sm_toggletags but does it failover to something or completely removes everything? For example I would love that it would take default player tag if it's not doing that.

@Hexer10
Copy link
Owner

Hexer10 commented Jan 23, 2020

So, right now toggletags is available only to the admins that have the ADMFLAG_GENERIC (b) but it can be overridden in the sourcemod overrides file.
As of now the commands hides both the chat tags and the scoreboard tag, and yes it will restore the default user scoreboard tag.
Adding a cvar to set if by default is hidden or not should be definitely doable.

@Hexer10
Copy link
Owner

Hexer10 commented Feb 5, 2020

I'm thinking about adding a new parameter for each tag which would be something like Hidden which can be either 1 or 0 (default), if is 1 by default the tag will be hidden.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants