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.

  • possible duplicate of Lock mode to Utility in NEI config? – Caleb Jul 16 '14 at 7:40
  • @Caleb This is not a duplicate of that, this is about the physical location on the disk, not "how do I change something in the file?" – Arperum Jul 16 '14 at 7:44
  • @Arperum Thanks for pointing that out, I have retracted my close vote. – Caleb Jul 16 '14 at 7:45
  • andy has two posts about oposite things, in this one he can't get in cheat mode in the other he is stuck in cheat mode somethiing doesnt seem right gaming.stackexchange.com/questions/177035/… – Flaunting Jul 16 '14 at 7:55

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.

  • This doesn't answer the question. He asked where the config file was located. – Caleb Jul 16 '14 at 7:52
  • The question is specific to the config file, not for the ingame location of the settings – Arperum Jul 16 '14 at 7:53
  • I'm guessing that he doesnt know about the setting. all options in the config other than lock mode are in options. – Flaunting Jul 16 '14 at 7:54
  • this is also his second post he just wants to know how to change between the two modes – Flaunting Jul 16 '14 at 7:55
  • I'm pretty sure he wants to know how to get into lock mode. Quote: I am trying to get it to be in a mode where it only shows me the recipes and I can't cheat in anything even if I wanted to – Caleb Jul 16 '14 at 7:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.