🪙
[EN] DynamicShop 3 Wiki
  • 01. How to install
  • 02. Start page
  • 03. Create your first shop
  • 04. Adding Items to the Shop
    • Item Palette
  • 05. Item Settings
  • 06. Decorate
    • Page Editor
    • Background color
  • 07. Shop Settings
    • Local shop
    • Delivery charge
    • Sign shop
    • Transaction currency type
    • Rotation Editor
    • Stock Simulator
    • Sell Command
    • Log Viewer
  • 08. Quick Find
  • 09. Quick Sell
  • 09. yml files
  • 10. Commands
  • Languages
    • 한국어
    • English
Powered by GitBook
On this page
  • Price calculation formula
  • Components of item data
  • Purchase Value
  • Sales Value
  • Price Min
  • Price Max
  • Median
  • Stock
  • Stock Max
  • Set to recommended
  • Buy only, Sell only
  • Infinite stock
  • Fixed price
  • Discount
  • Trading volume limit

05. Item Settings

PreviousItem PaletteNext06. Decorate

Last updated 2 years ago

Price calculation formula

Price = (Median * Value) / Stock

Components of item data

Purchase Value

One of the factors that determines the purchase price of an item.

Sales Value

One of the factors that determine the selling price of an item. By default, it has the same value as the purchase value. Normally, sales tax is applied, so shop users sell items at a lower price than they bought them. If a separate sales value is specified, sales tax is ignored.

Price Min

The item price cannot be less than this value.

Price Max

The item price cannot be greater than this value.

Median

The median is the reference point for stock. stock values change as shoppers buy and sell, but the median is always fixed. The larger the median, the slower the price changes. Conversely, the smaller the median, the faster the price changes.

Stock

Indicates how many of this item are in the store. If stock equals median, then price equals value. If inventory is less than the median, it means that the item is currently in short supply relative to demand. So the price goes up.

Stock Max

When the stock reaches its maximum value, users will no longer be able to sell this item to the store.

Set to recommended

Press the button at the bottom center of the screen to automatically set all values. The recommended value is based on the Shop.NumberOfPlayer entry in config.yml and data in the Worth.yml file.

If you want to apply the recommended value to all items in the store, enter the following command.

/ds shop <shop name> setToRecAll

Recommended Median Calculation Formula

(4/(w0.35))∗1000∗p(4/(w^0.35))*1000*p(4/(w0.35))∗1000∗p

w = item value from Worth.yml

p = the number of players on the server (does not mean the actual number of people connected. Value defined in Config.yml)

Buy only, Sell only

On the item trading screen, press the button on the left side of the screen. Or use the following command.

/ds shop <shop name> sellbuy <sellonly|buyonly|clear>

Infinite stock

Setting the stock to -1 makes the stock infinite.

Fixed price

If you set the median to -1, the price will not change.

Discount

You can set the discount rate for each item. Use the editAll command to apply it to all items in the store.

/ds shop <shop name> editall discount = 50

Trading volume limit

You can set a limit on the quantity a player can buy/sell within a certain period of time. If you sell an item with a purchase limit, the limit will increase, and vice versa.

You can reset only the trading volume while maintaining the trading volume limit setting.

/ds shop <shopName> resetTradingVolume [<player>]

Note that if you edit the itemMeta of an item with Notepad, it will be treated as a different item. (The trading volume limit for that item will be reset.)