Skip to content

SnCustomCrafting v2.0.1

Choose a tag to compare

@ValentinTarnovsky ValentinTarnovsky released this 06 Aug 13:55
· 22 commits to main since this release

Fixes

/customcrafting set no longer freezes the server. Every set parked the main thread for
ten seconds and tripped Paper's watchdog ("The server has not responded for 10 seconds"),
followed by Can't keep up!. /customcrafting remove did the same, and a set onto a block
that already held a workstation paid it twice.

The workstation write handed the file to the async scheduler and then waited for it on the main
thread - the same thread that has to dispatch the task. The wait could only expire, never
succeed. Both commands now return within a tick, and the workstation is still persisted
immediately.

No data was ever at risk: the file was always written, just ten seconds late.

Changes

  • config.yml no longer ships the update-check block. The releases feed is public, so
    anonymous polling already works and the token was never needed. Existing servers can leave the
    key in place - it is ignored.

Installation

Download the JAR below and place in your plugins folder. Requires SnLib 1.24.0 or newer.