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
| Software | Crux server features | Crux Editor (server side) |
|---|---|---|
| Paper · Purpur · Spigot · Leaves | Plugin — events and API only | Plugin — API. Tick-freeze agent only on 1.12.2 – 1.20.2 (below, optional) |
| Folia | Plugin — regionized scheduler API | Not supported yet |
| Fabric · Quilt · Forge · NeoForge | Server mod — mixins (first table below) | Fabric mod — 26.x uses vanilla /tick (no injection), tick-freeze mixins only on older versions |
| Velocity · BungeeCord | Proxy 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.
| Class | Method | Used by |
|---|---|---|
PlayerList | canPlayerLogin · placeNewPlayer · remove | Login checks (ban · maintenance · Crux-only) · join · quit |
ServerGamePacketListenerImpl | handleChat | Chat filter · mute · chat format |
ServerCommonPacketListenerImpl | handleCustomPayload | Detect the Crux client (brand · crux:api channel) |
ServerPlayerGameMode | destroyBlock · useItemOn | Region protection · block log |
BlockItem | place | Region protection · block log (placing) |
ServerPlayer | hurtServer · die · getTabListDisplayName · broadcastToPlayer | Region PvP flag · /back on death · tab name · vanish |
Player | getDisplayName | Nickname · 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) | Method | Frozen |
|---|---|---|
MinecraftServer / WorldServer | tickTime · doTick | Freeze time · weather |
WorldServer | tickChunk · runBlockEvents · doMobSpawning | Freeze random ticks · block events · special spawns |
World | tickBlockEntities · entityJoinedWorld | Freeze block entities · entities (players excluded) |
TickListServer | tick | Freeze scheduled ticks (fluids · redstone) |
SpawnerCreature · PersistentRaid · WorldBorder · EnderDragonBattle | tick · spawnForChunk | Freeze 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.
| Class | Method |
|---|---|
ServerLevel | tickTime · advanceWeatherCycle · tickChunk |
Level | tickBlockEntities |
LevelTicks | tick |
NaturalSpawner | spawnForChunk |
Raids | tick |
WorldBorder | tick |
EndDragonFight | tick |
MinecraftServer | server 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