🛍️Guild Shop
Customizable unlimited guild products can be added, and product prices and conditions can be set through Requirements
Unlimited addition of products
Daily purchase restrictions
Weekly purchase restrictions
Monthly purchase restrictions
Lifetime purchase restriction
The product configuration file for the guild store is located at Contents/config/GuildShop.yml
Example
Create a new restricted purchase item
items:
shop2:
display: '商品2'
material: APPLE
amount: 1
data: 0
model: 0
lore:
- '&f'
- '&fItems:'
- '&f &7- Coin ×50'
- ''
- '&fPrice: &a100 Guild Points'
- '&fCurrent Guild Points: &a%points%'
#%limit%is a purchase restriction prompt. If the product does not have a purchase restriction, it will not be displayed
- '%limit%'
requirements:
- 'guild_points;100'
run:
- '[console]money give %player% 50'
buy_limit:
# Type List —— Once:Lifetime purchase restriction
# Day:Everyday purchase restriction
# Week:Every week purchase restriction
# Month:Every month purchase restriction
type: Day
# Limited purchase quantity
amount: 25
Last updated