2️⃣Making a Configuration File

Creating a configuration file is straightforward. Follow these steps to set up your config:

Steps:

  • πŸ“ Save as .json:

    • Make sure any config file you create ends with .json and place it in the ./configs/ folder.

  • ⚠️ Clearing Inventory:

    • Before running a bot in "flipping" mode, ensure that the inventory is clear and not in a place where random items might be picked up.

Configuration Example:
{
    "auctionRefreshMin": 250,
    "auctionRefreshMax": 500,
    "mode": "flipping",
    "items": {
        "Β» Pet Candy Β«": {
            "ensureItemIs": "dye",
            "resellPrice": 50000,
            "maxPrice": 50000,
            "maxAmount": 2
        },
        "diamond_leggings": {
            "ensureEnchants": {
                "Deathbringer": 2
            },
            "resellPrice": 50000,
            "maxPrice": 100000,
            "maxAmount": 1
        }
    }
}

Key Properties:

  • πŸ”„ Auction Refresh Speed:

    • Control the auction refresh speed with auctionRefreshMin and auctionRefreshMax.

  • πŸ”„ Mode:

    • Choose between "flipping" or "sniping" mode.

  • πŸ›’ Item Names:

    • Define items by their name or custom name.

  • πŸ’² Resell and Max Price:

    • Set the price for reselling and the maximum purchase price.

  • βš™οΈ Ensure Enchants:

    • Make sure specific enchantments are included with ensureEnchants.

Note:

  • πŸ› οΈ Optional Properties:

    • ensureItemIs, resellPrice, and ensureEnchants are optional.

  • πŸ› οΈ Debug Mode:

    • Add "debug": true to the config for detailed information about the items in the auction house.

  • πŸ” Example Log File:

    • To see a file containing all the bot's knowledge on items, check the Example Log File.

Last updated

Was this helpful?