CRUX

Server side · versions · protocol

Supported versions (pillars)

Pillar versions come first and in-between versions are ported. Only server-side block and chunk access differs per version; the editor just reads that version's jar assets.

PillarCoversPaper (public)Fabric (private · single)World files
26.3Latest (and 26.2)✔✔✔
1.21.11.20.5 ~ 1.21.x✔✔ (also 1.21.11 · 1.21.4 · 1.21)✔
1.18.21.18 ~ 1.20.4✔✔ (also 1.20.4 · 1.20.2 · 1.20.1)✔
1.16.51.13 ~ 1.17✔ Java 8✔ Java 8✔
1.12.2Before 1.13✔ (via reflection)— (no Fabric)Via server only
  • One Paper jar (1.12.2 – 26.x); Fabric needs one per version. Forge and NeoForge private mode come later.
  • Works alongside the Crux plugin or server mod on the same server (libraries are relocated under crux/editor/…).
  • No conflicts with other world editing plugins or mods — the editor uses its own connection with no commands or tool items; it only shows that they are present.

Protocol

TCP between editor and server side; frame = [length 4 bytes][kind 1 byte][body]. Kind 0 = JSON, 2 = chunk (deflate). The server is authoritative: the editor sends op, the server checks permissions, applies it and sends patch (rev +1) to every editor.

DirectiontMeaning
E→ShelloConnect, version check → welcome (mode, perms, limits) or deny
E↔SsceneWhole scene (first time or when out of sync)
E→SopAdd, change, delete, move nodes (one undo step)
S→EpatchApplied change (rev, by whom)
E→Sregioncopy · cut · paste · move · fill · rotate · flip → job
S→EjobProgress, done, failed, cancelled
E→Sundo · redo · historyUndo (per person) · history
E→Schunklist · pregen (delete/regen next)
E→Sasset · prefabModel and prefab list, save, place, update original
E→SplayPlay mode start/stop (snapshot, restore)
S→EerrError (translation key)

Differences by driver

FeaturePaperFabric
Mob goal togglesPer goal on 1.16.5+; whole AI on 1.12.2Whole AI (black box)
Click hitboxesInteraction entities on 1.19.4+, invisible armour stands before; same path by UUID
Entity spawn (returns UUID)SupportedSupported (per-version implementation)
Runtime registry read1.12.2 (no data generator)—
Forge · NeoForgeEditor server component not supported (the Crux server mod and client support Forge and NeoForge)
Reading current attribute valuesSupportedNot supported; player defaults used when restoring
  • Version-dependent behavior is decided by one capability table, sent from the server to the editor on connect. Capabilities · limits

Save rules

  • When saving an object the server checks newly attached components against the rule table (nodes.json rules): ones that cannot attach to that kind are dropped and duplicate ids removed. Components that were already attached stay.
  • Transform: pos at the bottom centre, rot [yaw, pitch, roll], scale. Missing values are filled; with a Minecraft block attached it snaps to cells, 90° and scale 1.
  • The order under one parent is stored as an integer order value on the object.
  • When you switch platforms (Paper to Fabric) the data folder changes, so if the new folder has no scene the scene, prefabs and components are copied once from the other platform's folder (access token and undo history excluded; the originals stay).
  • Game rule names are matched to the server version automatically (snake_case from 1.21.11, camelCase before), including rules whose meaning is inverted between versions.
  • Crux client link: the camera component uses the server API cameraRig (camera_rig), camera nodes use cameraOp (camera_op), block outline uses blockOutline and client features use blockFeatures. A standalone editor server sends the same messages.

crux-docs · client 0.3.25 · plugin 1.4.0 · mc 26.3 · updated 2026-10-11 · report a mistake