Raised This Month: $344 Target: $400
 86%   Almost there!

Admin menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Eurolite
Member
Join Date: Aug 2010
Old 08-07-2010 , 02:42   Admin menu
Reply With Quote #1

I'm looking for more admin menu commands, anyone got any? I need particularly adding bots to the server, right now the only way I know how is to edit server.cfg and load the cfg from the admin menu. Also a command that gives players weapons and money, etc.
Eurolite is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 08-07-2010 , 06:57   Re: Admin menu
Reply With Quote #2

You can use this, its the menu I use, has total bot control. Add bot, remove bot, bot difficulty, bot weapon restrict etc ... Maybe you can edit yours and add some of these? There are a few dbl up commands though, I havent had time to edit it but the bot stuff works.


Code:
// Custom admin menu commands.

"Commands"
{
    "PlayerCommands"
    {
        "Disarm"
        {
            "cmd"        "sm_disarm #1"
            "execute"    "player"
            "1"
            {
                "type"             "teamplayer"
                "method"        "name"
                "title"            "Player:"
            }
        }
        "Burn and Disarm"
        {
            "cmd"        "sm_burn #1 #2; sm_disarm #1"
            "execute"    "player"
            "1"
            {
                "type"         "teamplayer"
                "method"    "name"
                "title"        "Player:"
            }
            "2"
            {
                "type"         "list"
                "title"        "How Long (sec.)?"
                "1"        "5"
                "2"        "10"
                "3"        "20"
                "4"        "40"
                "5"        "80"
            }
        }
        "Bury/Unbury"
        {
            "cmd"        "sm_bury #1 #2"
            "execute"    "player"
            "1"
            {
                "type"             "teamplayer"
                "method"        "name"
                "title"            "Player:"
            }
            "2"
            {
                "type"         "list"
                "title"        "Bury:"
                "1"        "1"
                "1."        "Bury"
                "2"        "0"
                "2."        "Unbury"
            }
        }
    }
    "Player Commands II"
    {
        "admin"        "sm_ban"
        "Change Name"
        {
            "cmd"        "sm_name #1 #2"
            "execute"    "player"
            "1"
            {
                "type"         "player"
                "method"    "name"
                "title"        "Player:"
            }
            "2"
            {
                "type"         "list"
                "title"        "Name"
                "1"        "I Had A Naughty Name"
                "1."        "I Had A Naughty Name"
            }
        }
        "Set Speed"
        {
            "cmd"        "sm_speed #1 #2"
            "execute"    "teamplayer"
            "1"
            {
                "type"         "player"
                "method"    "name"
                "title"        "Player:"
            }
            "2"
            {
                "type"         "list"
                "title"        "Speed Multiplier"
                "1"        "1.0"
                "1."        "Normal"
                "2"        "0.8"
                "2."        "80%"
                "3"        "0.5"
                "3."        "Half"
                "4"        "1.5"
                "4."        "50% Boost"
                "5"        "2.0"
                "5."        "Double"
            }
        }
        "Give Weapon"
        {
            "cmd"        "sm_weapon #1 #2"
            "1"
            {
                "type"         "teamplayer"
                "title"        "Player:"
            }
            "2"
            {
                "type"         "list"
                "title"        "Weapon:"
                "1"        "weapon_ak47"
                "1."        "Ak-47"
                "2"        "weapon_m4a1"
                "2."        "M4A1"
                "3"        "weapon_galil"
                "3."        "Galil"
                "4"        "weapon_famas"
                "4."        "Famas"
                "5"        "weapon_aug"
                "5."        "AUG"
                "6"        "weapon_sg552"
                "6."        "Kreig SG552"
                "7"        "weapon_scout"
                "7."        "Scout"
                "8"        "weapon_awp"
                "8."        "AWP Sniper"
                "9"        "weapon_g3sg1"
                "9."        "G3SG1 Auto Sniper"
                "10"    "weapon_sg550"
                "10."        "SG550 Auto Sniper"
                "11"    "weapon_mac10"
                "11."        "MAC-10"
                "12"    "weapon_mp5"
                "12."        "MP5"
                "13"    "weapon_ump45"
                "13."        "UMP-45"
                "14"    "weapon_p90"
                "14."        "P90"
                "15"    "weapon_glock"
                "15."        "Glock"
                "16"    "weapon_usp"
                "16."        "USP"
                "17"    "weapon_p228"
                "17."        "Compact P228"
                "18"    "weapon_deagle"
                "18."        "Desert Eagle"
                "19"    "weapon_elite"
                "19."        "Dual Elites"
                "20"    "weapon_fiveseven"
                "20."        "Five Seven"
                "21"    "weapon_m3"
                "21."        "M3 Shotgun"
                "22"    "weapon_xm1014"
                "22."        "XM1014 Auto Shotgun"
                "23"    "weapon_m249"
                "23."        "M249 Machine Gun"
            }
        }
        "Set Health"
        {
            "cmd"        "sm_hp #1 #2"
            "execute"    "player"
            "1"
            {
                "type"         "teamplayer"
                "method"    "name"
                "title"        "Player:"
            }
            "2"
            {
                "type"         "list"
                "title"        "Health:"
                "1"        "1"
                "2"        "20"
                "3"        "50"
                "4"        "80"
                "5"        "100"
                "6"        "150"
                "7"        "200"
            }
        }
        "Give/Take Defusal Kit"
        {
            "cmd"        "sm_defuser #1 #2"
            "1"
            {
                "type"         "teamplayer"
                "method"    "name"
                "title"        "Player:"
            }
            "2"
            {
                "type"        "list"
                "title"        "Defusal Kit:"
                "1"        "1"
                "1."        "Give"
                "2"        "0"
                "2."        "Take"
            }
        }
    }
    "ServerCommands"
    {
        "Set phys_pushscale"
        {
            "cmd"                "phys_pushscale @1"
            "admin"                "sm_rcon"
            "execute"            "server"
            "1"
            {
                "type"            "list"
                "title"            "Adjust phys_pushscale"
                "1"                "100"
                "2"                "50"
                "3"                "30"
                "4"                "200"
                "5"                "10"
                "6"                "0"
                "6"                "-30"
                "6"                "-50"
            }
        }
    }
    "Server Cvars"
    {
        "admin"        "sm_ban"
        "Password"
        {
            "cmd"        "sv_password #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "list"
                "title"        "Password:"
                "1"        "teamuescrim"
                "2"        "jello"
                "3"        "pickels"
                "4"        "dildo"
            }
        }
        "Friendly Fire"
        {
            "cmd"        "mp_friendlyfire #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "onoff"
                "title"        "Friendly Fire:"
            }
        }
        "Gravity"
        {
            "cmd"        "sv_gravity #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "list"
                "title"        "Server Gravity:"
                "1"        "100"
                "1."        "Low"
                "2"        "250"
                "2."        "Medium"
                "3"        "500"                
                "3."        "Medium/Normal"
                "4"        "800"
                "4."        "Normal"
                "5"        "1000"
                "5."        "High"
            }
        }
        "Auto Team Balance"
        {
            "cmd"        "mp_autoteambalance #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "onoff"
                "title"        "Auto Team Balance:"
            }
        }
        "Limit Team Stacking"
        {
            "cmd"        "mp_limitteams #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "list"
                "title"        "Limit Teams:"
                "1"        "2"
                "1."        "On"
                "2"        "0"
                "2."        "Off"
            }
        }
        "Timelimit"
        {
            "cmd"        "mp_timelimit #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "list"
                "title"        "Timelimit:"
                "1"        "20"
                "2"        "40"
                "3"        "60"
            }
        }
        "Force Camera"
        {
            "cmd"        "mp_forcecamera #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "onoff"
                "title"        "Force Camera:"
            }
        }
        "Admins See All Chat"
        {
            "cmd"        "sm_adminseeall #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "onoff"
                "title"        "Admin See All:"
            }
        }
        "Show Damage Done"
        {
            "cmd"        "sm_showdamage #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "onoff"
                "title"        "Show Damage:"
            }
        }
        "Annouce Client Connections"
        {
            "cmd"        "sm_connectannounce #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"         "onoff"
                "title"        "Announce Connections:"
            }
        }
    }
    "VotingCommands"
    {
        "Multi Map Vote"
        {
            "cmd"        "sm_votemap #1 #2 #3"
            "admin"        "sm_votemap"
            "execute"    "server"
            "1"
            {
                "title"        "1st Map:"
                "type"        "mapcycle"
                "path"        "/addons/sourcemod/configs/maps.ini"
            }
            "2"
            {
                "title"        "2nd Map:"
                "type"        "mapcycle"
                "path"        "/addons/sourcemod/configs/maps.ini"
            }
            "3"
            {
                "title"        "3rd Map:"
                "type"        "mapcycle"
                "path"        "/addons/sourcemod/configs/maps.ini"
            }
        }
        "Start a Poll"
        {
            "cmd"        "sm_vote #1"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Question:"
                "1"        "Switch to a different map?"
                "1."    "Switch maps?"
            }
        }
        "Force RTV Nomination"
        {
            "cmd"        "sm_rtv_addmap #1"
            "execute"    "server"
            "1"
            {
                "type"        "mapcycle"
                "title"        "Map:"
                "path"        "/addons/sourcemod/configs/maps.ini"
            }
        }
    }
    "Team Management"
    {
        "admin"        "sm_ban"
        "Move Player to a Team"
        {
            "cmd"        "sm_team #1 #2"
            "1"
            {
                "type"         "player"
                "title"        "Player:"
            }
            "2"
            {
                "type"        "list"
                "title"        "Team:"
                "1"        "2"
                "1."        "Terrorists"
                "2"        "3"
                "2."        "Counter-Terrorists"
            }
        }
        "Move Player to Spec"
        {
            "cmd"        "sm_team #1 1"
            "1"
            {
                "type"         "player"
                "title"        "Player:"
            }
        }
        "Swap Player to Other Team"
        {
            "cmd"        "sm_teamswap #1"
            "1"
            {
                "type"         "player"
            }
        }
        "Swap Teams"
        {
            "cmd"        "sm_teamswap"
        }
    }
    "Bot Control"
    {
        "admin"        "sm_ban"
        "Set Bot Count (quota)"
        {
            "cmd"        "bot_quota #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Amount:"
                "1"        "0"
                "1."        "0"
                "2"        "1"
                "2."        "1"
                "3"        "2"
                "3."        "2"
                "4"        "3"
                "4."        "3."
                "5"        "4"
                "5."        "4"
            }
        }
        "Kick All Bots"
        {
            "cmd"        "bot_kick"
            "admin"        "sm_ban"
            "execute"    "server"
        }
        "Add a Bot"
        {
            "cmd"        "#1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Add a Bot"
                "1"        "bot_add"
                "1."    "Add 1 bot"
                "2"        "bot_add_ct"
                "2."    "Add 1 CT bot"
                "3"        "bot_add_t"
                "3."    "Add 1 T bot"
            }
        }
        "Bot Difficulty"
        {
            "cmd"        "bot_kick; bot_difficulty #1; bot_quota 4"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Difficulty:"
                "1"        "0"
                "1."        "Easy"
                "2"        "1"
                "2."        "Normal"
                "3"        "2"
                "3."        "Hard"
                "4"        "3"
                "4."        "Expert"
            }
        }
        "Control Bot Talk"
        {
            "cmd"        "bot_chatter #1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Bot talk:"
                "1"        "off"
                "1."        "Off"
                "2"        "radio"
                "2."        "Radio only"
                "3"        "minimal"
                "3."        "Minimal"
                "4"        "normal"
                "4."        "Normal"
            }
        }
        "Mass Restrict Bot Weapons"
        {
            "cmd"        "#1"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Setting:"
                "1"        "bot_knives_only"
                "1."        "Knives Only"
                "2"        "bot_pistols_only"
                "2."        "Pistols Only"
                "3"        "bot_snipers_only"
                "3."        "Snipers Only"
            }
        }
        "Restrict/Allow Bot Weapons"
        {
            "cmd"        "#1 #2"
            "admin"        "sm_ban"
            "execute"    "server"
            "1"
            {
                "type"        "list"
                "title"        "Weapon class:"
                "1"        "bot_allow_grenades"
                "1."        "Grenades"
                "2"        "bot_allow_machine_guns"
                "2."        "Machine Guns"
                "3"        "bot_allow_pistols"
                "3."        "Pistols"
                "4"        "bot_allow_rifles"
                "4."        "Rifles"
                "5"        "bot_allow_shotguns"
                "5."        "Shotguns"
                "6"        "bot_allow_snipers"
                "6."        "Snipers"
                "7"        "bot_allow_sub_machine_guns"
                "7."        "Sub Machine Guns"
            }
            "2"
            {
                "type"        "list"
                "title"        "Allow/Restrict:"
                "1"        "1"
                "1."        "Allow"
                "2"        "0"
                "2."        "Restrict"
            }
        }
        "Allow All Weapons"
        {
            "cmd"        "bot_all_weapons"
            "admin"        "sm_ban"
            "execute"    "server"
        }
        "Slay All Bots"
        {
            "cmd"        "bot_kill"
            "admin"        "sm_ban"
            "execute"    "server"
        }
    }
}
__________________
Happy Happy Joy Joy

