IMPORTANT
Added a non-destructive auto migration for the config files whenever development adds new fields to the files.
Your configs should remain left intact with the new fields at the very bottom.###
- Fixed bugs which were caused during checkout with multiple items from sub-menus
- Added coupons that can be configured via the discounts.yml
- Added The Ability To Enabled/Disable a sandbox_mode via the config.yml and use simulated transaction types
PAYMENT_SUCCESS
PAYMET_FAILED
PAYMENT_PENDING
# Sandbox mode for testing payments without real transactions
sandbox:
# Enable sandbox mode (uses test endpoint and simulates payment results)
enabled: false
# Simulation behavior: PAYMENT_SUCCESS or PAYMENT_FAILED
# PAYMENT_SUCCESS: Simulates a successful payment and executes commands
# PAYMENT_FAILED: Simulates a failed payment
simulate: PAYMENT_SUCCESS
coupons:
# Enable/disable the coupon system
enabled: true
# Coupon codes with advanced configuration
# Simple format: CODE: discount_percentage
# Advanced format:
# CODE:
# discount: percentage (0-100)
# categories:
- or "all" (default: "all")
# stack: true/false (default: false)
codes:
# Simple format (applies to all categories, no stacking)
WELCOME10: 10
# Advanced format with category restrictions
SUMMER25:
discount: 25
categories:
- Weapons
- Armor
stack: false
# VIP coupon with stacking enabled
VIP50:
discount: 50
stack: true
categories: all
# Creator code applies to specific categories only
CREATOR15:
discount: 15
categories:
- Custom_Items
- Discord_Ranks
stack: true