What is Cloth Config for?
Cloth Config is a developer library (API) used by modders to create in-game configuration screens. Instead of forcing you to open a folder and edit a .json or .toml file with a text editor, mods that use Cloth Config allow you to change settings – like keybinds, graphics, or gameplay toggles – directly through a clean, visual menu inside the game.
Is Cloth Config API server-side?
No. Since Cloth Config is primarily used to generate a user interface (GUI) for the player to interact with, it is almost strictly a client-side mod. While it can be installed on a server without causing issues, it is typically only required on the player's computer so they can access the settings menus.
What’s the difference between Cloth Config and cloth-config2?
They are essentially the same mod. "cloth-config-2" is simply the internal mod ID used by the mod starting with its second major version. When you see a mod saying it "requires cloth-config-2," it is just asking for the modern version of the Cloth Config API found on CurseForge.
How does Cloth Config compare to Mod Menu?
Mod Menu is a mod that adds the "Mods" button to your main screen and lists your installed mods. Cloth Config is a mod that provides the actual "Settings" screen you see after you click the "Configure" button for a specific mod in that list.
How does Cloth Config compare to Fabric API?
Fabric API is a massive, "all-in-one" library that allows mods to interact with the game’s core code (like blocks and items). Cloth Config is a specialized, optional library that only handles configuration menus. Most Fabric mods will require Fabric API to run, but they only require Cloth Config if the developer wants to give you an easy-to-use settings menu.