sinblaster is offline
Eurolite
Member
Join Date: Aug 2010
Old 08-07-2010 , 21:30   Re: Admin menu
Reply With Quote #3

The bot commands work but the player commands 2 don't work at all. I tried speed, give weapon, etc. they don't work.
Eurolite is offline
sinblaster
Grim Reaper
Join Date: Feb 2010
Location: Australia
Old 08-08-2010 , 01:28   Re: Admin menu
Reply With Quote #4

Yeah mate I know, that's why I recommend you edit the one I posted into your own custom commands, you only wanted Bot Control yeah? You run deathmatch? Maybe Bacardi will enter and save the day because there are a lot of commands like you said Player commands 2, that I would like to work as well, especially the give command but I've failed at every attempt to fix it.

Anyway ummmmmmmm you're welcome?
__________________
Happy Happy Joy Joy

sinblaster is offline
Eurolite
Member
Join Date: Aug 2010
Old 08-08-2010 , 02:44   Re: Admin menu
Reply With Quote #5

I just run a normal server. I want everything to work. Also, the settings don't save such as for restrict weapon. I'm still new here so I couldn't possibly attempt to fix this myself.

And thank you even thought I managed to find this before you told me???

Last edited by Eurolite; 08-08-2010 at 15:04.
Eurolite 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 06:30.


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