The Shopkeeper is a central game mechanic that allows players to purchase items during the preparation phase. Items are organized into categories, making it easy for players to find and purchase what they need.
Items
The items are located in the /items/ folder. Each item has its own file with a separate configuration. Each file contains modules, which determine how the item functions in the Shopkeeper.
Categories
The shop organizes items into the following categories:
Permanent/Upgrades: Items like swords and armor that persist and can be upgraded
Consumables: Items that can be purchased repeatedly (e.g., Golden Apples, Ender Pearls)
Eggs: Special items that spawn minions when right-clicked on the ground
TNT: Throwable explosives activated by left-clicking
Creating Items
Access the /items/ directory.
Identify an existing item file to use as a template.
Duplicate the template file.
Rename the duplicate file for your new item.
Adjust the configuration to customize your item.
Item Modules
Items are configured using various modules that control their behavior and properties:
Module
Description
Mythic
Controls whether the item is part of the mythic item pool
Purchase
Defines buying conditions like cost and unlock requirements
cost-increase-per-purchase is a percentage indicating how much the item's price will increase on subsequent purchases. Here's an example with a value of 25: