Skip to main content

Copies a Minecraft world and converts it to a creative mode backup

Project description

Contributors Forks Stargazers Issues GPL-3.0-or-later LinkedIn

Minecraft Creative Backup

A command-line tool that copies a Minecraft world save, patches it into creative mode with cheats enabled, and launches it through PrismLauncher — all in one command.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

Minecraft Creative Backup is a Python CLI tool that automates the process of creating creative mode backups of Minecraft worlds managed by PrismLauncher.

When building or experimenting in Minecraft, it's useful to have a creative mode copy of a survival world - but doing it manually means copying the folder, opening the world, changing the game mode, and enabling cheats. This tool automates all of that in a single command.

What it does

  • Copies a Minecraft world save folder
  • Patches the world's level.dat to enable creative mode and cheats
  • Renames the backup with the current date for easy identification
  • Launches the instance directly through PrismLauncher

(back to top)

Built With

  • Python
  • Rich
  • questionary
  • nbtlib

(back to top)

Getting Started

Prerequisites

  • Python 3.14 or higher
  • PrismLauncher installed and configured with at least one instance and world.
  • uv (recommended) or pip

Installation

  1. Clone the repository
   git clone https://github.com/xanderboy2001/mc-creative-clone.git
   cd mc-creative-clone
  1. Install the package
   uv tool install .

Or with pip:

   pip install .
  1. Verify the installation
   mc-creative-clone --help

(back to top)

Usage

Run the tool interactively - you will be prompted to select an instance and world:

mc-creative-clone

Or specify options directly to skip the interactive prompts

mc-creative-clone --instance "My instance" --world "My world"

Options

Option Short Description
--prism-path PATH -p Path to PrismLauncher data directory. Defaults to the standard OS path.
--instance INSTANCE -i Name of the PrismLauncher instance to use.
--world WORLD -w Name of the world to copy.
--force -f Overwrite the destination world if it already exists without prompting.
--dry-run Preview actions without making any changes to the filesystem.
--verbose -v Enable verbose debug logging output.

Examples

Preview what would happen without making any changes:

mc-creative-clone --dry-run --instance "Survival" --world "My World"

Force overwrite an existing backup:

mc-creative-clone --force --instance "Survival" --world "My World"

Use a custom PrismLauncher data directory:

mc-creative-clone --prism-path "/path/to/prismlauncher"

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Top contributors:

contrib.rocks image

License

Distributed under the GPL-3.0-or-later. See LICENSE.txt for more information.

(back to top)

Contact

Alexander Christian - alexanderechristian@gmail.com

Project Link: https://github.com/xanderboy2001/mc-creative-clone

(back to top)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mc_creative_clone-0.1.0.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mc_creative_clone-0.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file mc_creative_clone-0.1.0.tar.gz.

File metadata

  • Download URL: mc_creative_clone-0.1.0.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.12

File hashes

Hashes for mc_creative_clone-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5151d9a26ebc864a290f8336fe2bc30fefe8849b4359db3f0ade49bedf5b96d5
MD5 1caab0b7dd7826267a855b7f404fdfa8
BLAKE2b-256 357f6b83d4b060b75861f376fac081c326297523e874221b5e54f2b58552b072

See more details on using hashes here.

File details

Details for the file mc_creative_clone-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mc_creative_clone-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97b57262724896e4460f1288867b3107d2b1c511339af4b0c8ee95c729956305
MD5 85865257d206dd554c1edc698476143f
BLAKE2b-256 cddb60016abb8747a21c116307526f0949f8541fee2524fd7fc9eb9b3d922b22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page