CRUX

Where Crux changes server code (injection disclosure)

Every place Crux changes server game code, how it is changed, and how to turn it off. Places not listed here are not changed. This list is kept identical to the code (updated together).

Principles

  • Insert only — original methods are never replaced. One check at the start of a method (the original runs unless the condition holds)
  • Missing target = that spot is skipped — the server still starts and only that feature turns off (one log line)
  • Official API first — the Paper · Bukkit plugin works only through events and API (no injection)
  • No packet interception — Crux does not hook the network pipeline (Netty)

Method by server software

SoftwareCrux server featuresCrux Editor (server side)
Paper · Purpur · Spigot · LeavesPlugin — events and API onlyPlugin — API. Tick-freeze agent only on 1.12.2 – 1.20.2 (below, optional)
FoliaPlugin — regionized scheduler APINot supported yet
Fabric · Quilt · Forge · NeoForgeServer mod — mixins (first table below)Fabric mod — 26.x uses vanilla /tick (no injection), tick-freeze mixins only on older versions
Velocity · BungeeCordProxy plugin — API only—

Server mod mixins (Fabric · Forge · NeoForge)

Mod servers have no plugin events, so the same features use mixin @Inject (HEAD · cancellable). Names differ by version; the spots are the same.

ClassMethodUsed by
PlayerListcanPlayerLogin · placeNewPlayer · removeLogin checks (ban · maintenance · Crux-only) · join · quit
ServerGamePacketListenerImplhandleChatChat filter · mute · chat format
ServerCommonPacketListenerImplhandleCustomPayloadDetect the Crux client (brand · crux:api channel)
ServerPlayerGameModedestroyBlock · useItemOnRegion protection · block log
BlockItemplaceRegion protection · block log (placing)
ServerPlayerhurtServer · die · getTabListDisplayName · broadcastToPlayerRegion PvP flag · /back on death · tab name · vanish
PlayergetDisplayNameNickname · title

Turning a feature off in config makes its check pass straight through (vanilla behavior). If another mod provides the same feature, autoOff disables the Crux side.

Editor tick-freeze agent (Paper 1.12.2 – 1.20.2)

A Java agent that gives older versions without vanilla /tick freeze the same "freeze world" scope in the editor. 1.20.3+ uses vanilla /tick, so no agent.

  • How it attaches: the Crux launcher adds -javaagent:crux-editor/tick-agent.jar=<version> when starting the server (the editor plugin extracts that jar). Starting without the launcher = no agent; freezing falls back to event cancelling (slightly less complete)
  • What it does: one "skip while frozen" check at the start of the methods below. When not frozen, everything runs as before
  • Turning it off: remove it from the launcher server start arguments or delete crux-editor/tick-agent.jar
Class (Spigot names)MethodFrozen
MinecraftServer / WorldServertickTime · doTickFreeze time · weather
WorldServertickChunk · runBlockEvents · doMobSpawningFreeze random ticks · block events · special spawns
WorldtickBlockEntities · entityJoinedWorldFreeze block entities · entities (players excluded)
TickListServertickFreeze scheduled ticks (fluids · redstone)
SpawnerCreature · PersistentRaid · WorldBorder · EnderDragonBattletick · spawnForChunkFreeze mob spawning · raids · world border · dragon fight

Editor tick-freeze mixins (older Fabric versions)

Same scope as the agent via Fabric mixins (only versions without /tick such as 1.16.5 · 1.18.2 · 1.20.1). All @Inject HEAD, cancelled only while frozen.

ClassMethod
ServerLeveltickTime · advanceWeatherCycle · tickChunk
LeveltickBlockEntities
LevelTickstick
NaturalSpawnerspawnForChunk
Raidstick
WorldBordertick
EndDragonFighttick
MinecraftServerserver tick (freeze check)

Not injection (official API)

  • Mob AI goal toggles — Paper Goal API (1.16.5+), otherwise setAI for the whole AI
  • Displays · rigidbodies · sensing · UI — entity API and commands (no server code changes)
  • Client-side changes are listed separately: Client mod › Where Crux changes the game

How to verify

  • Downloaded jar sha256 matches the web download table and the launcher
  • Server log: each attached spot and each missing target is logged once
  • New patch points are listed here before they ship

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