-
Notifications
You must be signed in to change notification settings - Fork 0
Multimode Core Descriptions
A Wiki explaining the descriptions and example configuration of the map cycle.
When you download the Multimode Core project, you also automatically download the multimode_download.smx file. Install this on your server.
Game Dir/
└── addons/
└── sourcemod/
├── configs/
│ ├── mmc_mapcycle.txt (Needed)
├── plugins/
│ ├── multimode_descriptions.smx *NEW*
├────────────────────
If you have this file on the server, you can now use mapcycle description commands!
"Mapcycle"
{
"Test Gamemode"
{
"descriptions" // Root block for all descriptions related to this gamemode
{
"description" // Main description page (entry point)
{
"description_enabled" "1" // Enables or disables this description menu
"description_flags" "" // Optional flags, used for flag (admin or custom admin) visibility control
"description_title" "Test Gamemode" // Title shown at the top of the menu
"description" "This is a test gamemode. /nIt is strategic and designed for competitive players." // Main description text, use /n to create line breaks inside the menu
"description_link"
{
"description" "View mode commands" // Button text
"command" "sm_mymodecommand" // Execute client command when clicked
}
// description_link executes a client command
"description_link_2"
{
"description" "View statistics"
"command" "sm_mymodestats"
}
// You can create multiple command buttons using _2, _3, _4, etc
"description_command"
{
"command" "!mymode" // Chat command that opens this description menu
}
"description_command_2"
{
"command" "/mymode"
"style" "Silent"
}
// Multiple chat inputs can point to the same description
}
}
"maps"
{
"cs_"
{
"descriptions" // Map-specific descriptions
{
"description"
{
// ... (anything.)
}
}
}
"balloon_race_v2b" {}
}
}
}
"Mapcycle"
{
"Test Gamemode"
{
"descriptions"
{
"description" // Main menu page
{
"description_enabled" "1"
"description_flags" ""
"description_title" "Test Gamemode"
"description" "This is a test gamemode description. /nThis gamemode is strategic and designed for competitive players."
"description_linkpage"
{
"description_name" "Game Overview" // Button name
"description_page" "description_2" // Target description page
}
// description_linkpage opens another description instead of running a command
"description_linkpage_2"
{
"description_name" "Commands"
"description_page" "description_3"
}
"description_linkpage_3"
{
"description_name" "Statistics"
"description_page" "description_4"
}
"description_command"
{
"command" "!mymode"
"style" "Default"
}
"description_command_2"
{
"command" "/mymode"
"style" "Silent"
}
}
"description_2" // Secondary page
{
"description_enabled" "1"
"description_flags" ""
"description_title" "Game Overview"
"description" "..."
"description_linkpage"
{
"description_name" "Back to main menu"
"description_page" "description"
}
// Allows navigation back to the root page
}
"description_3"
{
"description_enabled" "1"
"description_flags" ""
"description_title" "Commands"
"description_link"
{
"description" "View mode commands"
"command" "sm_mymodecommand"
}
// You can put description_link and description_linkpage in the same page
"description_linkpage"
{
"description_name" "Back to main menu"
"description_page" "description"
}
}
"description_4"
{
"description_enabled" "1"
"description_flags" ""
"description_title" "Statistics"
"description_link"
{
"description" "View statistics"
"command" "sm_mymodestats"
}
"description_linkpage"
{
"description_name" "Back to main menu"
"description_page" "description"
}
}
}
"maps"
{
"cs_"
{
"descriptions"
{
// ... (anything.)
}
}
"balloon_race_v2b" {}
}
}
}
"description_enabled" "1 / 0"
Enables (1) or disables (0) the description from this local.
description_title "Def"
Defines the title of the description menu.
"description" "Def"
Description text itself. May contain line breaks with /n.
Important
NEVER CONFUSE WITH THE "description" INPUT. EXEMPLE:
"description_2" // Multi-description input.
{
"description_enabled" "1"
"description_flags" " "
"description_title" "Test"
"description" "Test" // THE TEXT OF THE DESCRIPTION
}
"description_command"
Defines a command that, when typed in the chat (e.g., !name), opens the corresponding description menu.
```"description_command"```
{
"command" "!mymode"
}
description_link or description_link_X (multiple links)
Defines a link (button) within the description menu that executes a command when clicked.
"descriptions"
{
"description_link"
{
"description" "Vote to switch to this mode"
"command" "sm_votemode mymode"
"only_ingamemode" "0"
}
"description_link_2"
{
"description" "..."
"command" "..."
"only_ingamemode" "1"
}
}
description_flags "Flags"
Sets access flags required to view the description.
description_linkpage or description_linkpage_X (multiple pages)
Defines a link button within the description menu that opens another description page instead of executing a command.
"description_linkpage"
{
"description_name" "Game Overview"
"description_page" "description_2" // When this button is clicked, you will be redirected to this description menu.
}
"description_linkpage_2"
{
"description_name" "Commands"
"description_page" "description_3"
}
Since multimode core support will always be active for now, updating and making multimode core a reality requires a lot of work and focused time, to support me, you can donate or give us a star on GitHub. It really motivates me! I appreciate it in advance!
Live Pix: https://livepix.gg/thedgb