In Nei how do I find the configuration file? I am trying to lock it to a mode where it only shows me the recipes and I can't cheat in anything even if I wanted to. But I can't find the configuration file.
For the mod NEI (NeverEnoughItems), your configuration file can be found here:
or more familiarily: C:/Users/[Your username]/Roaming/.minecraft/config/NEI.cfg
As for adding a lock on cheatmode, simply change this line in the configuration file:
Line 22 - Deactivate Cheatmode
Line 29 - Activating Lockmode
Note: Line numbers may vary from version to version.
I suspect that if this is a mod pack then the settings will be in user mode but the main setting are set in global,
Open the NEI setting by pressing E then click options in the bottom left then click inventory.
in the top right there will be a button you need to make sure this says global before making any changes to the settings so that they apply to the game as a whole.
Hope this helps. this is the case with most mod packs.