Raised This Month: $ Target: $400
 0% 

[L4D2] Change order of items on admin menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XDglory
Member
Join Date: May 2012
Old 10-03-2020 , 12:40   [L4D2] Change order of items on admin menu
Reply With Quote #1

Several plugins could let admins to use their functions with admin menu, like [L4D/L4D2] Weapon/Zombie Spawner or [L4D & L4D2] New custom commands.

When I installed both of them, can I change their order that showing on the menu? I'm quite confused by their basis of listing on the menu.
XDglory is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 10-03-2020 , 14:27   Re: [L4D2] Change order of items on admin menu
Reply With Quote #2

Try this

adminmenu_sorting.txt
Code:
/**
 * The default sorting is designed to look familiar to Mani's admin menu.
 * You may re-order items here for your own menu.  Any items not explicitly 
 * sorted will be sorted by their final translated phrases for each given client.
 */

"Menu"
{
	"PlayerCommands"
	{

		"item"		"l4d2vomitplayer"
		"item"		"l4d2incapplayer"
		"item"		"l4d2speedplayer"
		"item"		"l4d2sethpplayer"
		"item"		"l4d2colorplayer"
		"item"		"l4d2sizeplayer"
		"item"		"l4d2shakeplayer"
		"item"		"l4d2chargeplayer"
		"item"		"l4d2teleplayer"
		"item"		"l4d2dontrush"
		"item"		"l4d2airstrike"
		"item"		"l4d2changehp"
		"item"		"l4d2godmode"

		"item"		"sm_slay"
		"item"		"sm_slap"
		"item"		"sm_kick"
		"item"		"sm_ban"
		"item"		"sm_gag"
		"item"		"sm_burn"		
		"item"		"sm_beacon"
		"item"		"sm_freeze"
		"item"		"sm_timebomb"
		"item"		"sm_firebomb"
		"item"		"sm_freezebomb"
	}

	"sm_ws_topmenu"
	{
		"item"		"sm_sw_menu"
		"item"		"sm_gw_menu"
		"item"		"sm_spawn_menu"
		"item"		"sm_smg_menu"
	}

	"ServerCommands"
	{
		"item"		"l4d2createexplosion"
		"item"		"l4d2norescue"
		"item"		"l4d2gnomerain"
		"item"		"l4d2survrain"
		"item"		"l4d2gnomewipe"

		"item"		"sm_map"
		"item"		"sm_execcfg"
		"item"		"sm_reloadadmins"
	}

	"VotingCommands"
	{
		"item"		"sm_cancelvote"
		"item"		"sm_votemap"
		"item"		"sm_votekick"
		"item"		"sm_voteban"
	}
}
*edit
If you want hide some menu options, you can do it from admin groups or change admin flags from admin overrides.
__________________
Do not Private Message @me

Last edited by Bacardi; 10-03-2020 at 14:28.
Bacardi is offline
XDglory
Member
Join Date: May 2012
Old 10-04-2020 , 00:54   Re: [L4D2] Change order of items on admin menu
Reply With Quote #3

This is exactly what I'm looking for, Thank you very much!!
XDglory 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 19:57.


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