🪙
[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
  1. 07. Shop Settings

Sell Command

When a transaction occurs in the store, a specific command can be executed.

Placeholders

  • buy : {player} {shop} {itemType} {amount} {priceSum}

  • sell : {player} {shop} {itemType} {amount} {priceSum} {tax}

Command

/ds shop <shop name> command <sell | buy> add <index> <command>
/ds shop <shop name> command <sell | buy> delete <index>
/ds shop <shop name> command active <true | false>

Example

Options:
  title: SampleShop
  enable: true
  lore: ''
  page: 2
  permission: ''
  flag: {}
  command:
    active: true
    sell:
      '0': bal {player}
      '1': say {player} {shop} {itemType} {amount} {priceSum} {tax}
    buy:
      '0': baltop
PreviousStock SimulatorNextLog Viewer

Last updated 2 years ago