LimitedUses
This BossShopPro Addon allows to limit the amount of uses of items by adding a new type of condition.
Features
Example configuration:
This BossShopPro Addon allows to limit the amount of uses of items by adding a new type of condition.
Features
- Adds a new conditions:
- "uses" - Conditions based on the amount of previous purchases
- "cooldown" - Give items a purchase-cooldown (in seconds)
- Placeholders:
- %uses% - Displays the amount of previous uses
- %uses_<shop name>:<shopitem name>% - Displays amount of uses of a specific shopitem anywhere
- %cooldown_<shop name>:<shopitem name>% - Displays remaining cooldown time of a specific shopitem anywhere
- Super lightweight
Spoiler: Commands
Commands
(Optional; can for example be used to allow players to purchase more shopitem uses)
(Optional; can for example be used to allow players to purchase more shopitem uses)
- lius set <player> <shop> <shopitem> <count>
- lius add <player> <shop> <shopitem> <count>
- lius remove <player> <shop> <shopitem> <count>
- lius reset <player> <shop> <shopitem>
- lius reset <player>
- lius resetall
Example configuration:
Code (Text):
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
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
Spoiler: Example shop
Code (Text):
# 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:15
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:15
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.7, 1.8, 1.9
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
LimitedUses [BSP] - Allows to limit the amount of uses of shop items is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 5,411 times (via Spigot). Download it and open it directly in the game.