@@ -1538,9 +1538,13 @@ Reload rereads config files for future EasyLibrary operations. It does not:
15381538 registration were removed from the active core :
15391539 ` PluginLanguageTrait` , `PluginResourcePacksTrait`,
15401540 ` PluginCdnResourcePackTrait` and `components\utils\ResourcePacks`.
1541+ - The unused `HttpUtils` and `FunctionUtils` helpers were removed from
1542+ ` components\utils ` .
15411543- ` imperazim\c omponents\f ilesystem\F ile` no longer depends on the removed
15421544 Config wrapper. New code should pass a directory string and file metadata, or
15431545 use PocketMine `Config` directly for normal config files.
1546+ - ` File` , `Path`, `FileExtensionTypes` and `FileSystemException` remain part of
1547+ the core filesystem direction and will be hardened rather than removed.
15441548- Component enable/disable notices now use PocketMine `TextFormat` constants
15451549 instead of raw section-sign color codes in `LibraryComponents`.
15461550
@@ -1581,6 +1585,17 @@ manifest validation, zip packaging, checksums, local registration and optional
15811585CDN integration. It should not be part of `LibCommons`, because resource packs
15821586need PocketMine lifecycle, filesystem state and server resource-pack handling.
15831587
1588+ ` HttpUtils` was removed because it performed synchronous HTTP through
1589+ ` file_get_contents` , which is not a good fit for PocketMine's main thread.
1590+ ` FunctionUtils` was removed because it was a global helper bound to
1591+ ` Library::getInstance()` and scheduler state, not a pure utility. Future HTTP
1592+ work belongs in `LibHttp`; delayed callbacks should use PocketMine scheduler or
1593+ a plugin-owned service.
1594+
1595+ The filesystem area is different : ` File` and `Path` are actively useful to the
1596+ core and remain part of the EasyLibrary direction. They may be renamed, moved or
1597+ hardened, but the idea should stay available.
1598+
15841599The component logging polish is intentionally small but useful for the 3.x
15851600cleanup : active core output should be generated through PocketMine formatting
15861601APIs instead of embedded formatting bytes. This keeps console output and future
@@ -1630,6 +1645,14 @@ $config = new Config($this->getDataFolder() . "settings.yml", Config::YAML, [
16301645]);
16311646` ` `
16321647
1648+ If old code used `HttpUtils`, move the HTTP call into your plugin for now and
1649+ avoid blocking the main thread. If old code used `FunctionUtils`, schedule the
1650+ task through the plugin scheduler directly :
1651+
1652+ ` ` ` php
1653+ $this->getScheduler()->scheduleDelayedTask($task, 20);
1654+ ` ` `
1655+
16331656Recommended mindset :
16341657
16351658` ` ` text
0 commit comments