Metadata-Version: 2.4
Name: minecraft-server-creator
Version: 3.2.0
Summary: Minecraft Server Creator - Manage Minecraft servers
Author-email: ddavidel <ddavidel@proton.me>
License: This project is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. 
        See https://creativecommons.org/licenses/by-nc-sa/4.0/ for more details.
        
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: appdirs
Requires-Dist: pymcsc==0.3.1
Requires-Dist: PySide6-Essentials>=6.8
Requires-Dist: qtawesome
Requires-Dist: mcstatus==11.1.1
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-qt; extra == "dev"
Requires-Dist: pytest-asyncio; extra == "dev"
Dynamic: license-file

[![License: CC BY-NC-SA 4.0](https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey)](./LICENSE)

![MCSC dashboard](https://raw.githubusercontent.com/ddavidel/minecraft-server-creator/main/assets/screenshots/dashboard.png)
# MCSC - Minecraft Server Creator
MCSC is a user-friendly tool written in Python with a GUI that simplifies the process of creating and managing Minecraft servers. Whether you're a beginner or experienced, MCSC allows you to easily set up, run, and control multiple Minecraft servers from a single interface.
> **Warning**: MCSC is still in development, thus it may not be completely error free.

## Features
- **Create Multiple Servers**: Set up and manage multiple Minecraft servers from within the app.
- **Start/Stop Servers**: Easily start and stop your Minecraft servers directly from the GUI.
- **Console Interaction**: Read the console output in real-time and send commands to the Minecraft server console.
- **Edit server.properties**: Customize your Minecraft server settings by editing the `server.properties` file with a built-in editor.
- **User-Friendly GUI**: A simple and intuitive interface designed for both beginners and experienced users.
- **Manage Server Instances**: Keep track of all your servers in one place.
- **Backups**: Back up a server with one click and restore it later (the current state is saved first). Backups can also be automatic, when a server starts or stops (app-wide or per server), keeping the latest ones. They are stored in the app data folder, under `backups/<server id>/`.
- **Runs in the background**: Closing the window keeps the app and its servers running in the system tray; quit from the tray icon's menu (can be turned off in the App Settings).
- **Start with Windows**: MCSC starts in the tray when you log in (on by default, can be changed in the App Settings or from Task Manager). On Linux it uses an autostart entry.
- **Auto start servers**: Choose which servers start by themselves when the app opens (Server settings, or the dashboard context menu).
- **Online players**: See how many players are online on each server card, and who they are on the server page. MCSC turns on the Minecraft Query protocol (`enable-query` and `query.port` in `server.properties`) at every start; turn off "Track online players" in the server settings to leave the file alone (only the player count is shown then).
- **Stats history**: Online players, CPU and RAM are saved every minute while a server runs (for 30 days, in the app data folder) and shown as trend charts from the server page.
- **Export and Import**: Export a server to a single `.zip` to move it to another PC, then import it there, or import an existing server folder made outside MCSC (it is copied, never moved).

## Screenshots
| Server console and resources | Config editor |
| --- | --- |
| ![Server detail page](https://raw.githubusercontent.com/ddavidel/minecraft-server-creator/main/assets/screenshots/server.png) | ![server.properties editor](https://raw.githubusercontent.com/ddavidel/minecraft-server-creator/main/assets/screenshots/editor.png) |

| New server |
| --- |
| ![New server dialog](https://raw.githubusercontent.com/ddavidel/minecraft-server-creator/main/assets/screenshots/new-server.png) |

## Installation
### Windows installer (no Python needed)
Download `mcsc-setup-<version>.exe` from the [latest release](https://github.com/ddavidel/minecraft-server-creator/releases/latest)
and run it. It installs MCSC with its own private Python, adds it to the Start menu and keeps
it up to date from the app. No admin rights are needed. Uninstall it from *Settings > Apps*:
your servers and settings are kept. Java is still required to run Minecraft servers.

### From PyPI
MCSC requires Python 3.12+ and Java.

Install it from PyPI and run it:
```bash
pip install minecraft-server-creator
mcsc
```

To run it from the source code:
1. Clone the repository:
`git clone https://github.com/ddavidel/minecraft-server-creator.git`

2. Navigate to the project folder and install it with its dependencies:
`pip install -e .`

3. Run the application with `mcsc` or `python scripts/start.py` (add `--debug` to log to the console).

## Project structure
- `src/mcsc_gui`: the desktop app (Qt/PySide6 interface, translations, settings, telemetry, updates).
- Server management (creating, running, monitoring and configuring servers) is provided by the
  [pymcsc](https://pypi.org/project/pymcsc/) library, imported as `mcsc`.

## Release notes
The "What's New" popup (shown once after an update) and the changelog in the App Settings
read `src/mcsc_gui/static/changelog.json`. The notes are written **once per release**, not in
every PR — just keep using conventional commit messages (`feat(scope): …`, `fix: …`).

1. In the release PR (`develop` → `main`), draft the entry from the commits since the last tag:
   `python scripts/draft_changelog.py` (`--dry-run` to only print it, `--include-fixes` to list
   the fixes too, `--version X.Y.Z` to choose the version).
2. Edit the draft: user-facing wording, remove internal changes, add the `it` translation
   (missing languages fall back to English).
3. Commit it in the release PR. The release workflow fails on a minor/major release without
   notes (patch releases only get a warning, and the app shows nothing for them).

## Code signing policy
Free code signing provided by [SignPath.io](https://about.signpath.io/), certificate by
[SignPath Foundation](https://signpath.org/).

- Committers and reviewers: [repository members](https://github.com/ddavidel/minecraft-server-creator/graphs/contributors)
- Approvers: [ddavidel](https://github.com/ddavidel)

The Windows installer is built from this repository by GitHub Actions
(`.github/workflows/installer.yml`) and signed only after an approver confirms the release.

## Privacy policy
When it starts, MCSC sends an anonymous usage event to `mcscreator.altervista.org`. The event
holds a random client ID generated on first run, the event name, a timestamp and the app
version. It doesn't send personal data, server contents or files. It also checks PyPI for updates and downloads Minecraft server files when you create a
server. Nothing else is sent to other networked systems unless you ask for it.

## Upcoming Features
- **Support for more server types**: In the future updates, MCSC will support creating and managing many popular Minecraft server types.
- **Plugin and Mod Manager**: Easily manage plugins and mods.
