A Minecraft: Java Edition Client based on Phpcraft.
You'll need PHP, Composer, and Git.
apt-get -y install php-cli composer git
First, we'll clone the repository and generate the autoload script:
git clone https://github.com/Phpcraft/client "Phpcraft Client" cd "Phpcraft Client" composer install --no-suggest --ignore-platform-reqs
Next, we'll run a self check:
If any dependencies are missing, follow the instructions, and then run the self check again.
To update the Phpcraft Client and its dependencies:
git stash git pull composer update --no-dev --no-suggest --ignore-platform-reqs git stash pop
If you have made local changes, they will be saved and re-applied after the update.
Now that you've got the Phpcraft Client all set up, you can start it:
It also has built-in commands; type
.help in it for more information.