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).
