-
Notifications
You must be signed in to change notification settings - Fork 2
Getting Started
This page is the shortest path to a working EasyLibrary 3.x server.
- PocketMine-MP 5.x.
- PHP 8.2 or newer.
- EasyLibrary 3.0.0-dev while the 3.x migration is still in development.
- Restart access. Package-backed providers are discovered during PMMP boot.
Install EasyLibrary.phar, start the server, then run:
/easylibrary doctor
/easylibrary packages doctor
/easylibrary config doctor
At minimum, every doctor should report Problems: 0.
For a quick performance snapshot of EasyLibrary-owned work:
/easylibrary timings
When changing config, reload only the safe config layer:
/easylibrary config reload
/easylibrary runtime reload reload-config
For package, proxy, component, command backend or permission changes, use:
/easylibrary runtime reload request-runtime-reload
That command reports restart boundaries. It does not hot-swap PHP/plugin state.
| Need | Recommended provider |
|---|---|
| One manager plugin owns official libs | Package-backed packages |
| A library must be an independent plugin | Standalone PHAR |
| Old 2.x full-bundle behavior | Stay on 2.x while migrating |
Do not keep standalone and package-backed copies active long-term for the same library. Mixed mode exists to make migration safe.
Package operations are dry-run by default:
/easylibrary packages install libcommand
To write files, enable package writes in config and repeat with confirm:
/easylibrary packages install libcommand stable confirm
restart server
/easylibrary packages doctor
Only hard-depend on EasyLibrary when your plugin cannot run without it:
depend:
- EasyLibraryUse soft dependencies for optional integrations:
softdepend:
- EasyLibrary
- LibCommand
- LibPlaceholder
- LibWorld- Package Manager
- Package Backed Plugins
- Standalone vs Package
- Package Switch and Migration
- Package Doctor
- Package Safety Gate
- Support Report Bundle
- Timings
- Package Recovery
- Proxy Troubleshooting
- Migrating from EasyLibrary 2.0 to 3.x
- Embedded Libraries Migration Map
- Removed Features and Replacements
- Deprecated APIs
- Compatibility Policy
- Config Migration
- 3x Dev Scope Checkpoint
- Plugin Developer Migration
- Server Administrator Migration
- Official Libraries
- LibPacket
- LibCommand
- LibSerializer
- LibForm
- LibDB
- LibCommons
- LibHttp
- LibAssets
- LibPlaceholder
- LibWorld
- EasyLibrary Agent Bridge
- LibCustom
- LibEnchantment
- LibHud
- LibTrigger
- LibWindow
- Public API Contract
- Module Boundary
- Module Smoke Matrix
- LibAsync Incubator
- LibReflect Incubator
- Doctor Output
- Repository Notifications
- Smoke Tests
- Common Errors
- Release and Changelog