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

Overrides don't seem to work, any help?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UnPonySexy
Junior Member
Join Date: Oct 2017
Old 08-02-2019 , 19:19   Overrides don't seem to work, any help?
Reply With Quote #1

I'm a newbie with this.

I try to give VIP's some admin commands using the overrides, but even if there's the overrides on the admin_overrides config, the ones I tried to apply doesn't seem to work.

I did it like this :

Code:
Overrides
{
//Allow VIP to use
     "sm_taunt"     "a"
     "sm_vote"     "a"
     "sm_csay"     "a"
     "sm_defaultdance"     "a"
	 "sm_fire"    "a"
	 "sm_votekick"     "a"
	 
//Allow Mods to use
     "sm_kick"     "b"
     "sm_ban"     "b"
     "sm_slay"     "b"
     "sm_slap"     "b"
	 "sm_mute"    "b"
	 sm_unmute"     "b"
	 
//Allow Admin to use
     "sm_noclip"     "k"
     "sm_buddha"     "k"
     "sm_swapteam"     "k"
     "sm_settime"     "k"
     "sm_addtime"     "k"
}
Since it doesn't seem to work, I tried to apply overrides on admin_groups config, trying to allow the sm_csay for the Vip, yet it doesn't seem to work.

Code:
Groups
{
	/**
	 * Allowed properties for a group:
	 *
	 *   "flags"           - Flag string.
	 *   "immunity"        - Immunity level number, or a group name.
	 *						 If the group name is a number, prepend it with an 
	 *						 '@' symbol similar to admins_simple.ini.  Users 
	 *						 will only inherit the level number if it's higher 
	 *						 than their current value.
	 */
	"Default"
	{
		"immunity"		"1"
	}
	
	"Full Admins"
	{
		/**
		 * You can override commands and command groups here.
		 * Specify a command name or group and either "allow" or "deny"
		 * Examples:
		 * 		":CSDM"			"allow"
		 *		"csdm_enable"	"deny"
		 */
		 Overrides
		 {
		 }
		"flags"			"abcdefghiz"

		/* Largish number for lots of in-between values. */
		"immunity"		"99"
	}
	
	"Senpai"
	{
	"flags"         "z"
	"immunity"       "99"
	}
	
	"Admin"
	{
	"flags"         "k"
	"immunity"       "90"
	}
	
	"Mod"
	{
	Overrides
	{
	 "sm_admin" "allow"
	 "sm_kick" "allow"
	 "sm_ban" "deny"
	 "sm_slap" "allow"
	 "sm_slay" "allow"
	 "sm_respawn" "deny"
	 "sm_csay" "allow"
	 "sm_teamban" "allow"
	}
	"flags"         "b"
	"immunity"       "50"
	}
	
	"Vip"
	{
	"flags"         "a"
	"immunity"       "10"
	
		"Overrides"
		{
			"sm_csay"	"allow"
		}
	}
}
What I did wrong? I would appreciate the help.

Also, same case for Moderator, they can't do the commands that an admin could do.
UnPonySexy is offline
CrazyHackGUT
AlliedModders Donor
Join Date: Feb 2016
Location: Izhevsk, Russia
Old 08-03-2019 , 00:49   Re: Overrides don't seem to work, any help?
Reply With Quote #2

sm_dump_admcache
__________________
My english is very bad. I am live in Russia. Learning english language - very hard task for me...
CrazyHackGUT is offline
Send a message via ICQ to CrazyHackGUT Send a message via Skype™ to CrazyHackGUT
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 16:48.


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