Legacy Leaderboards
Legacy Leaderboards is a Django + Django REST Framework backend that adds global leaderboard and achievement tracking functionality back to Minecraft Legacy Console Edition.
Features include: - Player profile creation and lookup by UID - Achievement catalog import and per-player unlock status - API endpoints to unlock/reset achievements for players - A server-rendered achievements UI page - Login/account linking so a website account can be tied to a player UID - It also stores achievements and each player's unlock status. - Additional leaderboard endpoints exist in code but are currently commented out in URL routing. (To be implemented in the future)
Check it out here: legacyleaderboards.jakefarrell.ie
Installation Instructions
- Download Minecraft LCE from my forked repo: https://github.com/CheeseLad/MinecraftConsoles
- Launch the game and click on "Achievements" in the main menu, this will open the website in your browser and prompt you to create an account and link it to your player UID.
- Once logged in, you can view your achievements and their unlock status on by clicking on
My Achievements. - To test it's all working, enter a world and open your inventory, this will unlock the "Open Inventory" achievement. Refresh the achievements page to see it update.
Main Routes
Auth + UI
GET /-> login pageGET /login/-> login pageGET /create-account/-> create account + link account to player UIDGET|POST /logout/GET /my-achievements/-> redirects logged-in user to their achievements pageGET /ui/achievements?uid=<player_uid>-> achievement cards UI for a player
API
GET /api/-> API root with discovered endpointsGET /api/achievement/list-> list all achievementsPOST /api/achievement/add-> set a player's achievement status totruePOST /api/achievement/remove-> set a player's achievement status tofalseGET /api/player?uid=<player_uid>-> player profile, stats, and achievementsPOST /api/player/add-> create player (uid,name)