
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.
<?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.
- lobbyspawn, hub, queue signsloaded
- skywars-aarena copy, reset between roundsloaded
- skywars-barena copy, reset between roundsloaded
- survivalpersistent, saved on a scheduleloaded
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.
curl -sL https://getaltay.org/download | bash -s -Nothing here is a black box.
All repositories- BedrockProtocolMinecraft: Bedrock Edition protocol implementation in PHP.PHPLGPL-3.0
- RakLibRakNet server implementation that carries every Bedrock connection.PHPGPL-3.0
- RakLibIpcChannel based inter-thread communication protocol for RakLib.PHPGPL-3.0
- NBTReader and writer for Mojang's Named Binary Tag format.PHPLGPL-3.0
- NetworkCentral network library shared across the Altay family.PHPGPL-3.0
- BedrockDataData blobs generated from the vanilla game and consumed at runtime.PythonCC0-1.0
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.