Giter Club home page Giter Club logo

client's Introduction

Phpcraft Client

A Minecraft: Java Edition Client based on Phpcraft.

This project has been abandoned! The limited subset of 1.8.x - 1.15.x that has been implemented should work fine. If and how anything after that works is entirely dependant on what changed about the protocol.

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.

client's People

Contributors

sainan avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

client's Issues

Error

Resolved to mcs.gg:25565
Loading plugins...
Loaded 10 plugin(s).
Connecting using 1.16.1...
Connection established.
Logging in...
Success!

[WorldSaver] Failed to open world.bin.
<00000MatrixAlt01> PHP Fatal error: Uncaught Phpcraft\Exception\IOException: Failed to decompress packet data in /home/pi/Phpcraft Client/vendor/craft/core/src/Connection.php:750
Stack trace:
#0 /home/pi/Phpcraft Client/client.php(248): Phpcraft\Connection->readPacket()
#1 /home/pi/Phpcraft Client/vendor/hell-sh/asyncore/src/Asyncore.php(184): {closure}()
#2 /home/pi/Phpcraft Client/client.php(778): Asyncore\Asyncore::loop()
#3 {main}
thrown in /home/pi/Phpcraft Client/vendor/craft/core/src/Connection.php on line 750

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.