Deploy any version of minecraft and forge as a container at a mass scale.
This project is made with Python for the backend, Bottle and Bulma CSS for the frontend. Uses itzg's docker image through Docker to spawn instances of minecraft or forge based on the parameters provided from the web interface. Web interface gives you an easy way to manage, configure and update the server instances.
The point of this project was to keep everything as light and simple as possible while utilizing python.
- Deploy multiple Minecraft server instances with ease.
- Supports both vanilla Minecraft and Forge modded servers.
- Manage server instances through a simple web interface.
- Start, stop, and monitor server instances.
- Add or remove mods dynamically.
- View server logs and status.
-
Clone the repository:
git clone https://github.com/ftechhelp/minecraft-server-spawner.git cd minecraft-server-spawner -
Create and activate a virtual environment:
python3 -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the required dependencies:
pip install -r requirements.txt
-
Copy the example environment file and configure it:
cp .env.example .env # Edit .env to match your configuration
-
Start the application:
python app.py
-
Access the web interface at
http://localhost:8888. -
Use the web interface to manage your Minecraft server instances.
This project is licensed under the GNU General Public License v3.0. See the LICENSE file for details.
Contributions are welcome! Please open an issue or submit a pull request.
Refer to the TODO section for ideas on how to contribute.
- Admin/authentication interface to give people an account and a limit of how many servers they can spawn (through some kind of token system)
- Bukkit/Spigot support
- Fabric support
- Magma/Ketting/Mohist support
- Adding more parameters such as min and max of RAM and different versions of Java
- Nice UI for server properties that synch through the docker-compose instead of read/write the server.properties file
- Support for changing configuration files for mods
- Actual error handling
- Cluster/Server information on the home page
- Create dockerfile for project
For any inquiries, please contact the author at ftechhelp@gmail.com.
- Bottle - A fast, simple and lightweight WSGI micro web-framework for Python.
- Bulma CSS - A modern CSS framework based on Flexbox.
- itzg's docker image - Docker image for running Minecraft servers.
- python-on-whales - A Python library for Docker.