Config Guard by FNT_ Mod saves automatic snapshots of your config files and lets you roll back any change. It shows exactly what changed between snapshots, line by line, with removed lines in red and added lines in green. You can restore one file or the whole folder, and every restore can be undone. This mod helps players who tweak modpacks, pack makers who test updates, and server owners who edit configs by hand. It works on the client, on a dedicated server, or on both, and it does not need to be installed on the other side.

Config Guard by FNT_ Mod

Features:

  • Automatic Snapshots: The mod takes a snapshot when the game starts and when it closes. On Fabric, the startup snapshot happens before other mods load and rewrite their files.
  • Visual Diff: You pick a snapshot, see the files that changed since then (new, changed, or deleted), and open a line-by-line diff with red for removed lines and green for added lines.
  • Safe Restore: You can restore one file or everything. Before restoring, the mod saves the current state as a new snapshot, so you can always undo a restore.
  • Change Detection: If config files change while the game is closed, like after a modpack update, manual editing, or another launcher, a notification tells you how many files changed.
  • Pinned Snapshots: Pinned snapshots are never removed on their own. Old unpinned snapshots get cleaned up once the limit is reached.
  • Compact Storage: Files are stored by their SHA-256 hash in the configguard/ folder, so a file that did not change is never stored twice.
  • You can take a snapshot by hand at any time and give it a label.
  • Works with any mod that keeps its settings in the config folder.
  • TOML, JSON, JSON5, properties, and other text files get a line diff, while binary files are listed with their size.
  • Server operators can do everything through chat commands.

Commands:

Commands are for operators (permission level 4), on dedicated servers and in single player with cheats turned on.

  • /configguard snapshot [label]: Takes a snapshot right now.
  • /configguard list: Lists snapshots, newest first. Click an id to see its changes.
  • /configguard changes <id>: Shows the files that changed since that snapshot.
  • /configguard diff <id> : Shows a line diff of one file in chat.
  • /configguard restore <id> [path]: Restores one file or all changed files.
  • /configguard pin <id>: Keeps a snapshot forever.
  • /configguard unpin <id>: Releases a pinned snapshot so it can be cleaned up.

Configuration:

Settings live in config/configguard.json, which is created on first launch.

  • trackedPaths: Files and folders in the game folder that get saved. Default: config, defaultconfigs, options.txt, server.properties.
  • excludedGlobs: Files that are skipped. Default: **.log, **.tmp, **.bak, **.lock, **.old.
  • maxFileSizeKb: Files bigger than this are skipped. Default: 1024.
  • maxSnapshots: How many unpinned snapshots are kept. Default: 40.
  • snapshotOnStartup: Takes a snapshot when the game starts. Default: true.
  • snapshotOnShutdown: Takes a snapshot when the game closes. Default: true.
  • notifyExternalChanges: Tells you about changes made while the game was closed. Default: true.

How to Use:

Using the Screen:

  1. On Fabric, open Mod Menu, pick ConfigGuard, and click the config button.
  2. On NeoForge, open Mods, pick ConfigGuard, and click Config.
  3. On any loader, set a key for Open ConfigGuard snapshots in Controls → Key Binds. It has no key by default.
  4. Pick a snapshot from the list to see which files changed since then.
  5. Click a file to see its line-by-line diff.
  6. Restore one file or everything; the current state is saved first as a new snapshot.
  7. Restart the game so mods read the restored files.

Using Commands:

  1. Make sure you are an operator with permission level 4, or have cheats on in single player.
  2. Type /configguard list to see your snapshots.
  3. Press Tab to get suggestions for snapshot ids and file paths.
  4. Use /configguard restore <id> [path] to bring back the old files.
  5. Restart the server so mods load the restored files.

Screenshots:

Config Guard by FNT_ Mod Screenshot 1
Snapshot list with saved config backups sorted by newest first
Config Guard by FNT_ Mod Screenshot 2
Changed config files marked as new, changed or deleted
Config Guard by FNT_ Mod Screenshot 3
Line-by-line diff with removed lines red and added lines green
Config Guard by FNT_ Mod Screenshot 4
Confirmation window shown before restoring config files from snapshot

Config Guard by FNT_ Mod Download Links

Filter by

For Minecraft 26.3

For Minecraft 26.2

For Minecraft 26.1.2, 26.1.1, 26.1

For Minecraft 1.21.11

For Minecraft 1.21.1, 1.21

For Minecraft 1.20.1, 1.20

For Minecraft 1.18.2

For Minecraft 1.16.5, 1.16.3

For Minecraft 1.12.2, 1.12

Click to rate this post!
[Total: 0 Average: 0]
QUICK MINECRAFT SURVEY · ONE TAP
Mods & Modpacks

Which item and recipe viewer mod do you prefer to have in your game?

45 responses · See the full results →