Raised This Month: $32 Target: $400
 8% 

Solved Disable sm_whatever @all ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 03-30-2020 , 12:59   Disable sm_whatever @all ?
Reply With Quote #1

Hi, how to disable @all ?
For example !kick @all
or !mute @all ?
i dont trust some admins and i would like to disable this feature if it's possible, thank you : )
__________________
PEACE FROM MOLDOVA

Last edited by eliteroyal; 03-31-2020 at 12:06.
eliteroyal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-30-2020 , 13:07   Re: Disable sm_whatever @all ?
Reply With Quote #2

Don't give those admin privileges
Bacardi is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 03-30-2020 , 14:23   Re: Disable sm_whatever @all ?
Reply With Quote #3

Quote:
Originally Posted by Bacardi View Post
Don't give those admin privileges
they donated to get admin rights but still i think they are too dumb and will do some stuff just for fun and i would like to secure myself "just in case" for now and for future, is that possible somehow? i think there are a lot of owners who would like to know that. : )
__________________
PEACE FROM MOLDOVA

Last edited by eliteroyal; 03-30-2020 at 14:23.
eliteroyal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-30-2020 , 15:42   Re: Disable sm_whatever @all ?
Reply With Quote #4

Doesn't make sense to disable @all, they just continue to use command to each player...
Or @!me, @dead, @alive, @spec and so on...

Maybe can do plugin, when command is executed and targetted multiple players, it blocks.
But it's no fix your problem.

You need new custom plugin for your donators, limit commands per day. But it could be lot of work.
__________________
Do not Private Message @me
Bacardi is offline
PeterPan
Junior Member
Join Date: Mar 2020
Old 03-31-2020 , 10:18   Re: Disable sm_whatever @all ?
Reply With Quote #5

I think his point is to block usage of all the @ commands so @all @ct @t @alive etc for certain admin flags. I would also kind of like this for when I am trialling staff and other purposes.
PeterPan is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 03-31-2020 , 11:37   Re: Disable sm_whatever @all ?
Reply With Quote #6

Quote:
Originally Posted by eliteroyal View Post
they donated to get admin rights but still i think they are too dumb and will do some stuff just for fun and i would like to secure myself "just in case" for now and for future, is that possible somehow? i think there are a lot of owners who would like to know that. : )
Acceptable Use Policy / Terms of Service:

Code:
Any abuse of your power and/or playing around with it means that the power will be
     revoked immediately, WITHOUT ANY REFUND.
And then be harsh, if you have to... Make sure your rules are being enforced 100% strictly, otherwise people won't learn.

Problem solved.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].

Last edited by DarkDeviL; 03-31-2020 at 11:38.
DarkDeviL is offline
eliteroyal
AlliedModders Donor
Join Date: Dec 2016
Location: Moldova
Old 03-31-2020 , 12:05   Re: Disable sm_whatever @all ?
Reply With Quote #7

Ok, thank you anyway : P
__________________
PEACE FROM MOLDOVA
eliteroyal is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-31-2020 , 12:45   Re: Disable sm_whatever @all ?
Reply With Quote #8

I agreed 100% @DarkDeviL post.


...in this time I have tried some test coding, but after all, this will be a lot of work and somehow stupid idea to make extra plugins to stop other plugins commands and so on.

So here simple, not great.
- Looks only commands with "sm_" prefix
- First command argument start with "@all"
- Admin override (allow_@all_targeting)
Now by default, admin flag ROOT have access to @all


Spoiler
__________________
Do not Private Message @me
Bacardi is offline
Reply


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:51.


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