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. By default node.js server is served at http://localhost:8080.
#Clone repo
git clone https://github.com/michaljaz/web-minecraft
cd web-minecraft
#Install node.js libraries
npm install
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.
#Optionally you can run lite minecraft server (flying-squid)
npm run server
#Start node server with webpack middleware (That will start webserver at http://localhost:8080)
npm run dev
#Cleaning dist folder (old game bundles)
npm run clean
#Building app bundle
npm run build
#Start node server and serve bundle files (That will start webserver ad http://localhost:8080)
npm start


