git clone https://github.com/open-mc/client
cd client
npx static-server -p 80 -c "*" -z
Explanation
git clone https://github.com/open-mc/client
- Clone this repository into a local folder (download the client) using the popular version control system git
.
cd client
- Change directory to this new folder.
npx static-server -p 80 -c "*" -z
- Start a static HTTP server to make the folder's content available on http://localhost.
-p 80
specifies port 80 which is the default for HTTP-c "*"
adds required HTTP header for the client to function properly-z
disables caching so file changes are available immediately.
Note: Client does not currently support singleplayer (coming soon!), get the server software over at https://github.com/open-mc/server