Repository navigation
Building & Deployment
vape edited this page Aug 15, 2026
·
3 revisions
Guide on compiling AmberPM and running a server.
The easiest way to compile AmberPM on Windows is using compile.bat in the root directory.
Run from command prompt:
compile.batcompile.bat automatically:
- Detects your local PHP installation (
bin\php\php.exeor systemphp). - Downloads
composer.pharautomatically if Composer is missing. - Runs
composer install --no-dev --classmap-authoritative --ignore-platform-reqsto optimize autoloading. - Compiles
PocketMine-MP.pharinto the root folder.
Requirements:
- PHP 8.2+ with
phar.readonly=0inphp.ini. - Composer installed.
Steps:
git clone https://github.com/Amber-PM/PocketmineMV.git
cd PocketmineMV
# Install dependencies and build classmap
composer install --no-dev --classmap-authoritative --ignore-platform-reqs
# Compile server phar
php -d phar.readonly=0 build/server-phar.phpPlace the compiled PocketMine-MP.phar in your server directory along with your start script.
Windows:
start.cmd
# or
start.ps1Linux / macOS:
./start.shAfter starting the server, check console output to verify AmberPM engine loading:
[Server thread/INFO]: Starting Minecraft: Bedrock Edition server version 1.26.40
[Server thread/INFO]: This server is running AmberPM