How to Automatically Load Config Presets per World or Server
Different servers and singleplayer worlds often call for different client settings. A multiplayer server might forbid certain mod features that you normally keep turned on in your personal creative world. Craft Config Lib includes a World and Server Rules feature that switches your setting profiles automatically depending on where you log in.
Linking a Preset to a Destination
Before setting up automatic rules, make sure you have already configured and saved the presets you want to use inside your mod's setting screen.
1. Open the configuration menu for the mod you want to automate.
2. Navigate to the World and Server Rules section inside the setting screen.
3. Create a rule for your specific singleplayer world or multiplayer server.
4. Assign one of your saved config presets to that world or server entry.
How Automatic Switching Works
Once your rules are linked, you no longer need to open the mod menu before joining a game. Whenever you load into that specific singleplayer world or connect to that multiplayer server, Craft Config Lib recognizes the destination and applies your chosen preset automatically. When you disconnect and join a different world or server with its own rule, your settings will swap over to match the new location.