All projects

MCDB

A Java plugin for a Minecraft server that stores data as wool blocks in the world and answers SQL-like queries over HTTP. MCSocial, a demo social website, runs on it.

Role
Built the plugin and MCSocial
Built with
Java, JavaScript, HTTP
Status
Open source
Links
Source · Video
Two windows side by side: on the left, a browser showing a cat gallery page loaded from localhost:8000/files/index.html; on the right, a tall tower of multicolored wool blocks in a Minecraft world.
Left: a web page served by MCDB from localhost:8000/files/index.html. Right: the wool blocks in the Minecraft world that store that page's HTML.

What it does

MCDB started as a joke about using a game as a database. The plugin stores data as Minecraft wool blocks and accepts SQL-like queries over HTTP. MCSocial, a demo social website, uses it to serve pages, posts, and uploaded files straight from the Minecraft world.

What I did

  • Built the Java plugin that reads and writes data stored as wool blocks.
  • Wrote the JavaScript for the MCSocial demo website.
  • Implemented user registration and token-based authentication.
  • Added a server-side check that a request's token belongs to a post's owner before the post can be deleted.

One decision

For MCSocial, I needed to organize posts and profiles, let users sign in, and control who could delete a post. I replaced separate operation endpoints with SQL-like commands sent to a single query endpoint, then added registration and token-based authentication.

A user could edit a delete request in the browser to target someone else's post. So I made the server check the request's login token against the post's owner before allowing deletion.

Evidence

  • Source on GitHub, with instructions for running the demo.
  • Video on YouTube explaining binary and hexadecimal storage, HTTP requests, and MCSocial authentication.
  • A promotional TikTok for the project recorded 179,000+ views (as of November 28, 2026).

Want to talk about MCDB?

Email is the fastest way to reach me. My résumé covers all four projects on one page.