VonixGuardian
Server-side block, container and entity auditing with rollback. One engine, one jar per loader and Minecraft version.
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
- Stop the server.
- Drop the jar that matches both your Minecraft version and your loader into
mods/. - 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. - Run
/vg statusin 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.
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 <filter> | Query the audit log | ||
/vg rollback <filter> | Reverse matching actions | ||
/vg restore <filter> | Re-apply matching actions | ||
/vg undo | Undo the last rollback or restore you ran | ||
/vg purge <filter> | Delete matching history | ||
/vg teleport <world> <coords> | 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 <target> | 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
ClassCastExceptionin 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.requireConfirmdefaults to false.purge.autoPurgeSecondsstays 0 — unbounded retention, with one boot warning.privacy.hashIps: truewith 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=<n>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 undocovers the last batch you ran, not an arbitrary point in history. purgedeletes 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.
Published files
72 jars · 10 Minecraft versions · fabric, forge, neoforge
Download pages: CurseForge project