--- title: VonixGuardian description: Server-side block, container and entity auditing with rollback. One engine, one jar per loader and Minecraft version. group: Minecraft mods updated: 2026-10-24 product: Minecraft tags: [audit, rollback, server-side] version: 2.2.1 --- VonixGuardian records who changed what — blocks, containers, entities, signs, explosions — and can roll those changes back. It runs on the server only. Every jar in a release line embeds the same `vonixguardian-core` build, so behaviour is identical across loaders and Minecraft versions; only the loader glue differs. ## Install 1. Stop the server. 2. Drop the jar that matches **both** your Minecraft version and your loader into `mods/`. 3. Start the server. On a Windows host you will see one line: `Directory metadata force is not supported on Windows 11; continuing with file-level force only` — that is expected. 4. Run `/vg status` in the console. The command exists only if the engine booted. If `/vg` is missing, the log says why: `VonixGuardian engine is not running: /vg is NOT registered on this server` sits directly under the boot stack trace. Loader, Minecraft and schema rules: [supported versions and schema](/minecraft/compatibility/). ## Commands `/vg` requires op level 2 by default; `/guardian` is an alias. | Command | What it does | |---|---| | `/vg status` | Queue depth, drops, quarantine counters, open rollback batches | | `/vg inspect` | Look up actions at the block you are looking at | | `/vg near` | Recent actions around you | | `/vg lookup ` | Query the audit log | | `/vg rollback ` | Reverse matching actions | | `/vg restore ` | Re-apply matching actions | | `/vg undo` | Undo the last rollback or restore you ran | | `/vg purge ` | Delete matching history | | `/vg teleport ` | Move to a recorded position | | `/vg consumer pause\|resume\|toggle` | Pause or resume consumption of live events | | `/vg config get\|set` | Read or change a config key at runtime | | `/vg entitylog list\|add\|remove` | Control which entities are logged | | `/vg migrate-db ` | Copy the database to another backend | | `/vg reload`, `/vg help`, `/vg version` | Reload config, list commands, print the build version | ## What 2.2.1 fixed 2.2.0 forced the parent directory of the durable quarantine journal with a **directory-channel fsync**. Windows cannot open a directory that way, so the engine threw during boot, the loader caught it, and command registration — which waits for a successful boot — never ran. The server looked healthy and had no commands at all. 2.2.1 detects the platform by capability instead of by name: on anything that cannot express a directory fsync the barrier is skipped **once** with a warning, the journal file itself is still forced through its own channel, and a real I/O error still fails closed. This affects every loader cell, not only the newest Minecraft versions. ## What 2.2.0 changed - **Orphaned block entities after rollback.** A rollback that cleared or replaced a block used a plain air write, which can leave a stale block entity behind; later chunk loads then threw `ClassCastException` in bed and banner entities. Every removing inverse now clears through one path that writes air first, removes a survivor, and reports failure instead of success when the clear does not land. - **NBT is applied only to an entity that belongs to the target block.** A place that targets a block entity fails when no entity is present after the write. - **Container deposit rollback** counts matching stacks before shrinking any of them, so a short quantity fails with the remainder intact. - **Admission drops** are journaled to the durable quarantine before the counter moves, while the quarantine has capacity. A full quarantine counts and logs the drop but cannot retain it. ## Defaults worth knowing - `rollback.requireConfirm` defaults to **false**. - `purge.autoPurgeSeconds` stays **0** — unbounded retention, with one boot warning. - `privacy.hashIps: true` with the placeholder salt is a **hard validation error**, not a warning. - Schema version stays **9** in the 2.2.x line. ## Known limitations Pre-existing in the 2.1.x line and scheduled for 2.3.0 — not regressions in 2.2.x: - A removing inverse does not compare the current block against the logged action, so rolling back an old placement can clear a block that was placed there later. This matches the shipped 2.1.2 behaviour. - Id-only container removal preflights the quantity but does not compensate a mid-mutation exception. - A failed compensation is reported as a failed action, not escalated to `REPAIR_REQUIRED` — that needs a richer mutation result type. - A rejected explosion handoff is journaled as a loss record (`entries=` at the blast centre) and is not a rollback source. ## Notes for operators - Rollback is a mutation: take a world backup before a large one. `/vg undo` covers the last batch you ran, not an arbitrary point in history. - `purge` deletes history. It is the one command here that cannot be undone by `/vg undo`. - A full quarantine is a capacity warning, not a crash: drops are counted and logged even when they cannot be retained.