Skip to content

Registering Settings

Conner Olsen edited this page Aug 19, 2026 · 9 revisions

All setting types below are registered inside the registration effect you create during CMM Basic Setup. Most settings work automatically: just register them and CMM handles the UI and value storage.

Tip: The CMM Visual Editor can generate all of these registrations (plus localization and callbacks) from a browser-based interface.

CMM Example Mod

Setting Registration Effect Description
Toggle cmm_register_bool_setting On/off boolean setting
Dropdown cmm_register_dropdown_setting Selection from a list of options
Button cmm_register_button_setting Action button that triggers an effect
Numeric cmm_register_numeric_setting Numeric stepper with min/max/step
Slider cmm_register_slider_setting Draggable slider control

All setting types except text have global variants that are shared across all players and host-editable in multiplayer.

The tab_id and group_id you pass create the tab and group. To nest one tab under another, see Sub-Tabs.

For settings that require callbacks, see Advanced Settings.

Clone this wiki locally