https://github.com/couapy/mc-downloader
Minecraft server downloader
https://github.com/couapy/mc-downloader
downloader minecrafft python
Last synced: about 1 year ago
JSON representation
Minecraft server downloader
- Host: GitHub
- URL: https://github.com/couapy/mc-downloader
- Owner: Couapy
- License: mit
- Created: 2021-04-07T09:39:45.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-09T12:52:04.000Z (about 5 years ago)
- Last Synced: 2025-03-03T21:38:13.953Z (over 1 year ago)
- Topics: downloader, minecrafft, python
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mc-downloader
[](https://github.com/5kyc0d3r/upnpy/blob/master/LICENSE)
[](https://pypi.org/project/mc-downloader/)
[](https://pypi.org/project/mc-downloader/)
This is a python package design to download Minecraft servers files from Mojang servers.
The downloader verify integrity from mojang servers after download.
If the files have already been downloaded, they are rechecked, and if necessary they are re-downloaded.
## Installation
You need to install the package from pypi repository.
```bash
pip install mc-downloader
```
## Utilisation example
```python
import os
import mcdwld
def main():
"""Download all servers."""
downloads_directory = os.getcwd() + '/downloads/'
versions = mcdwld.get_versions(mcdwld.MOJANG_MANIFEST_URL)
mcdwld.download_versions(versions, downloads_directory)
if __name__ == '__main__':
main()
```