Raised This Month: $ Target: $400
 0% 

Restrict Admin Menu > Voting Commands..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ScorpFire
Member
Join Date: Sep 2011
Old 08-19-2012 , 11:43   Restrict Admin Menu > Voting Commands..
Reply With Quote #1

Hi,

I run a CSS server with the latest Sourcemod. I have a few admins in the server with bcajf flag. Whenever the admins access the admin menu via !admin command, they have access to Voting Commands > Change map to <map>

I want this to be restricted to only admins with z flag (root admins).
I have tried overriding:

"sm_map" "z"
"sm_votemap" "z"
"sm_mapvote" "z"


But it doesnt work. Anyone can help me with this?

Thanks in advance
ScorpFire is offline
4bdul
AlliedModders Donor
Join Date: Dec 2011
Location: United Kingdom
Old 08-19-2012 , 14:04   Re: Restrict Admin Menu > Voting Commands..
Reply With Quote #2

Last I checked, you need flag K to start any votes. You sure your admins don't have that flag?
__________________
4bdul is offline
ScorpFire
Member
Join Date: Sep 2011
Old 08-20-2012 , 02:24   Re: Restrict Admin Menu > Voting Commands..
Reply With Quote #3

Thanks for your reply.

But K flag doesnt stop them from starting the vote. The vote is from basevotes plugin. However i dunno which exact command allowes them to start the vote, if so i will be able to restrict the command
ScorpFire is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-20-2012 , 03:16   Re: Restrict Admin Menu > Voting Commands..
Reply With Quote #4

in server console
sm_dump_admcache
And show file [I]...addons\sourcemod\data\admin_cache_dump.txt

And tell us, are you using any other admin system than SM base plugin, like SourceBans.
__________________
Do not Private Message @me
Bacardi is offline
ScorpFire
Member
Join Date: Sep 2011
Old 08-20-2012 , 03:22   Re: Restrict Admin Menu > Voting Commands..
Reply With Quote #5

Here is the output

Code:
"Groups"
{
    /* num = 1, gid = 0x0 */
    "Default"
    {
        "flags"            ""
        "immunity"        "1"

        "Overrides"
        {
        }
    }

    /* num = 2, gid = 0x2C */
    "Full Admins"
    {
        "flags"            "abcdefghiz"
        "immunity"        "99"

        "Overrides"
        {
        }
    }
}

"Admins"
{
    /* num = 1, aid = 0x5C, serialno = 0x6*/
    ""
    {
        "auth"            "steam"
        "identity"        "steamidhere"
        "flags"            "abcfj"
        "immunity"        "99"
    }

    /* num = 2, aid = 0x9F, serialno = 0x6*/
    ""
    {
        "auth"            "steam"
        "identity"        "steamidhere"
        "flags"            "abcfj"
        "immunity"        "0"
    }

    /* num = 3, aid = 0xE2, serialno = 0x6*/
    ""
    {
        "auth"            "steam"
        "identity"        "steamidhere"
        "flags"            "abcfj"
        "immunity"        "0"
    }

    /* num = 4, aid = 0x125, serialno = 0x6*/
    ""
    {
        "auth"            "steam"
        "identity"        "steamidhere"
        "flags"            "abcfj"
        "immunity"        "0"
    }
}

"Overrides"
{
    "sm_mapvote"        "z"
    "sm_voteff"        "z"
    "sm_votegravity"        "z"
    "sm_votemap"        "z"
}
Nope i do not run other admin system.

My plugin list

Code:
Listing 38 plugins:
  01 "Resetscore" (1.1) by tuty
  02 "Web Shortcuts" (1.0) by Kyle Sanderson, Nicholas Hastings
  03 "Pinion Adverts" (1.4.2) by LumiStance
  04 "Sound Commands" (1.4.0-dev) by AlliedModders LLC
  05 "Auto !zspawn" (1.0.1) by Darkthrone, Otstrel Team, TigerOx, TechKnow, AlliedModders LLC
  06 "Advanced admin commands" (0.16) by 3sigma
  07 "Reserved Slots" (1.4.0-dev) by AlliedModders LLC
  08 "[ZR] Grenade Effects" (2.0) by FrozDark (HLModders.ru LLC)
  09 "Poisonthrower" (1.7) by FrozDark (HLModders.ru LLC)
  10 "Fun Commands" (1.4.0-dev) by AlliedModders LLC
  11 "SM Zombie Explode 3 edition" (1.0) by Franc1sco steam: franug
  12 "Fun Votes" (1.4.0-dev) by AlliedModders LLC
  13 "Connect Announce" (1.4) by Arg!
  14 "Anti-Flood" (1.4.0-dev) by AlliedModders LLC
  15 "Advertisements" (0.5.5) by Tsunami
  16 "Rules Plugin" (1.1) by haN
  17 "Allow Flashlight" (1.0.0) by GoD-Tony
  18 "Admin Help" (1.4.0-dev) by AlliedModders LLC
  19 "Ammo Script for Zombie:Reloaded" (2.1) by [SG-10]Cpt.Moore, Richard Helgeby, Kyle Sanderson
  20 "Rock The Vote" (1.4.1) by AlliedModders LLC
  21 "Basic Comm Control" (1.4.0-dev) by AlliedModders LLC
  22 "Admin File Reader" (1.4.0-dev) by AlliedModders LLC
  23 "Zombie:Reloaded" (3.0.0-b2) by Greyscale | Richard Helgeby
  24 "Show Damage" (1.0.7) by exvel
  25 "Basic Chat" (1.4.0-dev) by AlliedModders LLC
  26 "Custom Votes" (0.5.6) by chundo
  27 "RankMe" (2.7.8) by lok1
  28 "Basic Votes" (1.4.0-dev) by AlliedModders LLC
  29 "NoBlock" (1.4.2) by Otstrel.ru Team
  30 "MapChooser" (1.4.1) by AlliedModders LLC
  31 "Player Commands" (1.4.0-dev) by AlliedModders LLC
  32 "Map Nominations" (1.4.1) by AlliedModders LLC
  33 "Admin Menu" (1.4.0-dev) by AlliedModders LLC
  34 "Nextmap" (1.4.0-dev) by AlliedModders LLC
  35 "Client Preferences" (1.4.0-dev) by AlliedModders LLC
  36 "Basic Ban Commands" (1.4.0-dev) by AlliedModders LLC
  37 "Basic Info Triggers" (1.4.0-dev) by AlliedModders LLC
  38 "Basic Commands" (1.4.0-dev) by AlliedModders LLC
Thanks for your help.
ScorpFire is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-20-2012 , 05:35   Re: Restrict Admin Menu > Voting Commands..
Reply With Quote #6

Quote:
Originally Posted by ScorpFire View Post
...
Whenever the admins access the admin menu via !admin command, they have access to Voting Commands > Change map to <map>
...
Quote:
Originally Posted by ScorpFire View Post
...
My plugin list

Code:
...
  26 "Custom Votes" (0.5.6) by chundo
...
There isn't Voting Commands > Change map to <map> option by default SM base plugins.
It have made by Custom Votes.

So my advice is go to plugin own thread and read how configure those vote commands...

.
__________________
Do not Private Message @me
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 01:26.


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