Genesis Addon: Limited Uses by MageMonkey.studio (formerly B
1.0.1-R0.1Allows you to limit the amount of times a shop item can be purchased.
You need Genesis (formerly BossShopPro) to run this plugin!
This Genesis addon adds a new condition that allows you to limit how many times a shop item has been purchased.
Wiki | Discord | Issues | Suggestions
Required Plugin
Genesis (formerly BossShopPro): Core plugin.
Example Configuration
Obsidian:
MenuItem:
- type:OBSIDIAN
- amount:64
- name:&964 Obsidian
- 'lore:&cPrice: %price%#&eBought: &4%uses%/10 &etimes.'
RewardType: ITEM
Reward:
- - type:OBSIDIAN
- amount:64
PriceType: MONEY
Price: 10000
Message: '&eYou bought %reward%! Money left: &c%left%'
ExtraPermission: ''
InventoryLocation: 7
Condition:
- type:uses
- below:10
Example Shop
# This is an example shop, demonstrating the LimitedUses addon
ShopName: LimitedUses
DisplayName: '&4&lLimitedUses'
Command: limiteduses
signs:
text: '[LimitedUses]'
NeedPermissionToCreateSign: true
shop:
Diamond:
MenuItem:
- type:DIAMOND
- amount:1
- name:&dDiamond
- 'lore1:&8You can purchase one diamond every ten hours.'
- 'lore2:&cPrice: %price%.'
RewardType: ITEM
Reward:
- - amount:1
- type:DIAMOND
PriceType: MONEY
Price: 150.0
Message: '&eYou bought a diamond for %price%.'
ExtraPermission: ''
InventoryLocation: 1
Condition:
- type:cooldown
- over:36000
Diamond_blocked:
MenuItem:
- type:BARRIER
- amount:1
- name:&f&lOut of stock
RewardType: NOTHING
PriceType: NOTHING
Message: '&8Come back in %cooldown_LimitedUses:Diamond%.'
ExtraPermission: ''
InventoryLocation: 1
StarterKit:
MenuItem:
- type:WOOD_PICKAXE
- amount:1
- name:&fStarter Kit
- 'lore:&8Click to receive your starter kit.'
RewardType: ITEM
Reward:
- - amount:1
- type:WOOD_PICKAXE
- - amount:1
- type:WOOD_SPADE
- - amount:1
- type:WOOD_AXE
- - amount:1
- type:WOOD_SWORD
- - amount:16
- type:TORCH
- - amount:32
- id:4
PriceType: NOTHING
Message: '&eReceived your starter kit.'
ExtraPermission: ''
InventoryLocation: 2
Condition:
- type:uses
- under:1
StarterKit_blocked:
MenuItem:
- type:BARRIER
- amount:1
- name:&f&lOut of stock
- 'lore:&cYou have already taken your starter kit.'
RewardType: NOTHING
PriceType: NOTHING
Message: ''
ExtraPermission: ''
InventoryLocation: 2
Obsidian:
MenuItem:
- type:OBSIDIAN
- amount:64
- name:&964 Obsidian
- 'lore1:&cPrice: 10000 Money'
- 'lore2:&cBought: &b%uses%&c/&b15 &ctimes.'
RewardType: ITEM
Reward:
- - type:OBSIDIAN
- amount:64
PriceType: MONEY
Price: 10000
Message: '&eYou bought %reward%! Money left: &c%left%'
ExtraPermission: ''
InventoryLocation: 3
Condition:
- type:uses
- under:15Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta