Skip to content

sourmilka/mineraftserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

28 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Minecraft Enchantment Tracker

A comprehensive web application for managing and tracking enchantments for your Minecraft server's villager trading hall. Built with Next.js, MongoDB, and deployed on Vercel.

๐Ÿš€ Live Demo

โœจ Features

๐Ÿ“Š Dashboard

  • Real-time progress tracking
  • Overall completion percentage
  • Category-wise breakdown (Armor, Weapons, Tools)
  • Visual progress bars with Minecraft theming

โœจ Enchantments Page

  • Complete list of all Minecraft enchantments
  • Search and filter functionality
  • Status tracking (To-Do, In Progress, Done)
  • Detailed enchantment information (workstation, max level, compatible items)

๐Ÿ“ฆ Items Page

  • Comprehensive item list organized by category
  • Required and optional enchantments for each item
  • Optimal anvil order calculations
  • Progress tracking for each item
  • Category filtering

โœ… To-Do List

  • Interactive checklist for workstation completion
  • Click to toggle status (To-Do โ†’ In Progress โ†’ Done)
  • Real-time database updates
  • User tracking (who completed what)
  • Visual sparkle effects on completion

๐Ÿ› ๏ธ Tech Stack

  • Frontend: Next.js 15 with TypeScript
  • Styling: Tailwind CSS with custom Minecraft theme
  • Database: MongoDB Atlas
  • Deployment: Vercel
  • Version Control: GitHub
  • Animation: Framer Motion
  • Icons: Lucide React

๐Ÿ“‹ Database Schema

Enchantments

  • Name, description, max level
  • Workstation type
  • Compatible items
  • Status (todo/inprogress/done)
  • Update tracking

Items

  • Name, category
  • Required enchantments (with levels)
  • Optimal anvil order
  • Progress percentage
  • Notes and tips

Users

  • Username, email, role

Logs

  • Action tracking
  • User attribution
  • Timestamps

๐ŸŽจ Minecraft UI Theme

  • Pixelated, blocky design elements
  • Grass block and enchantment table aesthetics
  • Custom color palette (enchant purple, gold, diamond blue)
  • Interactive buttons with hover effects
  • Progress bars with glowing effects

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • MongoDB Atlas account
  • Vercel account (for deployment)

Local Development

  1. Clone the repository

    git clone https://github.com/Betscape/mineraftserver.git
    cd mineraftserver
  2. Install dependencies

    npm install
  3. Set up environment variables Create .env.local:

    MONGODB_URI=your_mongodb_connection_string
    
  4. Run development server

    npm run dev

    Open http://localhost:3000

  5. Seed the database

    • Navigate to the home page
    • Click "Seed Database" button
    • This populates the database with 40+ enchantments and 15+ items

Deployment

The application is already connected to Vercel. Any push to the main branch will automatically trigger a deployment.

git add .
git commit -m "Your changes"
git push origin main

๐Ÿ“Š Data Included

40+ Enchantments

  • All armor enchantments (Protection, Thorns, Feather Falling, etc.)
  • Weapon enchantments (Sharpness, Looting, Fire Aspect, etc.)
  • Tool enchantments (Efficiency, Fortune, Silk Touch, etc.)
  • Special enchantments (Mending, Infinity, Channeling, etc.)

15+ Items

  • Armor: Helmet, Chestplate, Leggings, Boots
  • Weapons: Sword, Axe, Bow, Crossbow, Trident
  • Tools: Pickaxe, Shovel, Fishing Rod
  • Other: Elytra, Shield

๐Ÿ”— Connections

โœ… GitHub

โœ… Vercel

  • Project: mineraftserver
  • Organization: jgero961-8734s-projects
  • Auto-deploy: Enabled on push to main

โœ… MongoDB

  • Cluster: cluster0.n1v0f5m.mongodb.net
  • Database: valorant-party-finder
  • Environment Variables: Configured in Vercel

๐Ÿ“– Usage Guide

  1. First Time Setup: Click "Seed Database" on the home page to populate with Minecraft data

  2. View Progress: Navigate to Dashboard to see overall completion statistics

  3. Browse Enchantments: Go to Enchantments page to view all available enchantments and their details

  4. Check Items: Visit Items page to see what enchantments each item needs

  5. Track Progress: Use the To-Do List to check off workstations as you complete them

    • Click any item to cycle through: To-Do โ†’ In Progress โ†’ Done โ†’ To-Do
  6. Collaborate: Multiple users can update simultaneously, changes sync in real-time

๐ŸŽฏ Key Features

  • โœ… Real-time Updates: MongoDB integration ensures instant synchronization
  • ๐ŸŽจ Minecraft Themed: Authentic blocky UI with enchantment glow effects
  • ๐Ÿ“ฑ Responsive Design: Works on desktop, tablet, and mobile
  • ๐Ÿ” Search & Filter: Quickly find enchantments and items
  • ๐Ÿ“Š Progress Tracking: Visual progress bars and statistics
  • ๐Ÿ‘ฅ Collaborative: Track who completed what and when
  • โšก Fast: Static generation with dynamic API routes
  • ๐ŸŒ Deployed: Live on Vercel with automatic deployments

๐Ÿ“ Project Structure

mineraftserver/
โ”œโ”€โ”€ app/                     # Next.js app directory
โ”‚   โ”œโ”€โ”€ api/                 # API routes
โ”‚   โ”‚   โ”œโ”€โ”€ enchantments/    # Enchantment CRUD
โ”‚   โ”‚   โ”œโ”€โ”€ items/           # Item CRUD
โ”‚   โ”‚   โ”œโ”€โ”€ stats/           # Statistics aggregation
โ”‚   โ”‚   โ””โ”€โ”€ seed/            # Database seeding
โ”‚   โ”œโ”€โ”€ dashboard/           # Dashboard page
โ”‚   โ”œโ”€โ”€ enchantments/        # Enchantments list page
โ”‚   โ”œโ”€โ”€ items/               # Items list page
โ”‚   โ”œโ”€โ”€ todo/                # To-do list page
โ”‚   โ””โ”€โ”€ page.tsx             # Home page
โ”œโ”€โ”€ components/              # Reusable components
โ”‚   โ”œโ”€โ”€ MinecraftButton.tsx
โ”‚   โ”œโ”€โ”€ MinecraftPanel.tsx
โ”‚   โ”œโ”€โ”€ Navigation.tsx
โ”‚   โ””โ”€โ”€ ProgressBar.tsx
โ”œโ”€โ”€ lib/                     # Utilities
โ”‚   โ”œโ”€โ”€ mongodb.ts           # Database connection
โ”‚   โ””โ”€โ”€ seedData.ts          # Seed data
โ”œโ”€โ”€ models/                  # MongoDB schemas
โ”‚   โ”œโ”€โ”€ Enchantment.ts
โ”‚   โ”œโ”€โ”€ Item.ts
โ”‚   โ”œโ”€โ”€ User.ts
โ”‚   โ””โ”€โ”€ Log.ts
โ””โ”€โ”€ public/                  # Static assets

๐Ÿค Contributing

This is a personal project, but feel free to fork and customize for your own Minecraft server!

๐Ÿ“ License

ISC

๐ŸŽฎ Credits

Built for Minecraft server players managing villager trading halls and enchantment collections.


Status: โœ… LIVE AND DEPLOYED

All systems operational! Happy enchanting! โ›๏ธโœจ

About

ourminecraftserver

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published