Web-minecraft is minecraft client written in CoffeeScript. From web browser this client connects to node.js server and then to real minecraft server, so you can play minecraft in the browser.
Install locally
git clone https://github.com/michaljaz/web-minecraft
cd web-minecraft
npm i
Minecraft server setup
To run this game you need to start real minecraft server (by default it is 1.16.1 offline mode java edition on ip localhost:25565) you can also define it in */src/server.json* file.Development setup
#Start node server with webpack middleware
npm run dev
Production setup
#Cleaning dist folder (old game bundles)
npm run clean
#Building app bundle
npm run build
#Start node server and serve bundle files
npm start
Browser support
It is preferred to run this game on Google Chrome (best performance), but it could work on other browsers.


