Warning
The code in this repository will not populate/update the database, please use the updater.
ServerJars is an open-source repository for Minecraft server jars, providing an easy way to discover and download server software for various Minecraft forks.
- 🚀 Modern, responsive UI with gaming-inspired design
- 🔍 Powerful search functionality
- 📦 Comprehensive API for programmatic access
- 📊 Real-time statistics and metrics
Before installing ServerJars, ensure you have:
- PHP 8.0 or higher
- MySQL 5.7+ or MariaDB 10.3+
- Apache web server with mod_rewrite enabled
- Composer (for dependency management)
- Node.JS to run the updater and populate the database
git clone https://github.com/mc-ServerJars/serverjars.git
cd serverjarscomposer installCreate a config.php file by copying the sample:
cp config.sample.php config.phpEdit config.php with your database credentials:
<?php
$dbHost = 'localhost'; // Database host
$dbName = 'serverjars_db'; // Database name
$dbUsername = 'db_user'; // Database username
$dbPassword = 'secure_pass';// Database passwordImport the SQL schema:
mysql -u [username] -p [database_name] < schema.sqlAfter installation, you can:
- Access the web interface at
http://your-server-address - Use the search functionality to find server jars
- Browse different Minecraft forks (Paper, Purpur, Fabric, etc.)
- Access the API documentation at
/docs
ServerJars provides a comprehensive API for programmatic access:
GET /api/v1/builds- Retrieve builds with filtersGET /api/v1/stats- Get service statisticsGET /api/v1/search- Search for specific builds
Full api docs available in templates/docs.twig, or /docs on your own instance.
To update to the latest version:
git pull origin main
composer installWe welcome contributions! Please follow these steps:
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin feature/your-feature) - Open a pull request
ServerJars is open-source software licensed under the Apache 2.0 License. If you do not understand this license, please view Choose A License's page on it.
If you need help setting up ServerJars, please open an issue.
ServerJars is not affiliated with Minecraft, Microsoft, Mojang, PaperMC, SpigotMC or PurpurMC.