Repository navigation
CMM Basic Setup
Conner Olsen edited this page Aug 19, 2026
·
3 revisions
The guide below is based on the CMM Example Mod, which can be found here on GitHub, where cmf-example-mod is the root mod folder.
You can always use any file name you want, but they must be placed in the correct folder and have the correct file extension.
Tip: If you prefer not to write script by hand, use the CMM Visual Editor instead.
Follow the Basic Setup to create your registration effect and on_action hook. CMM settings are registered inside the same cmf_on_mod_registration hook alongside any other CMF features.
Create a Localization file for your settings:
cmf-example-mod/main_menu/localization/english/cmm_example_mod_l_english.yml
Optionally, if you need conditional visibility or settings lists, also create a Scripted GUI file:
cmf-example-mod/in_game/common/scripted_guis/cmm_example_scripted_gui.txt
- Registering Settings - all supported setting types
- Reading Setting Values - how to access setting values in your mod
- Localization - localization key reference