Web-based Minecraft-compatible client using voxel.js, connects to Minecraft servers using WebSockets
Prebuilt integrated builds are available to download from:
- CircleCI - click the latest build then expand "Artifacts" (requires logging in with GitHub)
-
Download the .jar file and place it in the
plugins
ormods
folder of your Bukkit or Sponge server -
Login to your server using the official Minecraft client
-
Click the "Web client enabled (click to view)" link you receive upon login, and open it in your web browser
You should now be disconnected in the vanilla client, and logged in from the voxel-clientmc web-based client.
Once you're logged in, the link you've received in step 3 can be reused to re-login via the web browser
as long as the server is up. You can also use the /web
command from the console or as a user to retrieve this URL.
For advanced proxy configuration and more details, see the wsmc documentation.
Screenshot of step 2, when you first login:
Clicking the per-user link will allow you to open the web client:
And then you'll be logged out and logged in via the web-based client:
Very incomplete, many bugs and missing features. The client is able to observe and interact with the world in a primitive manner, but full survival gameplay is not yet possible.
For details on the current protocol implementation status, see: #23
The integrated build includes several separate components, pre-packaged together for convenience:
In order to allow connecting from a web browser, the Minecraft server is exposed through a WebSocket via the wsmc (WebSocket/Mincraft) proxy. Integrated builds include the Java version of wsmc, but a Node.js version is also available. wsmc/Java can be ran as a Bukkit plugin, or standalone.
WSMC is developed in a separate repository, https://github.com/deathcap/wsmc.
The bulk of this project is composed of a voxel.js plugin, "voxel-clientmc", maintained in this repository. This plugin connects to a wsmc proxy using a WebSocket, via the mineflayer abstraction layer, and ties it into voxel.js for GUI interaction. voxel-clientmc is built from a handful of small modules, injected at runtime. You can build your own voxel.js app with this plugin.
The application in app/
combines the voxel-clientmc plugin with the
voxel-engine-stackgl engine
and numerous other voxel.js plugins to provide various functionality in the voxel.js environment.
This app is browserified and made available through wsmc/Java's HTTP server.
MIT