-
Notifications
You must be signed in to change notification settings - Fork 24
Item Cost Discount
Yap Zhen Yie edited this page Sep 25, 2019
·
3 revisions
An item discount reduces the price of crafted Mystery Boxes & cosmetic items for the players who have the permission. Here is the part of the config in which you can change these discounts.
# Discount the cost of an item when player purchase.
Item-Cost-Discount:
# Set to true will enable item cost discount.
Enabled: true
# Which item do you want to enable item cost discount?
Discount:
Cosmetic-Item: true
Crafting-Mystery-Box: true
# You can add more discount rate by reference example.
Discount-Rates:
# The name of the discount group.
# The name is use for placeholder to get the cost after discount.
# Placeholder Syntax: {<name>_COST}
# Get the cost of that discount rate.
VIP:
# Higher numbers override.
Priority: 1
# The permission to granted discount.
Permission: gadgetsmenu.discount.VIP
# Discount rates.
Rate: 20
Lore:
Enough-Mystery-Dust:
- ''
- '&8&mRegular: {COST} Mystery Dust!'
- "&aVIP&7: &a{VIP_COST} &7Mystery Dust (&a20% &7OFF!) &e\u25C0"
- '&cMVP: {MVP_COST} Mystery Dust (40% OFF!)'
- ''
- '&7Your Cost: &a{VIP_COST} &7Mystery Dust'
- '&eClick to craft!'
Not-Enough-Mystery-Dust:
- ''
- '&8&mRegular: {COST} Mystery Dust!'
- "&aVIP&7: &a{VIP_COST} &7Mystery Dust (&a20% &7OFF!) &e\u25C0"
- '&cMVP: {MVP_COST} Mystery Dust (40% OFF!)'
- ''
- '&7Your Cost: &c{VIP_COST} &7Mystery Dust'
- '&cYou need &b{COST_LEFT} &cmore mystery dust!'
MVP:
Priority: 2
Permission: gadgetsmenu.discount.MVP
Rate: 40
Lore:
Enough-Mystery-Dust:
- ''
- '&8&mRegular: {COST} Mystery Dust!'
- '&8&mVIP: {VIP_COST} Mystery Dust (20% OFF!)'
- "&bMVP&7: &a{MVP_COST} &7Mystery Dust (&a40% &7OFF!) &e\u25C0"
- ''
- '&7Your Cost: &a{MVP_COST} &7Mystery Dust'
- '&eClick to craft!'
Not-Enough-Mystery-Dust:
- ''
- '&8&mRegular: {COST} Mystery Dust!'
- '&8&mVIP: {VIP_COST} Mystery Dust (20% OFF!)'
- "&bMVP&7: &a{MVP_COST} &7Mystery Dust (&a40% &7OFF!) &e\u25C0"
- ''
- '&7Your Cost: &a{MVP_COST} &7Mystery Dust'
- '&cYou need &b{COST_LEFT} &cmore mystery dust!'
The higher the Priority
value is, the higher discount rate will be placed. For example, a discount with priority 2
will override a discount with priority 1
if a player has both permissions.
- The
{COST}
value represents the regular cost. - The
{COST_LEFT}
value represents the cost that the player still needs to get in order to buy the item.
Getting Started
Features
- Cosmetic Item Purchase
- Item Cost Discount
- Mystery Boxes
- Custom Mystery Boxes Loot
- Pets
- Morphs
- Data Migration (From SQLite to MySQL)
Custom Cosmetic Items
- Custom Hats
- Custom Animated Hats
- Custom Particles
- Custom Banners
- Custom Emotes
- Custom Miniatures (New)
Developers
Misc
Discord