Beta-0.0.2
Compatibility
Changes
AutoShop Beta-0.0.2
✨ What's New
🛒 Improved Shop System
- Added support for a configurable rotating shop.
- Added configurable item prices, spawn chances, and stock limits.
- Added support for Iron, Diamond, and Netherite gear.
- Shop items are now organized across multiple GUI pages.
📦 Global Stock System
- Added global stock shared across all players.
- Stock decreases when an item is successfully purchased.
- Items become unavailable when their global stock reaches zero.
- Stock is automatically regenerated during each restock cycle.
🔄 Restock System
- Added configurable automatic restocking.
- Added 1-minute and 30-second restock warnings.
- Added restock announcements.
- Restock announcements display the currently available items and their stock.
- Added configurable restock interval.
🧰 Manual Stock Management
- Added
/ashop stockfor manually adding stock. - Added
/ashop stock <item> <amount>for specific items. - Added
/ashop unstockfor viewing current stock. - Added
/ashop unstock <item>for removing an item's entire stock. - Manual stock is limited by each item's configured maximum stock.
- Manual stock is cleared on the next automatic restock.
- Added configuration toggles for manual stock and unstock functionality.
- Manual stock management is permission-controlled.
🖥️ GUI Improvements
- Added a configurable multi-page shop GUI.
- Added Previous Page, Close, and Next Page buttons.
- Added configurable filler items.
- Shop items remain visible even when temporarily out of stock.
- Out-of-stock items are clearly marked as unavailable.
- GUI layout and item slots are configurable through
gui.yml.
💰 Economy & Purchases
- Added Vault economy integration.
- Added balance and affordability checks.
- Added inventory-space validation.
- Added global stock validation during purchases.
- Added per-player purchase limits.
- Added purchase success and failure messages.
- Added automatic refund handling when a purchase cannot be completed.
⚙️ Configuration
-
Added separate configuration files for:
- Shop logic
- GUI layout
- Language/messages
- Shop item definitions
-
Added configurable announcement settings.
-
Added configurable manual stock settings.
-
Added configurable item stock minimum and maximum values.
🛠️ Improvements & Fixes
- Improved stock validation and maximum-stock enforcement.
- Prevented partial manual stock operations when the requested amount exceeds the maximum.
- Added protection against integer overflow during manual stock calculations.
- Improved configuration validation for invalid materials, prices, chances, stock values, GUI slots, and page configuration.
- Improved handling of unavailable shop items.
- Improved purchase rollback and refund handling.
- Improved command tab completion.
📌 Beta Notice
AutoShop Beta-0.0.2 is an early beta release. More features, improvements, and testing will be added in future versions.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:rBKDDJnY:10u0sMA7"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:rBKDDJnY:10u0sMA7"
}

