Spyglass - an open-source CoreProtect alternative

U

/u/ajmata2

Guest
A bit of background: I’m heading into a Master's for CS, and some server-owner friends asked me to build them a CoreProtect alternative. They gave me the specs and wanted it running on ClickHouse, so that's where I started - then I added MongoDB (a personal preference) and SQLite (for zero-setup ease) as two more backends. I began in March 2026, and after a lot of iteration it's at a point where I'd call it production ready.

Essentially, the plugin provides forensic logging + rollback abilities. It records 40+ event types (blocks, containers, chat, commands, combat, movement, WorldEdit/FAWE), lets you search them with a key:value query language, and rolls any of it back by block, player, cause, or in bulk - while the server holds 20 TPS.

Highlights:

  • 4 backends: SQLite, MySQL, MongoDB, ClickHouse (recommended)
  • ~2,000,000 blocks rolled back in ~5s on ClickHouse at a steady 20 TPS, benchmarked head-to-head against CoreProtect on both of its backends.
  • Runs almost completely off the main-thread.
  • Leaner on disk too - that same 2M-block dataset is ~11 MiB on ClickHouse, 150MB on CoreProtect.
  • Retention periods for different event types
  • Optional Velocity companion for read-only cross-server search
  • Container salvage GUI, IP lookups, inspector wand, full WorldEdit/FAWE capture

Queries look like:

/sg search p:Steve b:diamond_ore t:1d r:50

/sg rollback p:griefer a:break,!place t:6h r:100

It's completely free and so is support, we run a support Discord at no cost. Give it a chance and let me know what you think; feedback and bug reports are genuinely welcome.

SpigotMC: https://www.spigotmc.org/resources/spyglass.136345/

1,000+ player Spark Profile, provided by Crusalis: https://spark.lucko.me/5JzJrfOmaM

A couple youtube videos showcasing our commands / speed:



SUPPORT DISCORD: https://discord.gg/7kxDxMYKyW

SOURCE: https://github.com/medievalrp-net/Spyglass

submitted by /u/ajmata2
[link] [comments]

Continue reading...
 
Back
Top