Raised This Month: $51 Target: $400
 12% 

Hide admin command (l4d2)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
wendigo
Senior Member
Join Date: Nov 2012
Location: Denmark
Old 04-16-2023 , 11:18   Hide admin command (l4d2)
Reply With Quote #1

Is it possible to hide all commands in sm, admin does? Like slaying another player and so on.

I have this here in core.fg:
PublicChatTrigger" "!"
SilentChatTrigger" "/"
SilentFailSuppress" "no"

But no matter what I change it to, I always see the message. Revealing I did something.
wendigo is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 04-16-2023 , 12:24   Re: Hide admin command (l4d2)
Reply With Quote #2

Some plugins use in code: ShowActivity
https://sm.alliedmods.net/new-api/console/ShowActivity

...which follow SM cvar sm_show_activity

You find setting from ...cfg/sourcemod/sourcemod.cfg
Code:
// SourceMod Configuration File
// This file is automatically executed by SourceMod every mapchange.


// Specifies how admin activity should be relayed to users.  Add up the values
// below to get the functionality you want.
// 1: Show admin activity to non-admins anonymously.
// 2: If 1 is specified, admin names will be shown.
// 4: Show admin activity to admins anonymously.
// 8: If 4 is specified, admin names will be shown.
// 16: Always show admin names to root users.
// --
// Default: 13 (1+4+8)
sm_show_activity 13
If you reduce those chat notifications, try remove some setting (numbers)
4 + 8 = 12
Code:
sm_show_activity 12
or sm_show_activity 0



*edit
But admin who use this command, showactivity not show chat message to that person, just for others in server.
Command user may get totally different chat message and it is only for that command user (PrintToChat)
__________________
Do not Private Message @me

Last edited by Bacardi; 04-16-2023 at 12:27.
Bacardi is offline
Reply



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 07:29.


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