Speedgot
ProtectCore | Anti Grief - Action Logger - Web UI |
-----
Modern, powerful and web powered alternative to coreprotect
Download Now
362.3 KB .jar
Overview
Updates (
--
)
Reviews (
---
)
Version History
Discussion
shutdown improvements
Shutdown / WorldEdit drain fixes
Fixed plugin shutdown error caused by WorldEdit queue draining trying to register Bukkit tasks after the plugin was already disabling.
Removed scheduled/asynchronous WorldEdit drain usage from
onDisable()
.
Changed shutdown flow to use a direct, synchronous WorldEdit queue drain instead.
Kept shutdown order safe: unregister WorldEdit bridge first, drain WorldEdit queues second, flush database queue last.
ProtectCore shutdown flow
Updated
ProtectCore.onDisable()
to stop new WorldEdit hooks before draining pending edit logs.
Replaced
WELoggingExtent.flushAllQueues(...)
+ async drain waiting with
WELoggingExtent.flushAllQueuesDirect()
.
Ensured database shutdown happens only after WorldEdit entries have been pushed into the DB queue.
Preserved final scheduler cancellation at the end of shutdown instead of relying on scheduled drain tasks.
WELoggingExtent changes
Added a direct shutdown-safe queue flush path that does not use
runTask
,
runTaskTimer
,
BukkitRunnable
, or Paper schedulers.
Direct drain now polls queued WorldEdit entries and logs them straight into the database queue.
Direct drain builds log metadata the same way as the normal scheduled drain, including origin, material, block data, and pretty material name.
Direct drain safely handles unknown/missing worlds by dropping queued entries with a warning instead of crashing shutdown.
Reset drain state cleanly after direct flushing finishes.
Stability / safety improvements
Avoided illegal task registration during plugin disable, preventing
IllegalPluginAccessException
.
Reduced shutdown race risk between queued WorldEdit drain work and database shutdown.
Kept database queue acceptance window open long enough for shutdown-drained WorldEdit entries to be persisted.
Improved reliability of graceful shutdown for pending WorldEdit block change logs.
Please consider leaving a good review for the plugin.
Discord Support
----------
,
Yesterday at 3:54 PM
View on SpigotMC
Resource Information
Author:
----------
Total Downloads:
20
First Release:
Nov 10, 2025
Last Update:
Yesterday at 3:54 PM
Category:
---------------
All-Time Rating:
1 ratings
Version
-----
Released:
--------------------
Downloads:
------
Version Rating:
----------------------
--
ratings