I'm having some problems getting 2 new admin menu entries to display properly.
The first menu displays the numbers 1 and 2 and option 6 of part 3 instead of the player names, time period and reasons respectively.
The second menu isnt displaying at all.
Here's my adminmenu_custom.txt:
Code:
"Commands"
{
"Temporary Bans"
{
"cmd" "sm_ban #1 #2 #3"
"admin" "sm_kick"
"execute" "server"
"1"
{
"type" "player"
"method" "name"
"title" "Ban Player"
}
"2"
{
"type" "list"
"title" "Ban Player For"
"1" "60"
"1." "1 Hour"
"2" "360"
"2." "6 Hours"
"3" "720"
"3." "12 Hours"
"4" "1440"
"4." "1 Day"
"5" "4320"
"5." "3 Days"
}
"3"
"type" "list"
"title" "Ban Reason"
"1" "Cheater"
"2" "Map Exploiter"
"3" "Troll"
"4" "Racist"
"4" "Bully or Harraser"
"6" "Mic or Music Spammer"
"7" "VoteKick or VoteBan Abuse"
}
}
"Change Gamemode"
{
"cmd" "mc_gamemode #1"
"admin" "sm_kick"
"execute" "server"
"1"
{
"type" "list"
"title" "Gamemode:"
"1" "3"
"1." "PvPvM"
"2" "2"
"2." "PvM Coop"
"3" "5"
"3." "Hoarder"
"4" "4"
"4." "Team DM"
"5" "1"
"5." "DM"
}
}
}
Any idea what im doing wrong?