sm_cancelvote and admin_overrides
Hi all,
Before I explain my problem, I'm going to note that I'm running Metamod Source 1.8 and Sourcemod 1.3. In admin_overrides.cfg, my servers have "sm_cancelvote" "v" Result: Admins in a group with flags "abprtu" can still use !cancelvote So, I added an override to the same admin group in my admin_groups.cfg: Overrides { "sm_cancelvote" "deny" } Result: Admins in this group can still use !cancelvote Is there somewhere else that could be overriding these settings, or is this a Sourcemod bug? |
Re: sm_cancelvote and admin_overrides
First of all:rtfm:
SourceMod adminflags: Admin flags = abcdefghijklmn custom flags = opqrst Magically enables all flags = z There is no flags "u" "v". If you add those letter, they are same as "" (no-flag). What you did :arrow: you added no-flag in admin_overrides.cfg "sm_cancelvote" "v" This why they can cancelvote and whole server, public players can use also (non-flaged players) :) You made accidentally sm_cancelvote to public command. If you add flag="u" to admins/group, server get errors to SourceMod logs Code:
L 02/15/2010 - 10:54:06: SourceMod error session started ...addons\sourcemod\configs\admin_levels.cfg How override command to other flag and disabled to group :!: basecommands.smx ADMFLAG_VOTE, "sm_cancelvote" = "k" Is original flag, built in plugin. Example 1: You want change sm_cancelvote flag to customflag = q in ...addons\sourcemod\configs\admin_overrides.c fg (I erase guidelines/description to short code) Code:
Overrides
Example 2: You want deny sm_cancelvote from group (nothing has been added to admin_overrides.cfg) in ...addons\sourcemod\configs\admin_groups.cfg (I erase guidelines/description to short code) Code:
Groups
Example 3: You want change sm_cancelvote flag to customflag = q Do :arrow: Example 1 You want allow sm_cancelvote to specified players in ...addons\sourcemod\configs\admin_groups.cfg (I erase guidelines/description to short code) Code:
Groups
Admins flagged = "z" can't be override (deny/allow) commands. He is GOD. Not affect admin_groups.cfg and admin_overrides.cfg |
Re: sm_cancelvote and admin_overrides
Sorry douple post !!
Quote:
and remove flag-"u", there is no those letters use in SourceMod Quote:
But if you start change sm_cancelvote flag - Add right letter in admin_overrides.cfg (abcdefghijklmnopqrst z) - And if group have also same flag what you have change, make correct code. admin_groups.cfg Code:
Groups |
Re: sm_cancelvote and admin_overrides
OK, I'll change it to another flag. I'm not the admin who originally set it up, and I just assumed they knew what they were doing when inventing new flags.
|
Re: sm_cancelvote and admin_overrides
I find this thread amusing. Powerlord and Bacardi, two people who always give advice on scripting questions.
Yes, I realize this was a necro. Couldn't help it. Found this after Gooogling admin_overrides.cfg (to make sure I had the filename right). |
Re: sm_cancelvote and admin_overrides
woh... would those my post even correct after few years ^^
Didn't know much at that time.... |
All times are GMT -4. The time now is 06:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.