VanillaGenerator adds the vanilla_overworld and vanilla_nether world generators to Axolotl-PM. The generator is ported from Glowstone, and its license notices are preserved in LICENSE.
- Axolotl-PM with API
5.8.0or later. - PHP
8.4for the project build and static analysis workflow.
Download VanillaGenerator.phar from the latest GitHub release. Copy it into the server's plugins/ directory, then restart the server.
Set the generator under the world's folder name in pocketmine.yml:
worlds:
world:
generator: vanilla_overworld
nether:
generator: vanilla_netherChoose the generator before creating the world. Existing chunks keep their current terrain. The selected generator creates terrain in new chunks.
The GitHub Actions workflow uses AxolotlBucketLabs DevTools to build and inspect the PHAR. It runs PHPStan at level max against Axolotl-PM source and uploads the PHAR with build metadata as a workflow artifact. The workflow uses PHP 8.4.
To build locally, run the DevTools CLI from the project root:
php -d phar.readonly=0 /path/to/DevTools/bin/devtools.php build --project=. --out=buildThe repository also provides the generator classes as a virion for plugins that call them directly. Add muqsit/vanillagenerator from this repository to the consumer's Composer dependencies, then declare VanillaGenerator in its devtools.yml. The standalone plugin remains useful when a server needs the generator registrations without bundling the classes into another plugin.
VanillaGenerator is distributed under the MIT License. See LICENSE for the notices and terms.