A shared mod framework and menu for Europa Universalis 5. Includes the Community Mod Menu (CMM), custom alerts, action bar elements, and more.
https://steamcommunity.com/sharedfiles/filedetails/?id=3692202776
- Community Mod Menu (CMM) — Shared in-game settings UI for mods (toggles, sliders, dropdowns, buttons, text inputs, settings lists).
- CMM Visual Editor - Allows creating your mod menu from a interactive GUI application which generate all required files.
- Custom Alerts — Dynamic, dismissable notifications in the in-game alert bar.
- Action Bar — Custom action bar with configurable buttons.
- Mod Action Log: Global in-game log for recording mod actions with actor and arguments.
- is_host Trigger — Check if the current country is controlled by the host player.
- On-Action Hooks — Post-lobby game start/load hooks and recurring yearly/monthly pulses for human players.
- Dependency Check Popup — Main menu popup that auto-enables CMF when missing.
- cmf_suppress Effect — Suppress "used but never set" and "set but never used" engine warnings.
- GUI Macros: NAND, NOR, XOR logical operators.
- Improved Vanilla Top-Level Widget Overrides: Extracted vanilla type and template definitions so your override only needs the top-level widget itself (lateralviews, topbar, outliner entries, etc.).
- Community Mod Toolkit (CMT) — A companion set of development tools, such as a mod template, workshop uploader and mod translator.
To set this mod as a dependency to your own mod, you will need to add this to your metadata.json file:
"relationships" : [
{
"rel_type" : "dependency",
"id" : "community_mod_framework",
"display_name" : "Community Mod Framework",
"resource_type" : "mod",
"version" : "2.*"
}
]Also remember to add the mod to your required items on your own mods steam page.
See the GitHub wiki for full documentation on setting up and using each feature, or the EU5 Paradox wiki which serves as quick reference.
This framework aims to preserve base game behavior by default. So if no other mod is used, the framework aims to be invisible to players.
The goal is to provide mods that make use of it, new ways to show content or hook into base game functionality.
ISC. See LICENSE.
