Author: Mr. Trivel
Name: Unlock Shop Items
Created: 2016-03-16
Version: 1.1
What does it do?
Unlock new items in shop by selling or plugin commands.
Screenshots:
How to use?
Setting up Recipes:
Items tagged with any of these tags will be available in the shop.
<InShopByDefault: [SHOP_ID]> - Will always appear in shop.
<InShopByCommand: [SHOP_ID]> - Will appear once unlocked with plugin command.
And the last is little longer, it takes multiple lines:
<InShopByRecipe: [SHOP_ID]>
[TYPE] [ID] [QUANTITY]
</InShopByRecipe>
[SHOP_ID] - ID of the shop
[TYPE] - Item type, i, a, w - i:item, a:armor, w:weapon
[ID] - ID of the item in database
[QUANTITY] - How many have to be sold in total
There can be any number of lines with item requirements.
Examples:
<InShopByRecipe: 1>
i 5 100
i 2 50
</InShopByRecipe>
<InShopByRecipe: 2>
a 12 1
w 2 1
i 15 10
</InShopByRecipe>
Plugin Commands:
DynamicShop Enter [SHOP_ID] - Enters the shop of this plugin so there's normal shop still available.
DynamicShop Unlock [SHOP_ID] [TYPE] [ID] - Unlocks item to be permanently available in the shop.
[SHOP_ID] - ID of the shop
[TYPE] - i, a, w - i: item, a: armor, w: weapon
[ID] - ID of the item in database
Examples:
DynamicShop Unlock 1 w 55
DynamicShop Unlock 2 a 15
Plugin:
How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.
Terms of Use:
Don't remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for non-commercial projects.
For commercial use contact Mr. Trivel.
Name: Unlock Shop Items
Created: 2016-03-16
Version: 1.1
What does it do?
Unlock new items in shop by selling or plugin commands.
Screenshots:
![](/proxy.php?image=https%3A%2F%2Fmrtrivelrpg.files.wordpress.com%2F2016%2F03%2Fclip2016-03-16at02-13-19.png&hash=c8ad923baa339fe13e414d1ac369f684)
How to use?
Setting up Recipes:
Items tagged with any of these tags will be available in the shop.
<InShopByDefault: [SHOP_ID]> - Will always appear in shop.
<InShopByCommand: [SHOP_ID]> - Will appear once unlocked with plugin command.
And the last is little longer, it takes multiple lines:
<InShopByRecipe: [SHOP_ID]>
[TYPE] [ID] [QUANTITY]
</InShopByRecipe>
[SHOP_ID] - ID of the shop
[TYPE] - Item type, i, a, w - i:item, a:armor, w:weapon
[ID] - ID of the item in database
[QUANTITY] - How many have to be sold in total
There can be any number of lines with item requirements.
Examples:
<InShopByRecipe: 1>
i 5 100
i 2 50
</InShopByRecipe>
<InShopByRecipe: 2>
a 12 1
w 2 1
i 15 10
</InShopByRecipe>
Plugin Commands:
DynamicShop Enter [SHOP_ID] - Enters the shop of this plugin so there's normal shop still available.
DynamicShop Unlock [SHOP_ID] [TYPE] [ID] - Unlocks item to be permanently available in the shop.
[SHOP_ID] - ID of the shop
[TYPE] - i, a, w - i: item, a: armor, w: weapon
[ID] - ID of the item in database
Examples:
DynamicShop Unlock 1 w 55
DynamicShop Unlock 2 a 15
Plugin:
How to download the Plugin: Click the link above, there will be a button named Raw, press Right Click -> Save As.
Terms of Use:
Don't remove the header or claim that you wrote this plugin.
Credit Mr. Trivel if using this plugin in your project.
Free for non-commercial projects.
For commercial use contact Mr. Trivel.