Skip to content
A Minecraft: Java Edition Client based on Phpcraft.
PHP
Branch: master
Clone or download
Latest commit 1326333 Jan 28, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add FUNDING.yml Dec 2, 2019
plugins Add WorldSaver plugin Dec 24, 2019
.anylint Initial commit Dec 2, 2019
.gitattributes Initial commit Dec 2, 2019
.gitignore
LICENSE
README.md Initial commit Dec 2, 2019
client.php Fix some issues Jan 28, 2020
composer.json Update to craft/core 0.5 Jan 24, 2020

README.md

Phpcraft Client

A Minecraft: Java Edition Client based on Phpcraft.

Prerequisites

You'll need PHP, Composer, and Git.

Instructions

  • Debian: apt-get -y install php-cli composer git
  • Windows:
    1. Install Cone, which will install the latest PHP with it.
    2. Run cone get composer as administrator.
    3. Install Git for Windows.

Setup

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:

php vendor/craft/core/selfcheck.php

If any dependencies are missing, follow the instructions, and then run the self check again.

Updating

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.

That's it!

Now that you've got the Phpcraft Client all set up, you can start it:

php client.php

It also has built-in commands; type .help in it for more information.

You can’t perform that action at this time.