promotional bannermobile promotional banner
premium banner
A simple mod that prevents WorldEdit from hanging the Minecraft server when the server is stopping

Description

A simple mod that prevents WorldEdit from hanging the Minecraft server when the server is stopping

It fixes https://github.com/EngineHub/WorldEdit/issues/2459. What it does:

  • Shutdown WorldEdit.getInstance().getExecutorService() on dedicated server stop (or it will hang the server for maximum 60s)
  • Ensure the singleton java.util.Timer object in FutureProgressListener runs on a daemon thread (or it will hang the server forever)

Supported environment

Platform Minecraft WorldEdit
fabric MC >= 1.14 >=7.0.0
forge MC >= 1.15 >=7.0.0
neoforge MC >= 1.20.6 >=7.0.0