Skip to content

Latest commit

 

History

History
52 lines (28 loc) · 1.68 KB

README.md

File metadata and controls

52 lines (28 loc) · 1.68 KB

Magic: The Gathering Utils (magic-the-gathering-utils)

General Info

This project contains a set of utilities that help you organizing your card collection and playing Magic: The Gathering with your friends.

Features

  • Extracting your card collection from deckbox
  • Generating random Boosters from your collection
  • Local data is stored into .magic-the-gathering-utils folder in your home

Usage

To run the application download the latest jar from release page.

Run the jar with:

java -jar magic-the-gathering-utils-1.1.0.jar link-to-deckbox <YourDeckboxId>
    # Link the app to deckbox
    # YourDeckboxId: is the number in deckbox url

java -jar magic-the-gathering-utils-1.1.0.jar show-link-to-deckbox
    # Display your deckbox id

java -jar magic-the-gathering-utils-1.1.0.jar update-collection
    # Update your card collection

java -jar magic-the-gathering-utils-1.1.0.jar generate-booster [NumOfBoosters] [editions]
    # Generate some boosters that you can assemble to play with your friends
    # Booster are composed of 1 Mythic or Rare card, 3 Uncommon cards, 10 Uncommon cards, 1 Basic land.
    # NumOfBoosters: number of boosters to generate
    # edition: list of editions comma separated (eg. "Kaladesh,Aether Revolt"  -  default all editions)

Developer's guide

Build a runnable jar

The runnable jar is created with spring-boot-maven-plugin.

mvn clean package

The jar will be created into target folder.