Raised This Month: $ Target: $400
 0% 

adminmenu_sorting problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cerobug
Member
Join Date: Jun 2008
Old 09-09-2010 , 03:11   adminmenu_sorting problem
Reply With Quote #1

I removed the Vote Commands portion of the adminmenu_sorting.cfg and now Server Commands is showing up in slot 2 and 3. I was wondering how I got rid of the Server Commands on slot 3 so it only showed.

1. Player Commands
2. Server Commands

This is my current adminmenu_sorting.cfg
/**
* 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" "sm_kick"
"item" "sm_ban"
"item" "sm_gag"
"item" "sm_slay"
"item" "sm_slap"

}

"ServerCommands"
{
"item" "sm_map"
"item" "sm_reloadadmins"
}

}

and this is my adminmenu.phrases.txt file

"Phrases"
{
"Admin Menu"
{
"en" "Admin Menu"
}

"Player Commands"
{
"en" "Player Commands"
}

"Server Commands"
{
"en" "Server Commands"
}

}
Cerobug is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-09-2010 , 04:10   Re: adminmenu_sorting problem
Reply With Quote #2

You don't need erase lines from adminmenu_sorting.txt and
do not touch translation files !!

Those three categories PlayerCommands, ServerCommands and VoteCommands appeards from Sourcemod plugins.
Plugins created these automatically.

Try disable ...addons/sourcemod/plugins/basevotes.smx + funvotes.smx (move that plugin in ...disable/ folder)
and reboot server.

Check also your adminmenu_custom.txt, have you there added same category. Or do you have anything in there

*edit
If you need those vote commands... then you need edit basevotes.sp source files and remove "code" what create commands in admin menu

*second edit
basevotes handle these commands
Code:
sm_votemap
sm_votekick
sm_voteban
sm_vote
and funvotes
Code:
sm_votegravity
sm_voteburn
sm_voteslay
sm_votealltalk
sm_voteff

Last edited by Bacardi; 09-09-2010 at 04:16.
Bacardi is offline
Cerobug
Member
Join Date: Jun 2008
Old 09-09-2010 , 04:14   Re: adminmenu_sorting problem
Reply With Quote #3

basevotes.smx is already moved to the disabled folder and when people click on Voting Commands its takes them nowhere. What I want is to remove Voting Command from the admins menu completly so it only shows

1. Player Commands
2. Server Commands

not

1. Player Commands
2. Server Commands
3. Voting Commands
Cerobug is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-09-2010 , 04:20   Re: adminmenu_sorting problem
Reply With Quote #4

Quote:
Originally Posted by Cerobug View Post
basevotes.smx is already moved to the disabled folder and when people click on Voting Commands its takes them nowhere. What I want is to remove Voting Command from the admins menu completly so it only shows

1. Player Commands
2. Server Commands

not

1. Player Commands
2. Server Commands
3. Voting Commands
Have you reboot server ?

*edit
Ok I looked and seems in basecommands.smx have sm_cancelvote added in that VoteCommands category...

I quick edit so use this if you like. I removed that command/admin menu option
Attached Files
File Type: smx basecommands.smx (15.1 KB, 126 views)
File Type: sp Get Plugin or Get Source (basecommands.sp - 127 views - 10.9 KB)

Last edited by Bacardi; 09-09-2010 at 04:50.
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 13:53.


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