Jump to content

Recommended Posts


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:

clip2016-03-16at02-13-19.png

 

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: 2>

<InShopByRecipe>

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: <Link: Github>

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.

Edited by Glasses

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×