Bedrock server software

Run Bedrock on code you can read.

Object oriented Minecraft: Bedrock Edition server software written in PHP. Drop in a plugin, restart, watch it work. No compile step, no black box.

Altay is a fork of PocketMine-MP. Same API, same plugin ecosystem, same documentation, carried forward by a separate team.

The plugin API is the product.

Everything the server does goes through events, handlers and managers you can hook into. Write a class, register it, and the behaviour is yours. The same API PocketMine-MP developers already know, so the existing ecosystem and documentation carry straight over.

src/Main.phpPHP
<?php

namespace altay\greeter;

use pocketmine\event\Listener;
use pocketmine\event\player\PlayerJoinEvent;
use pocketmine\plugin\PluginBase;

class Main extends PluginBase implements Listener{

    protected function onEnable() : void{
        $this->getServer()->getPluginManager()->registerEvents($this, $this);
    }

    public function onJoin(PlayerJoinEvent $event) : void{
        $event->getPlayer()->sendMessage("Welcome back.");
    }
}

One process, many worlds.

Lobby, minigame arena and survival map on the same node. Load and unload worlds while the server runs and move players between them without a transfer, which keeps both the hosting bill and the operational surface small.

Worlds are directories under worlds/. The upstream project reports 100+ concurrent players on one server, depending on hardware and the plugins you run.

One command and it is running.

The installer picks the newest release, matches it to the right PHP build for your machine, wires up the extensions and leaves you with a start.sh.

Linux and macOS. Windows and manual installs are on the downloads page.

Install
curl -sL https://getaltay.org/download | bash -s -

Nothing here is a black box.

All repositories

Got stuck? Someone is awake.

Server owners and plugin developers hang around the Discord. Bugs belong on the issue tracker, where they can actually be fixed.